]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
Don't send a focus event if the window is a wxTextCtrl, since it sends
[wxWidgets.git] / src / msw / checkbox.cpp
index 24a3e7ce5b7766561fd299dc7f516eb3fca3f032..86211b4fcd15873ab3b1e5f39ddd4a6248a6fa5a 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_CHECKBOX
+
 #ifndef WX_PRECOMP
     #include "wx/checkbox.h"
     #include "wx/brush.h"
@@ -269,3 +271,5 @@ void wxBitmapCheckBox::SetLabel(const wxBitmap& WXUNUSED(bitmap))
 {
     wxFAIL_MSG(wxT("not implemented"));
 }
+
+#endif // wxUSE_CHECKBOX