X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..f0c3b72446ee4a45e63a953d2a098a5f229f3a57:/include/wx/gtk/listbox.h diff --git a/include/wx/gtk/listbox.h b/include/wx/gtk/listbox.h index 00adce243d..fbbd136117 100644 --- a/include/wx/gtk/listbox.h +++ b/include/wx/gtk/listbox.h @@ -80,8 +80,6 @@ public: // implementation from now on GtkWidget *GetConnectWidget(); - bool IsOwnGtkWindow( GdkWindow *window ); - void OnInternalIdle(); #if wxUSE_TOOLTIPS void ApplyToolTip( GtkTooltips *tips, const wxChar *tip ); @@ -95,15 +93,18 @@ public: #endif // wxUSE_CHECKLISTBOX bool m_blockEvent; - bool m_spacePressed; struct _GtkTreeEntry* GtkGetEntry(int pos) const; void GtkInsertItems(const wxArrayString& items, void** clientData, unsigned int pos); + void GtkDeselectAll(); void GtkSetSelection(int n, const bool select, const bool blockEvent); protected: virtual wxSize DoGetBestSize() const; + virtual void DoApplyWidgetStyle(GtkRcStyle *style); + virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; + virtual void DoSetSelection(int n, bool select); virtual int DoAppend(const wxString& item); virtual void DoInsertItems(const wxArrayString& items, unsigned int pos); @@ -115,8 +116,6 @@ protected: virtual wxClientData* DoGetItemClientObject(unsigned int n) const; virtual int DoListHitTest(const wxPoint& point) const; - void DoApplyWidgetStyle(GtkRcStyle *style); - private: void Init(); //common construction