git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57606
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/sizer.h"
#endif // WX_PRECOMP
#include "wx/sizer.h"
#endif // WX_PRECOMP
-#include "wx/notebook.h"
-#include "wx/tabctrl.h"
-#include "wx/spinbutt.h"
-
#include "wx/osx/private.h"
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
#include "wx/osx/private.h"
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
#include "wx/settings.h"
#endif // WX_PRECOMP
#include "wx/settings.h"
#endif // WX_PRECOMP
-#include "wx/notebook.h"
-#include "wx/tabctrl.h"
-
#include "wx/osx/private.h"
#include <stdio.h>
#include "wx/osx/private.h"
#include <stdio.h>
to allow correct dynamic ellipsizing of the label
*/
to allow correct dynamic ellipsizing of the label
*/
-wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer,
- wxWindowMac* parent,
- wxWindowID id,
+wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer,
+ wxWindowMac* parent,
+ wxWindowID id,
- long style,
- long extraStyle)
+ long style,
+ long extraStyle)
{
Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );
{
Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );
#include "wx/settings.h"
#endif // WX_PRECOMP
#include "wx/settings.h"
#endif // WX_PRECOMP
-#include "wx/notebook.h"
-#include "wx/tabctrl.h"
-
#include "wx/osx/private.h"
#include <stdio.h>
#include "wx/osx/private.h"
#include <stdio.h>
to allow correct dynamic ellipsizing of the label
*/
to allow correct dynamic ellipsizing of the label
*/
-wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer,
- wxWindowMac* parent,
- wxWindowID id,
+wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer,
+ wxWindowMac* parent,
+ wxWindowID id,
- long style,
- long extraStyle)
+ long style,
+ long extraStyle)
{
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
wxNSTextField* v = [[wxNSTextField alloc] initWithFrame:r];
{
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
wxNSTextField* v = [[wxNSTextField alloc] initWithFrame:r];
[v setBezeled:NO];
[v setEditable:NO];
[v setDrawsBackground:NO];
[v setBezeled:NO];
[v setEditable:NO];
[v setDrawsBackground:NO];
wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
[v setImplementation:c];
return c;
wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
[v setImplementation:c];
return c;