mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-25 17:15:45 +08:00
Make GTKHandleUnrealize() virtual too
No real changes yet, but this member function should also be virtual if only for consistency with GTKHandleRealized(): if the latter can be overridden, it should be also to override the former.
This commit is contained in:
@@ -203,10 +203,11 @@ public:
|
||||
void GTKHandleFocusOutNoDeferring();
|
||||
void GTKHandleDeferredFocusOut();
|
||||
|
||||
// Called when m_widget becomes realized. Derived classes must call the
|
||||
// base class method if they override it.
|
||||
// Called when m_widget becomes realized or unrealized (may be called
|
||||
// multiple times). Derived classes must call the base class version if
|
||||
// they override these functions.
|
||||
virtual void GTKHandleRealized();
|
||||
void GTKHandleUnrealize();
|
||||
virtual void GTKHandleUnrealize();
|
||||
|
||||
// Apply the widget style to the given window. Should normally only be
|
||||
// called from the overridden DoApplyWidgetStyle() implementation in
|
||||
|
||||
Reference in New Issue
Block a user