Changeset 130 for cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
- Timestamp:
- 08/26/10 15:38:59 (21 months ago)
- Files:
-
- 1 modified
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cafu/branches/cafu_to_wx/Ca3DE/MainCanvas.cpp
r126 r130 23 23 24 24 #include "MainCanvas.hpp" 25 #include "AppCafu.hpp" 25 26 #include "MainFrame.hpp" 26 27 #include "Client/Client.hpp" … … 902 903 case WXK_F11: 903 904 { 904 m_Parent->ShowFullScreen(!m_Parent->IsFullScreen()); 905 if (!wxGetApp().IsCustomVideoMode()) 906 { 907 // Switching full-screen mode with F11 only makes sense if we didn't set a custom video mode (screen resolution). 908 // See AppCafuT::OnInit() for more details. 909 m_Parent->ShowFullScreen(!m_Parent->IsFullScreen()); 910 } 905 911 return; 906 912 }
