changed GTKCallbackCommonPrologue() to return -1 in addition to true and false to allow returning immediately with true return code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -161,8 +161,10 @@ public:
|
||||
virtual GtkWidget* GetConnectWidget();
|
||||
void ConnectWidget( GtkWidget *widget );
|
||||
|
||||
// Called from several event handlers
|
||||
bool GTKCallbackCommonPrologue(struct _GdkEventAny *event) const;
|
||||
// Called from several event handlers, if it returns true or false, the
|
||||
// same value should be immediately returned by the handler without doing
|
||||
// anything else. If it returns -1, the handler should continue as usual
|
||||
int GTKCallbackCommonPrologue(struct _GdkEventAny *event) const;
|
||||
|
||||
protected:
|
||||
// Override GTKWidgetNeedsMnemonic and return true if your
|
||||
|
Reference in New Issue
Block a user