]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/app.cpp
fix MSVC warning C4516 about using deprecated access declarations; use using declarat...
[wxWidgets.git] / src / gtk1 / app.cpp
index 9810be0320dc9928484a061baac5752e85ed6630..449a0f2a0b37dba5b9144317bc899052abdb14ea 100644 (file)
@@ -85,7 +85,7 @@
 bool   g_mainThreadLocked = false;
 gint   g_pendingTag = 0;
 
-static GtkWidget *gs_RootWindow = (GtkWidget*) NULL;
+static GtkWidget *gs_RootWindow = NULL;
 
 //-----------------------------------------------------------------------------
 // idle system
@@ -453,8 +453,8 @@ wxApp::wxApp()
     m_colorCube = (unsigned char*) NULL;
 
     // this is NULL for a "regular" wxApp, but is set (and freed) by a wxGLApp
-    m_glVisualInfo = (void *) NULL;
-    m_glFBCInfo = (void *) NULL;
+    m_glVisualInfo = NULL;
+    m_glFBCInfo = NULL;
 }
 
 wxApp::~wxApp()