not plain #if.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35218
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#define wxUSE_DC_CACHEING 0
#define wxUSE_DC_CACHEING 0
+#define wxUSE_GADGETS 0
+
/*
* Supports bool type
*/
/*
* Supports bool type
*/
// subclass the window which has the focus, and not winFocus passed in or
// otherwise everything else breaks down
m_focus = FindFocus();
// subclass the window which has the focus, and not winFocus passed in or
// otherwise everything else breaks down
m_focus = FindFocus();
+#elif defined(__WXGTK__)
// GTK+ catches the activate events from the popup
// window, not the focus events from the child window
m_focus = this;
// GTK+ catches the activate events from the popup
// window, not the focus events from the child window
m_focus = this;
int wxChoice::DoAppend(const wxString& item)
{
Widget w = XtVaCreateManagedWidget (wxStripMenuCodes(item),
int wxChoice::DoAppend(const wxString& item)
{
Widget w = XtVaCreateManagedWidget (wxStripMenuCodes(item),
xmPushButtonGadgetClass, (Widget) m_menuWidget,
#else
xmPushButtonWidgetClass, (Widget) m_menuWidget,
xmPushButtonGadgetClass, (Widget) m_menuWidget,
#else
xmPushButtonWidgetClass, (Widget) m_menuWidget,
Widget parentWidget = (Widget) parent->GetClientWidget();
m_mainWidget = (WXWidget) XtVaCreateManagedWidget ("staticBitmap",
Widget parentWidget = (Widget) parent->GetClientWidget();
m_mainWidget = (WXWidget) XtVaCreateManagedWidget ("staticBitmap",
xmLabelGadgetClass, parentWidget,
#else
xmLabelWidgetClass, parentWidget,
xmLabelGadgetClass, parentWidget,
#else
xmLabelWidgetClass, parentWidget,