unused variables, useless assert

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2007-09-22 04:40:37 +00:00
parent 0d8b0f94c0
commit 4c6a2a70dd

View 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() )