+protected:
+ //
+ // For controls like radiobuttons which are really composite
+ //
+ wxArrayLong m_aSubControls;
+
+ virtual wxSize DoGetBestSize(void) const;
+
+ //
+ // Create the control of the given class with the given style, returns FALSE
+ // if creation failed.
+ //
+ bool OS2CreateControl( const wxChar* zClassname
+ ,WXDWORD dwStyle
+ ,const wxPoint& rPos = wxDefaultPosition
+ ,const wxSize& rSize = wxDefaultSize
+ ,const wxString& rsLabel = wxEmptyString
+ ,WXDWORD dwExstyle = (WXDWORD)-1
+ );
+
+ //
+ // Determine the extended styles combination for this window (may slightly
+ // modify styl parameter)
+ //
+ WXDWORD GetExStyle(WXDWORD& rStyle) const;
+
+private:
+ DECLARE_EVENT_TABLE()
+}; // end of wxControl
+
+#if WXWIN_COMPATIBILITY
+ inline void wxControl::Callback(const wxFunction f) { m_callback = f; };
+ inline wxFont& wxControl::GetLabelFont(void) const { return GetFont(); }
+ inline wxFont& wxControl::GetButtonFont(void) const { return GetFont(); }
+ inline void wxControl::SetLabelFont(const wxFont& rFont) { SetFont(rFont); }
+ inline void wxControl::SetButtonFont(const wxFont& rFont) { SetFont(rFont); }
+#endif // WXWIN_COMPATIBILITY
+
+#endif // _WX_CONTROL_H_