X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ac883a0d005437c97a60d8195bd5e4719b1154..409c9842c71df526bcfbf1cf5ce80067b09d4d97:/include/wx/gtk1/listbox.h diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index fa19c2d4f9..8b477fff3a 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -16,6 +16,9 @@ #endif #include "wx/defs.h" + +#if wxUSE_LISTBOX + #include "wx/object.h" #include "wx/list.h" #include "wx/control.h" @@ -87,10 +90,10 @@ public: void Deselect( int n ); int FindString( const wxString &item ) const; - int GetSelection(void) const; + int GetSelection() const; int GetSelections( class wxArrayInt &) const; wxString GetString( int n ) const; - wxString GetStringSelection(void) const; + wxString GetStringSelection() const; int Number(); bool Selected( int n ); void Set( int n, const wxString *choices ); @@ -106,11 +109,14 @@ public: // implementation + void DisableEvents(); + void EnableEvents(); void AppendCommon( const wxString &item ); int GetIndex( GtkWidget *item ) const; GtkWidget *GetConnectWidget(); bool IsOwnGtkWindow( GdkWindow *window ); void ApplyWidgetStyle(); + void OnInternalIdle(); #if wxUSE_TOOLTIPS void ApplyToolTip( GtkTooltips *tips, const wxChar *tip ); @@ -125,4 +131,6 @@ public: #endif // wxUSE_CHECKLISTBOX }; +#endif + #endif // __GTKLISTBOXH__