]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
Do archive name case conversion for wxMac and wxMotif
[wxWidgets.git] / src / msw / control.cpp
index b265d56be0491b3d236238a604113769fe194710..71bc3e6f1e68388e570d2fcdf657d14d179f028b 100644 (file)
@@ -46,9 +46,6 @@ END_EVENT_TABLE()
 // Item members
 wxControl::wxControl()
 {
-#if WXWIN_COMPATIBILITY
-    m_callback = 0;
-#endif // WXWIN_COMPATIBILITY
 }
 
 wxControl::~wxControl()
@@ -173,16 +170,6 @@ wxSize wxControl::DoGetBestSize() const
 
 bool wxControl::ProcessCommand(wxCommandEvent& event)
 {
-#if WXWIN_COMPATIBILITY
-    if ( m_callback )
-    {
-        (void)(*m_callback)(*this, event);
-
-        return TRUE;
-    }
-    else
-#endif // WXWIN_COMPATIBILITY
-
     return GetEventHandler()->ProcessEvent(event);
 }