-#if WXWIN_COMPATIBILITY
- wxFunction m_callback; // Callback associated with the window
-#endif // WXWIN_COMPATIBILITY
-
- bool m_inSetValue; // Motif: prevent callbacks being called while
- // in SetValue
+ // calls wxControlBase::CreateControl, also sets foreground, background and
+ // font to parent's values
+ bool CreateControl(wxWindow *parent,
+ wxWindowID id,
+ const wxPoint& pos,
+ const wxSize& size,
+ long style,
+ const wxValidator& validator,
+ const wxString& name);
+
+ // native implementation using XtQueryGeometry
+ virtual wxSize DoGetBestSize() const;
+
+ // Motif: prevent callbacks being called while in SetValue
+ bool m_inSetValue;