]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/window.mm
making sure creation is setup correctly for wx-frame coordinates into cocoa-content...
[wxWidgets.git] / src / osx / cocoa / window.mm
index 26d42af3f6a5ee4df9b0e55228b972f54078d172..59b06c142f1e83a98706f45f6bea1bc5e92ebb06 100644 (file)
@@ -1683,6 +1683,7 @@ void wxWidgetCocoaImpl::SetBitmap( const wxBitmap& bitmap )
     if (  [m_osxView respondsToSelector:@selector(setImage:)] )
     {
         [m_osxView setImage:bitmap.GetNSImage()];
     if (  [m_osxView respondsToSelector:@selector(setImage:)] )
     {
         [m_osxView setImage:bitmap.GetNSImage()];
+        [m_osxView setNeedsDisplay:YES];
     }
 }
 
     }
 }