X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..a31a5f85341a2ef131d86a1dee12f3d6c8156118:/include/wx/motif/control.h diff --git a/include/wx/motif/control.h b/include/wx/motif/control.h index b029556632..8dc7e270f0 100644 --- a/include/wx/motif/control.h +++ b/include/wx/motif/control.h @@ -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