Changed/Fixed way in which wxListBox blocks events

after changing its state programatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2001-11-17 22:32:15 +00:00
parent c6ac78a61e
commit bac957422a
4 changed files with 18 additions and 74 deletions

View File

@@ -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,9 @@ public:
bool m_hasCheckBoxes;
#endif // wxUSE_CHECKLISTBOX
int m_prevSelection;
int m_prevSelection;
bool m_blockEvent;
protected:
virtual wxSize DoGetBestSize() const;