Fix hide mouse cursor on linux.

Fix emulator window position when rendering to main on linux.
Allow building against wxWidgets 2.9.3 on linux.
This commit is contained in:
Glenn Rice
2012-05-02 14:40:40 -05:00
parent 1974938c5a
commit 40640217f1
3 changed files with 19 additions and 8 deletions
+7 -2
View File
@@ -489,8 +489,13 @@ if(NOT DISABLE_WX)
ERROR_QUIET
)
message("Found wxWidgets version ${wxWidgets_VERSION}")
if(${wxWidgets_VERSION} VERSION_LESS "2.9.4")
message("At least 2.9.4 is required; ignoring found version")
if(UNIX AND NOT APPLE)
set(wxMIN_VERSION "2.9.3")
else()
set(wxMIN_VERSION "2.9.4")
endif()
if(${wxWidgets_VERSION} VERSION_LESS ${wxMIN_VERSION})
message("At least ${wxMIN_VERSION} is required; ignoring found version")
unset(wxWidgets_FOUND)
endif()
endif(wxWidgets_FOUND)