]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/utils.cpp
Unused variable removal.
[wxWidgets.git] / src / mgl / utils.cpp
index 415af9a9732cdf21a7b488b04ab31f4e31aa985b..c20c5db3ef2be391b705c7add7321189ac525bc3 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/string.h"
     #include "wx/intl.h"
+    #include "wx/log.h"
 #endif
 
 #include "wx/apptrait.h"
-#include "wx/log.h"
 #include "wx/process.h"
 
 #include <stdarg.h>
@@ -47,6 +47,16 @@ void wxBell()
     // FIXME_MGL
 }
 
+bool wxGetKeyState(wxKeyCode key)
+{
+    wxASSERT_MSG(key != WXK_LBUTTON && key != WXK_RBUTTON && key !=
+        WXK_MBUTTON, wxT("can't use wxGetKeyState() for mouse buttons"));
+
+    // TODO
+
+    return false;
+}
+
 // ----------------------------------------------------------------------------
 // display characterstics
 // ----------------------------------------------------------------------------