X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c89f5c02b1ecc6098b21b39b01509dd387c1cb34..b31989e20882186006e2b2c4b8062ba8394b539d:/include/wx/gtk1/brush.h?ds=sidebyside diff --git a/include/wx/gtk1/brush.h b/include/wx/gtk1/brush.h index 2859c6ad39..dd20823aed 100644 --- a/include/wx/gtk1/brush.h +++ b/include/wx/gtk1/brush.h @@ -40,7 +40,9 @@ public: wxBrush( const wxBitmap &stippleBitmap ); ~wxBrush(); - wxBrush( const wxBrush &brush ) { Ref(brush); } + wxBrush( const wxBrush &brush ) + : wxGDIObject() + { Ref(brush); } wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; } bool Ok() const { return m_refData != NULL; }