(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:
Francesco Montorsi
2008-12-27 18:42:33 +00:00
parent 355b0cb3c7
commit 6e7a89af32
3 changed files with 13 additions and 23 deletions

View File

@@ -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)

View File

@@ -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 );

View File

@@ -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;