Include wx/sizer.h and wx/layout.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-06-08 06:57:39 +00:00
parent c918b2cda2
commit ed2fbeb835
24 changed files with 52 additions and 50 deletions

View File

@@ -26,6 +26,8 @@
#if wxUSE_CONSTRAINTS #if wxUSE_CONSTRAINTS
#include "wx/layout.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/window.h" #include "wx/window.h"
#include "wx/utils.h" #include "wx/utils.h"
@@ -34,8 +36,6 @@
#include "wx/intl.h" #include "wx/intl.h"
#endif #endif
#include "wx/layout.h"
IMPLEMENT_DYNAMIC_CLASS(wxIndividualLayoutConstraint, wxObject) IMPLEMENT_DYNAMIC_CLASS(wxIndividualLayoutConstraint, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxLayoutConstraints, wxObject) IMPLEMENT_DYNAMIC_CLASS(wxLayoutConstraints, wxObject)

View File

@@ -17,6 +17,8 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#include "wx/sizer.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/string.h" #include "wx/string.h"
#include "wx/intl.h" #include "wx/intl.h"
@@ -26,7 +28,6 @@
#include "wx/statbox.h" #include "wx/statbox.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/sizer.h"
#include "wx/listimpl.cpp" #include "wx/listimpl.cpp"
#if WXWIN_COMPATIBILITY_2_4 #if WXWIN_COMPATIBILITY_2_4

View File

@@ -42,13 +42,9 @@
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/scrolbar.h" #include "wx/scrolbar.h"
#endif //WX_PRECOMP
#if wxUSE_CONSTRAINTS
#include "wx/layout.h" #include "wx/layout.h"
#endif // wxUSE_CONSTRAINTS
#include "wx/sizer.h" #include "wx/sizer.h"
#endif //WX_PRECOMP
#if wxUSE_DRAG_AND_DROP #if wxUSE_DRAG_AND_DROP
#include "wx/dnd.h" #include "wx/dnd.h"

View File

@@ -31,10 +31,10 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/choice.h" #include "wx/choice.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/sizer.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// various wxWidgets macros // various wxWidgets macros

View File

@@ -32,15 +32,15 @@
#include "wx/cmndata.h" #include "wx/cmndata.h"
#include "wx/choice.h" #include "wx/choice.h"
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/layout.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/module.h" #include "wx/module.h"
#include "wx/layout.h"
#include "wx/textdlg.h" #include "wx/textdlg.h"
#include "wx/filefn.h" #include "wx/filefn.h"
#include "wx/gdicmn.h" #include "wx/gdicmn.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/sizer.h"
#include "wx/tokenzr.h" #include "wx/tokenzr.h"
#include "wx/dir.h" #include "wx/dir.h"
#include "wx/artprov.h" #include "wx/artprov.h"

View File

@@ -34,10 +34,10 @@
#include "wx/choice.h" #include "wx/choice.h"
#include "wx/stattext.h" #include "wx/stattext.h"
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/longlong.h" #include "wx/longlong.h"
#include "wx/sizer.h"
#include "wx/tokenzr.h" #include "wx/tokenzr.h"
#include "wx/config.h" #include "wx/config.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"

View File

@@ -32,12 +32,12 @@
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/cmndata.h" #include "wx/cmndata.h"
#include "wx/sizer.h"
#endif #endif
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include "wx/sizer.h"
#include "wx/fontdlg.h" #include "wx/fontdlg.h"
#include "wx/generic/fontdlgg.h" #include "wx/generic/fontdlgg.h"

View File

@@ -38,9 +38,9 @@
#if wxUSE_TIMER #if wxUSE_TIMER
#include "wx/timer.h" #include "wx/timer.h"
#endif #endif
#include "wx/sizer.h"
#endif #endif
#include "wx/sizer.h"
#include "wx/recguard.h" #include "wx/recguard.h"
#ifdef __WXMSW__ #ifdef __WXMSW__

View File

@@ -36,10 +36,10 @@
#include "wx/statbmp.h" #include "wx/statbmp.h"
#include "wx/button.h" #include "wx/button.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/sizer.h"
#endif //WX_PRECOMP #endif //WX_PRECOMP
#include "wx/statline.h" #include "wx/statline.h"
#include "wx/sizer.h"
#include "wx/wizard.h" #include "wx/wizard.h"

View File

@@ -19,12 +19,12 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/stockitem.h" #include "wx/stockitem.h"
#include "wx/calctrl.h" #include "wx/calctrl.h"
#include "wx/popupwin.h" #include "wx/popupwin.h"
#include "wx/sizer.h"
#include "wx/gtk/private.h" #include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h" #include "wx/gtk/win_gtk.h"

View File

@@ -30,9 +30,9 @@
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/combobox.h" #include "wx/combobox.h"
#include "wx/layout.h"
#endif #endif
#include "wx/layout.h"
#include "wx/module.h" #include "wx/module.h"
#if wxUSE_DRAG_AND_DROP #if wxUSE_DRAG_AND_DROP

View File

@@ -29,9 +29,9 @@
#include "wx/msgdlg.h" #include "wx/msgdlg.h"
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/combobox.h" #include "wx/combobox.h"
#include "wx/layout.h"
#endif #endif
#include "wx/layout.h"
#include "wx/module.h" #include "wx/module.h"
#if wxUSE_DRAG_AND_DROP #if wxUSE_DRAG_AND_DROP

View File

@@ -24,12 +24,12 @@
#include "wx/stattext.h" #include "wx/stattext.h"
#include "wx/statbox.h" #include "wx/statbox.h"
#include "wx/radiobox.h" #include "wx/radiobox.h"
#include "wx/sizer.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/tabctrl.h" #include "wx/tabctrl.h"
#include "wx/spinbutt.h" #include "wx/spinbutt.h"
#include "wx/sizer.h"
#include "wx/mac/uma.h" #include "wx/mac/uma.h"
#include "wx/mac/private.h" #include "wx/mac/private.h"

View File

@@ -30,9 +30,9 @@
#include "wx/statbox.h" #include "wx/statbox.h"
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/layout.h"
#endif #endif
#include "wx/layout.h"
#include "wx/tooltip.h" #include "wx/tooltip.h"
#include "wx/statusbr.h" #include "wx/statusbr.h"
#include "wx/menuitem.h" #include "wx/menuitem.h"

View File

@@ -28,12 +28,12 @@
#include "wx/stattext.h" #include "wx/stattext.h"
#include "wx/statbox.h" #include "wx/statbox.h"
#include "wx/radiobox.h" #include "wx/radiobox.h"
#include "wx/sizer.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/tabctrl.h" #include "wx/tabctrl.h"
#include "wx/spinbutt.h" #include "wx/spinbutt.h"
#include "wx/sizer.h"
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow) IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)

View File

@@ -29,9 +29,9 @@
#include "wx/scrolbar.h" #include "wx/scrolbar.h"
#include "wx/statbox.h" #include "wx/statbox.h"
#include "wx/listbox.h" #include "wx/listbox.h"
#include "wx/layout.h"
#endif #endif
#include "wx/layout.h"
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/tabctrl.h" #include "wx/tabctrl.h"
#include "wx/tooltip.h" #include "wx/tooltip.h"

View File

@@ -38,9 +38,9 @@
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/scrolwin.h" #include "wx/scrolwin.h"
#include "wx/layout.h"
#endif #endif
#include "wx/layout.h"
#include "wx/module.h" #include "wx/module.h"
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/evtloop.h" #include "wx/evtloop.h"

View File

@@ -28,10 +28,10 @@
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/statbmp.h" #include "wx/statbmp.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/bitmap.h" #include "wx/bitmap.h"
#include "wx/sizer.h"
#include "wx/image.h" #include "wx/image.h"
#ifdef __VMS #ifdef __VMS

View File

@@ -44,9 +44,9 @@
#include "wx/scrolbar.h" #include "wx/scrolbar.h"
#include "wx/listbox.h" #include "wx/listbox.h"
#include "wx/scrolwin.h" #include "wx/scrolwin.h"
#include "wx/layout.h"
#endif #endif
#include "wx/layout.h"
#include "wx/module.h" #include "wx/module.h"
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/fontutil.h" #include "wx/fontutil.h"

View File

@@ -21,16 +21,18 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/choicebk.h" #include "wx/choicebk.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/sizer.h"
IMPLEMENT_DYNAMIC_CLASS(wxChoicebookXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxChoicebookXmlHandler, wxXmlResourceHandler)
wxChoicebookXmlHandler::wxChoicebookXmlHandler() wxChoicebookXmlHandler::wxChoicebookXmlHandler()
: wxXmlResourceHandler(), m_isInside(false), m_choicebook(NULL) :wxXmlResourceHandler(),
m_isInside(false),
m_choicebook(NULL)
{ {
XRC_ADD_STYLE(wxBK_DEFAULT); XRC_ADD_STYLE(wxBK_DEFAULT);
XRC_ADD_STYLE(wxBK_LEFT); XRC_ADD_STYLE(wxBK_LEFT);

View File

@@ -21,16 +21,18 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/listbook.h" #include "wx/listbook.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/sizer.h"
IMPLEMENT_DYNAMIC_CLASS(wxListbookXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxListbookXmlHandler, wxXmlResourceHandler)
wxListbookXmlHandler::wxListbookXmlHandler() wxListbookXmlHandler::wxListbookXmlHandler()
: wxXmlResourceHandler(), m_isInside(false), m_listbook(NULL) :wxXmlResourceHandler(),
m_isInside(false),
m_listbook(NULL)
{ {
XRC_ADD_STYLE(wxBK_DEFAULT); XRC_ADD_STYLE(wxBK_DEFAULT);
XRC_ADD_STYLE(wxBK_LEFT); XRC_ADD_STYLE(wxBK_LEFT);

View File

@@ -21,16 +21,18 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/sizer.h"
IMPLEMENT_DYNAMIC_CLASS(wxNotebookXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxNotebookXmlHandler, wxXmlResourceHandler)
wxNotebookXmlHandler::wxNotebookXmlHandler() wxNotebookXmlHandler::wxNotebookXmlHandler()
: wxXmlResourceHandler(), m_isInside(false), m_notebook(NULL) :wxXmlResourceHandler(),
m_isInside(false),
m_notebook(NULL)
{ {
XRC_ADD_STYLE(wxBK_DEFAULT); XRC_ADD_STYLE(wxBK_DEFAULT);
XRC_ADD_STYLE(wxBK_LEFT); XRC_ADD_STYLE(wxBK_LEFT);

View File

@@ -23,9 +23,9 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/statbox.h" #include "wx/statbox.h"
#include "wx/sizer.h"
#endif #endif
#include "wx/sizer.h"
#include "wx/gbsizer.h" #include "wx/gbsizer.h"
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/tokenzr.h" #include "wx/tokenzr.h"

View File

@@ -23,9 +23,8 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/panel.h" #include "wx/panel.h"
#endif
#include "wx/sizer.h" #include "wx/sizer.h"
#endif
class wxUnknownControlContainer : public wxPanel class wxUnknownControlContainer : public wxPanel