X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..71628a57aa419bb00c85eaf3ec66024edb45560c:/src/msw/brush.cpp diff --git a/src/msw/brush.cpp b/src/msw/brush.cpp index 4fc8fb3b65..5f497f119c 100644 --- a/src/msw/brush.cpp +++ b/src/msw/brush.cpp @@ -248,7 +248,7 @@ wxBrush::~wxBrush() wxBrush& wxBrush::operator=(const wxBrush& brush) { - if ( *this != brush ) + if ( this != &brush ) { Ref(brush); }