]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
Released menubar capture before menu popup was captured.
[wxWidgets.git] / src / os2 / listbox.cpp
index 2ecb09a5eb944a05685643aa4281473479bd34dc..ec9bfbda113852ee7cd39d17e501db8c3e9396d1 100644 (file)
@@ -30,6 +30,8 @@
 #include "wx/dynarray.h"
 #include "wx/log.h"
 
+#if wxUSE_LISTBOX
+
 #if wxUSE_OWNER_DRAWN
     #include  "wx/ownerdrw.h"
 #endif
@@ -774,3 +776,5 @@ bool wxListBox::OS2OnDraw(WXDRAWITEMSTRUCT *item)
 }
 #endif
     // wxUSE_OWNER_DRAWN
+
+#endif //wxUSE_LISTBOX