]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/brush.cpp
fixed IMPLEMENT_APP to work even if compiled with --with-themes and win32 or gtk...
[wxWidgets.git] / src / mgl / brush.cpp
index 039d7ef4f52357f69635dcf2903b3e5e0efdd3b0..cf45da2f9a81cceafea69327a9336785cd905e9d 100644 (file)
@@ -50,7 +50,7 @@ void wxBitmapToPixPattern(const wxBitmap& bitmap,
 
     if ( mask && bitmap.GetMask() )
     {
-        mem.SelectObject(*bitmap.GetMask()->GetBitmap());
+        mem.SelectObject(bitmap.GetMask()->GetBitmap());
         dc = mem.GetMGLDC();
         wxCurrentDCSwitcher curDC(dc);
         dc->beginPixel();