diff --git a/include/wx/combo.h b/include/wx/combo.h index 5125825369..4bae2cfea6 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -470,6 +470,10 @@ public: virtual wxWindow *GetMainWindowOfCompositeControl() { return m_mainCtrlWnd; } + // also set the embedded wxTextCtrl colours + virtual bool SetForegroundColour(const wxColour& colour); + virtual bool SetBackgroundColour(const wxColour& colour); + protected: // Returns true if hint text should be drawn in the control @@ -545,10 +549,6 @@ protected: virtual wxSize DoGetBestSize() const; virtual wxSize DoGetSizeFromTextSize(int xlen, int ylen = -1) const; - // also set the embedded wxTextCtrl colours - virtual bool SetForegroundColour(const wxColour& colour); - virtual bool SetBackgroundColour(const wxColour& colour); - // NULL popup can be used to indicate default in a derived class virtual void DoSetPopupControl(wxComboPopup* popup);