X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2..b23e843b99fb99049804faa82714b8828982bbca:/include/wx/gtk1/listbox.h diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index da536fe9c2..1ea85d5567 100644 --- a/include/wx/gtk1/listbox.h +++ b/include/wx/gtk1/listbox.h @@ -12,7 +12,7 @@ #define __GTKLISTBOXH__ #ifdef __GNUG__ -#pragma interface +#pragma interface "listbox.h" #endif #include "wx/list.h" @@ -76,8 +76,6 @@ public: // implementation from now on - void GtkDisableEvents(); - void GtkEnableEvents(); void GtkAddItem( const wxString &item, int pos=-1 ); int GtkGetIndex( GtkWidget *item ) const; GtkWidget *GetConnectWidget(); @@ -96,7 +94,11 @@ public: bool m_hasCheckBoxes; #endif // wxUSE_CHECKLISTBOX - int m_prevSelection; + int m_prevSelection; + bool m_blockEvent; + + virtual void FixUpMouseEvent(GtkWidget *widget, wxCoord& x, wxCoord& y); + protected: virtual wxSize DoGetBestSize() const;