]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/control.h
Derive wxBitmapButton from wxBitmapButtonBase + misc cleanup.
[wxWidgets.git] / include / wx / motif / control.h
index b02955663264acf05d5d03818dbb949a6e9faf06..8dc7e270f09e31dfce469a2e4d3145a5368dacad 100644 (file)
@@ -65,6 +65,16 @@ public:
     bool InSetValue() const { return m_inSetValue; }
     
 protected:
+    // 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);
+
 #if WXWIN_COMPATIBILITY
     wxFunction          m_callback;     // Callback associated with the window
 #endif // WXWIN_COMPATIBILITY