]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
latest CW additions
[wxWidgets.git] / src / msw / control.cpp
index 6c1cbf8c8dcbd58c6093b9c5a0ed3615b5b9f056..72c54d7704154a39ff51dcc1d91b3b848263935a 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "wx/msw/private.h"
 
-#if defined(__WIN95__) && !defined(__GNUWIN32__)
+#if (defined(__WIN95__) && !defined(__GNUWIN32__)) || defined(__TWIN32__)
 #include <commctrl.h>
 #endif
 
@@ -189,7 +189,7 @@ long wxControl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
 }
 
 bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam,
-                          WXLPARAM* WXUNUSED(result))
+                          WXLPARAM* result)
 {
 #if defined(__WIN95__)
        wxCommandEvent event(wxEVT_NULL, m_windowId);
@@ -240,7 +240,7 @@ bool wxControl::MSWNotify(WXWPARAM wParam, WXLPARAM lParam,
                }
 */
                default:
-                       return FALSE;
+            return wxWindow::MSWNotify(wParam, lParam, result);
        }
 
     event.SetEventType(eventType);