Implemented OnParentEnable to allow widgets to reset their colours
after a wxWindow::Enable call git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		| @@ -114,6 +114,11 @@ public: | ||||
|     /* For compatibility across platforms (not in event table) */ | ||||
|     void OnIdle(wxIdleEvent& WXUNUSED(event)) {}; | ||||
|  | ||||
|     // wxGTK-specific: called recursively by Enable, | ||||
|     // to give widgets an oppprtunity to correct their colours after they | ||||
|     // have been changed by Enable | ||||
|     virtual void OnParentEnable( bool WXUNUSED(enable) ) {}; | ||||
|  | ||||
|     /* used by all window classes in the widget creation process */ | ||||
|     bool PreCreation( wxWindow *parent, const wxPoint &pos, const wxSize &size ); | ||||
|     void PostCreation(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user