]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/statbox.mm
Don't set cell value in wxDataViewEvent in one place only.
[wxWidgets.git] / src / osx / cocoa / statbox.mm
index 3a9738ca61e5472d322e8cbe5079bd50129e83e4..fae73a11c8b3664aa32fe2608cd82c1c820c1dbe 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        statbox.cpp
+// Name:        src/osx/cocoa/statbox.mm
 // Purpose:     wxStaticBox
 // Author:      Stefan Csomor
 // Modified by:
@@ -73,7 +73,9 @@ wxWidgetImplType* wxWidgetImpl::CreateGroupBox( wxWindowMac* wxpeer,
     NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
     wxNSBox* v = [[wxNSBox alloc] initWithFrame:r];
     wxStaticBoxCocoaImpl* c = new wxStaticBoxCocoaImpl( wxpeer, v );
+#if !wxOSX_USE_NATIVE_FLIPPED
     c->SetFlipped(false);
+#endif
     return c;
 }