X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..10ae0adb5886b84767d762068db65b0e95131868:/include/wx/gtk/radiobox.h?ds=sidebyside diff --git a/include/wx/gtk/radiobox.h b/include/wx/gtk/radiobox.h index fedb790c06..d2d9104b74 100644 --- a/include/wx/gtk/radiobox.h +++ b/include/wx/gtk/radiobox.h @@ -81,7 +81,7 @@ public: // implement wxItemContainerImmutable methods - virtual int GetCount() const; + virtual size_t GetCount() const; virtual wxString GetString(int n) const; virtual void SetString(int n, const wxString& s); @@ -127,16 +127,14 @@ public: protected: void DoApplyWidgetStyle(GtkRcStyle *style); + virtual bool GTKWidgetNeedsMnemonic() const; + virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); + // common part of all ctors void Init(); - // check that the index is valid - // FIXME: remove once GTK will derive from wxRadioBoxBase - inline bool IsValid(int n) const { return n >= 0 && n < GetCount(); } - private: DECLARE_DYNAMIC_CLASS(wxRadioBox) }; #endif // _WX_GTK_RADIOBOX_H_ -