]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/accel.cpp
Implemented tearoff menus, please see my posting to wxwin-developers.
[wxWidgets.git] / src / gtk / accel.cpp
index b15ece737966754d85115392d89bd19202c9fad7..3d161f1c3142891e0c3c586ae42513b1bb5c2d46 100644 (file)
@@ -2,7 +2,7 @@
 // Name:        accel.cpp
 // Purpose:
 // Author:      Robert Roebling
-// Id:          $id$
+// Id:          $id:$
 // Copyright:   (c) 1998 Robert Roebling
 // Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/accel.h"
 
-#include <ctype.h>
+#if wxUSE_ACCEL
 
-#ifdef __WXDEBUG__
-#ifdef NULL
-#undef NULL
-#endif
-#define NULL ((void*)0L)
-#endif
+#include <ctype.h>
 
 //-----------------------------------------------------------------------------
 // wxAcceleratorTable
@@ -94,3 +89,4 @@ int wxAcceleratorTable::GetCommand( wxKeyEvent &event )
     return -1;
 }
 
+#endif