]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/display.cpp
fixed crash when using GTK theme
[wxWidgets.git] / src / msw / display.cpp
index 3a0844c3cec678ba3fa7bb6b630d249d2c78c479..0195c675ffc8cc1ebd0c44f51f0efa01a1d36a7d 100644 (file)
 #if wxUSE_DISPLAY
 
 #ifndef WX_PRECOMP
+    #include "wx/msw/missing.h"
     #include "wx/dynarray.h"
     #include "wx/app.h"
     #include "wx/frame.h"
 #endif
 
-#include "wx/msw/missing.h"
-
 #include "wx/dynload.h"
 #include "wx/sysopt.h"
 
@@ -459,7 +458,7 @@ wxRect wxDisplayImplWin32Base::GetClientArea() const
 
 wxString wxDisplayImplWin32Base::GetName() const
 {
-    if ( m_info.m_devName.IsEmpty() )
+    if ( m_info.m_devName.empty() )
         m_info.Initialize();
 
     return m_info.m_devName;