]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/window.cpp
removed __throws_bad_alloc import, this apparently breaks CW8.3 compilation and...
[wxWidgets.git] / src / mgl / window.cpp
index 042582eabe63f341e9dea78bda7d12e462bf03d2..db894387037a0b39bc67e2c931c898aa49be253f 100644 (file)
     #pragma hdrstop
 #endif
 
+#include "wx/window.h"
+
 #ifndef WX_PRECOMP
-    #include "wx/window.h"
     #include "wx/msgdlg.h"
     #include "wx/accel.h"
-    #include "wx/setup.h"
     #include "wx/dc.h"
     #include "wx/dcclient.h"
     #include "wx/utils.h"
     #include "wx/app.h"
     #include "wx/panel.h"
+    #include "wx/intl.h"
+    #include "wx/log.h"
 #endif
 
 #if wxUSE_DRAG_AND_DROP
     #include "wx/dnd.h"
 #endif
 
-#include "wx/log.h"
 #include "wx/sysopt.h"
 #include "wx/mgl/private.h"
-#include "wx/intl.h"
 #include "wx/dcscreen.h"
 #include "wx/caret.h"
 
@@ -312,9 +312,7 @@ static long wxScanToKeyCode(event_t *event, bool translate)
             KEY (KB_padHome,        WXK_NUMPAD_HOME)
             KEY (KB_padEnd,         WXK_NUMPAD_END)
             KEY (KB_padPageUp,      WXK_NUMPAD_PAGEUP)
-          //KEY (KB_padPageUp,      WXK_NUMPAD_PRIOR)
             KEY (KB_padPageDown,    WXK_NUMPAD_PAGEDOWN)
-          //KEY (KB_padPageDown,    WXK_NUMPAD_NEXT)
             KEY (KB_1,              '1')
             KEY (KB_2,              '2')
             KEY (KB_3,              '3')