]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/brush.cpp
showing a bevel button for a multiline label (is not multline on the OS level, but...
[wxWidgets.git] / src / msw / brush.cpp
index 4fc8fb3b6515b0699b0bf012ae4ed60511e328a4..5f497f119c28b409fd9a7aefed4b8b22e6179336 100644 (file)
@@ -248,7 +248,7 @@ wxBrush::~wxBrush()
 
 wxBrush& wxBrush::operator=(const wxBrush& brush)
 {
-    if ( *this != brush )
+    if ( this != &brush )
     {
         Ref(brush);
     }