/////////////////////////////////////////////////////////////////////////////
-// Name: utils.cpp
+// Name: src/mgl/utils.cpp
// Purpose:
// Author: Vaclav Slavik
// Id: $Id$
#endif
#include "wx/utils.h"
-#include "wx/string.h"
-#include "wx/intl.h"
+#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>
// 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
// ----------------------------------------------------------------------------
return pt;
}
+wxMouseState wxGetMouseState()
+{
+ wxMouseState ms;
+ // TODO
+ return ms;
+}
#ifdef __UNIX__