// declarations
// ============================================================================
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "brush.h"
#endif
wxBrush& wxBrush::operator=(const wxBrush& brush)
{
- if ( *this != brush )
+ if ( this != &brush )
{
Ref(brush);
}