search for: can_veto

Displaying 4 results from an estimated 4 matches for "can_veto".

Did you mean: can_meta
2004 Mar 29
1
Error in dialogs.rb sample
Using the wrong method name. 106c106 < if event.CanVeto() --- > if event.can_veto() ##################################################################################### This email has been scanned by MailMarshal, an email content filter. #####################################################################################
2007 Mar 22
0
[916] branches/wxruby2/wxwidgets_282: More Wx::AUI classes, event hooks and sample
...const { return manager; } + wxAuiPaneInfo* GetPane() const { return pane; } + int GetButton() const { return button; } + wxDC* GetDC() const { return dc; } + + void Veto(bool veto = true) { veto_flag = veto; } + bool GetVeto() const { return veto_flag; } + void SetCanVeto(bool can_veto) { canveto_flag = can_veto; } + bool CanVeto() const { return canveto_flag && veto_flag; } +}; + +#endif </ins></span></pre></div> <a id="brancheswxruby2wxwidgets_282swigclassesincludewxAuiNotebookh"></a> <div class="addfile"&gt...
2006 Nov 13
7
[736] trunk/wxruby2/samples/dialogs/dialogs.rb: Fixed crashing bug in on_paint and made the code style more Ruby like.
...t; OK | ICON_INFORMATION, self) </span><span class="cx"> end </span><span class="cx"> </span><del>- def onClose(event) </del><ins>+ def on_close(event) </ins><span class="cx"> if event.can_veto() </span><span class="cx"> message_box("Use the menu item to close self dialog", </span><span class="cx"> "Modeless dialog", </span><span class="lines">@@ -138,11 +138,10 @@ </span>&l...
2005 Aug 15
16
swig_up
Tracing down some things to add in validators and I''ve run across something that kinda bothers me... In order to implement validators you have to override the clone method. The directors seems to be set up to specifically handle this situation. However, whenever C++ calls back to the object''s methods the swig_get_up function is returning false. It seems like swig_up