X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f97c985452b20a8c2f0bbfb1d0275298bf09fb45..687d733769cc797102a52c7cad8edd32be5a2f89:/include/wx/motif/choice.h diff --git a/include/wx/motif/choice.h b/include/wx/motif/choice.h index 30423c0e96..1e3c872c5d 100644 --- a/include/wx/motif/choice.h +++ b/include/wx/motif/choice.h @@ -55,7 +55,12 @@ class WXDLLEXPORT wxChoice: public wxControl virtual void SetSelection(int n); virtual int FindString(const wxString& s) const; virtual wxString GetString(int n) const ; + virtual void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual void SetSize(const wxRect& rect, int sizeFlags = wxSIZE_AUTO) + { wxWindow::SetSize(rect, sizeFlags); } + virtual void SetSize(const wxSize& size) { wxWindow::SetSize(size); } + virtual wxString GetStringSelection() const ; virtual bool SetStringSelection(const wxString& sel); @@ -67,6 +72,10 @@ class WXDLLEXPORT wxChoice: public wxControl void SetFocus(); +// Implementation + virtual void ChangeFont(bool keepOriginalSize = TRUE); + virtual void ChangeBackgroundColour(); + virtual void ChangeForegroundColour(); WXWidget GetTopWidget() const { return m_formWidget; } WXWidget GetMainWidget() const { return m_buttonWidget; } @@ -77,8 +86,6 @@ protected: WXWidget* m_widgetList ; WXWidget m_formWidget; wxStringList m_stringList; -public: - bool m_inSetValue; }; #endif