X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f68586e51b20dccee3fd5645aeaca7cc8ff298c2..b23e843b99fb99049804faa82714b8828982bbca:/include/wx/gtk1/listbox.h diff --git a/include/wx/gtk1/listbox.h b/include/wx/gtk1/listbox.h index 20eb87cac5..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,6 +94,11 @@ public: bool m_hasCheckBoxes; #endif // wxUSE_CHECKLISTBOX + int m_prevSelection; + bool m_blockEvent; + + virtual void FixUpMouseEvent(GtkWidget *widget, wxCoord& x, wxCoord& y); + protected: virtual wxSize DoGetBestSize() const;