]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/event.h
some compilation fixes atttempts for solaris
[wxWidgets.git] / include / wx / event.h
index d75645b5f90d2edd15d8a2204f011940c1a46cf2..1eaf95d7f5a30630b2bf070e927289c1debdee40 100644 (file)
@@ -1307,11 +1307,10 @@ public:
     virtual void OnCommand(wxWindow& WXUNUSED(win),
                            wxCommandEvent& WXUNUSED(event))
     {
+        wxFAIL_MSG(_T("shouldn't be called any more"));
     }
 
-    // Called if child control has no
-    // callback function
-    // Default behaviour
+    // Called if child control has no callback function
     virtual long Default()
         { return GetNextHandler() ? GetNextHandler()->Default() : 0; };
 #endif // WXWIN_COMPATIBILITY_2