X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ebfafde515e58d4a6f9fda5290a5620ebc1637f..95561ddfc3c0c84c71316d40cb539135fa68b440:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index bdf6b7cab6..d081cd409c 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -989,11 +989,6 @@ public: wxWindow *GetAncestorWithCustomPalette() const; #endif // wxUSE_PALETTE -protected: - // event handling specific to wxWindow - virtual bool TryValidator(wxEvent& event); - virtual bool TryParent(wxEvent& event); - // inherit the parents visual attributes if they had been explicitly set // by the user (i.e. we don't inherit default attributes) and if we don't // have our own explicitly set @@ -1006,6 +1001,11 @@ protected: // behaviour in the most common case virtual bool ShouldInheritColours() const { return false; } +protected: + // event handling specific to wxWindow + virtual bool TryValidator(wxEvent& event); + virtual bool TryParent(wxEvent& event); + #if wxUSE_CONSTRAINTS // satisfy the constraints for the windows but don't set the window sizes