X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c75d8baf987c83e231c981d07b5a9217d711361..0685aa9eb65aae0c930ef2a001002ac217cf5ce1:/include/wx/gtk/combobox.h?ds=sidebyside diff --git a/include/wx/gtk/combobox.h b/include/wx/gtk/combobox.h index 9cb4f9f185..8ad3f4448b 100644 --- a/include/wx/gtk/combobox.h +++ b/include/wx/gtk/combobox.h @@ -11,6 +11,8 @@ #ifndef _WX_GTK_COMBOBOX_H_ #define _WX_GTK_COMBOBOX_H_ +typedef struct _GtkEntry GtkEntry; + //----------------------------------------------------------------------------- // wxComboBox //----------------------------------------------------------------------------- @@ -92,9 +94,6 @@ public: // From wxComboBoxBase: virtual int GetCurrentSelection() const; - virtual void SetFocus(); - - void OnSize( wxSizeEvent &event ); void OnChar( wxKeyEvent &event ); // Standard event handling @@ -131,7 +130,6 @@ public: protected: // From wxWindowGTK: - virtual void DoApplyWidgetStyle(GtkRcStyle *style); virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; // From wxItemContainer: @@ -150,6 +148,9 @@ protected: // override this and return true. virtual bool UseGTKStyleBase() const { return true; } + // return the GtkEntry part of the combobox + GtkEntry *GetEntry() const; + private: // From wxTextEntry: virtual const wxWindow *GetEditableWindow() const { return this; }