(blind) fix for unneeded inclusions of headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,10 +27,6 @@
|
||||
#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)
|
||||
|
@@ -23,9 +23,6 @@
|
||||
#include "wx/settings.h"
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
#include "wx/notebook.h"
|
||||
#include "wx/tabctrl.h"
|
||||
|
||||
#include "wx/osx/private.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -104,14 +101,14 @@ wxSize wxStaticText::DoGetBestSize() const
|
||||
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,
|
||||
const wxString& label,
|
||||
const wxPoint& pos,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
long extraStyle)
|
||||
long style,
|
||||
long extraStyle)
|
||||
{
|
||||
Rect bounds = wxMacGetBoundsForControl( wxpeer, pos, size );
|
||||
|
||||
|
@@ -23,9 +23,6 @@
|
||||
#include "wx/settings.h"
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
#include "wx/notebook.h"
|
||||
#include "wx/tabctrl.h"
|
||||
|
||||
#include "wx/osx/private.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -92,14 +89,14 @@ wxSize wxStaticText::DoGetBestSize() const
|
||||
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,
|
||||
const wxString& label,
|
||||
const wxPoint& pos,
|
||||
const wxPoint& pos,
|
||||
const wxSize& size,
|
||||
long style,
|
||||
long extraStyle)
|
||||
long style,
|
||||
long extraStyle)
|
||||
{
|
||||
NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ;
|
||||
wxNSTextField* v = [[wxNSTextField alloc] initWithFrame:r];
|
||||
@@ -107,7 +104,7 @@ wxWidgetImplType* wxWidgetImpl::CreateStaticText( wxWindowMac* wxpeer,
|
||||
[v setBezeled:NO];
|
||||
[v setEditable:NO];
|
||||
[v setDrawsBackground:NO];
|
||||
|
||||
|
||||
wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v );
|
||||
[v setImplementation:c];
|
||||
return c;
|
||||
|
Reference in New Issue
Block a user