]> git.saurik.com Git - wxWidgets.git/commitdiff
unused variables, useless assert
authorPaul Cornett <paulcor@bullseye.com>
Sat, 22 Sep 2007 04:40:37 +0000 (04:40 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 22 Sep 2007 04:40:37 +0000 (04:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/wincmn.cpp

index 307f2c1c640200262486557dbbb17fec493e2ea5..43d9b39a76e51b3da04bae960b8e318a27c3ca9e 100644 (file)
@@ -78,9 +78,6 @@
     #else
         #include <gtk/gtkfeatures.h>
     #endif
-    extern const unsigned int gtk_major_version;
-    extern const unsigned int gtk_minor_version;
-    extern const unsigned int gtk_micro_version;
 #endif
 
 #include "wx/platinfo.h"
@@ -1131,8 +1128,6 @@ wxColour wxWindowBase::GetForegroundColour() const
     // logic is the same as above
     if ( !m_hasFgCol && !m_foregroundColour.Ok() )
     {
-        wxASSERT_MSG( !m_hasFgCol, _T("we have invalid explicit fg colour?") );
-
         wxColour colFg = GetDefaultAttributes().colFg;
 
         if ( !colFg.Ok() )