]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/checkbox.cpp
1. suppressed some messages from HasEntry()/HasKeys()
[wxWidgets.git] / src / msw / checkbox.cpp
index fb0b511b6d691eeb84f2bae38249a9affae21222..3c659f88fadaa1fb54a7504fdfa326d03d95aeec 100644 (file)
@@ -33,7 +33,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxBitmapCheckBox, wxCheckBox)
 
 bool wxCheckBox::MSWCommand(WXUINT WXUNUSED(param), WXWORD WXUNUSED(id))
 {
-  wxCommandEvent event(wxEVENT_TYPE_CHECKBOX_COMMAND, m_windowId);
+  wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, m_windowId);
   event.SetInt(GetValue());
   event.SetEventObject(this);
   ProcessCommand(event);
@@ -83,8 +83,10 @@ bool wxCheckBox::Create(wxWindow *parent, wxWindowID id, const wxString& label,
 
   // Even with extended styles, need to combine with WS_BORDER
   // for them to look right.
+/*
   if ( want3D || wxStyleHasBorder(m_windowStyle) )
     msStyle |= WS_BORDER;
+*/
 
   m_hWnd = (WXHWND)CreateWindowEx(exStyle, "BUTTON", Label,
                                   msStyle,