+ ,const wxString& rsName
+ );
+ //
+ // 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;
+
+ inline int GetXComp(void) const {return m_nXComp;}
+ inline int GetYComp(void) const {return m_nYComp;}
+ inline void SetXComp(const int nXComp) {m_nXComp = nXComp;}
+ inline void SetYComp(const int nYComp) {m_nYComp = nYComp;}
+
+private:
+ int m_nXComp;
+ int m_nYComp;
+ 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_
+