X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f97c985452b20a8c2f0bbfb1d0275298bf09fb45..8704bf74fba8523e2e174bd5a8195b5202009cd0:/src/motif/choice.cpp diff --git a/src/motif/choice.cpp b/src/motif/choice.cpp index 7012c75c0f..4c2f903f86 100644 --- a/src/motif/choice.cpp +++ b/src/motif/choice.cpp @@ -38,7 +38,6 @@ wxChoice::wxChoice() m_menuWidget = (WXWidget) 0; m_widgetList = (WXWidget*) 0; m_formWidget = (WXWidget) 0; - m_inSetValue = FALSE; } bool wxChoice::Create(wxWindow *parent, wxWindowID id, @@ -57,7 +56,6 @@ bool wxChoice::Create(wxWindow *parent, wxWindowID id, m_menuWidget = (WXWidget) 0; m_widgetList = (WXWidget*) 0; m_formWidget = (WXWidget) 0; - m_inSetValue = FALSE; if (parent) parent->AddChild(this); @@ -402,7 +400,7 @@ void wxChoiceCallback (Widget w, XtPointer clientData, wxChoice *item = (wxChoice *) clientData; if (item) { - if (item->m_inSetValue) + if (item->InSetValue()) return; char *s = NULL;