]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
Do not send a changed event if a button is clicked for down/up when the control is...
[wxWidgets.git] / src / common / combocmn.cpp
index ad80f48d51b54081bcdfd9f7b18a79c671357642..aef6c75cbf5e097b7a3aa7c0688b6eda7b0606f1 100644 (file)
@@ -913,6 +913,9 @@ void wxComboCtrlBase::PositionTextCtrl( int textCtrlXAdjust, int textCtrlYAdjust
         }
     }
     else
+#else
+    wxUnusedVar(textCtrlXAdjust);
+    wxUnusedVar(textCtrlYAdjust);
 #endif
     {
         // If it has border, have textctrl will the entire text field.