git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39627
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
24 files changed:
+#include "wx/layout.h"
+
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/utils.h"
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/utils.h"
#include "wx/intl.h"
#endif
#include "wx/intl.h"
#endif
-#include "wx/layout.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxIndividualLayoutConstraint, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxLayoutConstraints, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxIndividualLayoutConstraint, wxObject)
IMPLEMENT_DYNAMIC_CLASS(wxLayoutConstraints, wxObject)
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/intl.h"
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/intl.h"
#include "wx/statbox.h"
#endif // WX_PRECOMP
#include "wx/statbox.h"
#endif // WX_PRECOMP
#include "wx/listimpl.cpp"
#if WXWIN_COMPATIBILITY_2_4
#include "wx/listimpl.cpp"
#if WXWIN_COMPATIBILITY_2_4
#include "wx/toolbar.h"
#include "wx/dcclient.h"
#include "wx/scrolbar.h"
#include "wx/toolbar.h"
#include "wx/dcclient.h"
#include "wx/scrolbar.h"
-#endif //WX_PRECOMP
-
-#if wxUSE_CONSTRAINTS
-#endif // wxUSE_CONSTRAINTS
-
-#include "wx/sizer.h"
+ #include "wx/sizer.h"
+#endif //WX_PRECOMP
#if wxUSE_DRAG_AND_DROP
#include "wx/dnd.h"
#if wxUSE_DRAG_AND_DROP
#include "wx/dnd.h"
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/choice.h"
#ifndef WX_PRECOMP
#include "wx/settings.h"
#include "wx/choice.h"
#endif
#include "wx/imaglist.h"
#endif
#include "wx/imaglist.h"
// ----------------------------------------------------------------------------
// various wxWidgets macros
// ----------------------------------------------------------------------------
// various wxWidgets macros
#include "wx/cmndata.h"
#include "wx/choice.h"
#include "wx/textctrl.h"
#include "wx/cmndata.h"
#include "wx/choice.h"
#include "wx/textctrl.h"
+ #include "wx/layout.h"
+ #include "wx/sizer.h"
#endif
#include "wx/module.h"
#endif
#include "wx/module.h"
#include "wx/textdlg.h"
#include "wx/filefn.h"
#include "wx/gdicmn.h"
#include "wx/imaglist.h"
#include "wx/textdlg.h"
#include "wx/filefn.h"
#include "wx/gdicmn.h"
#include "wx/imaglist.h"
#include "wx/tokenzr.h"
#include "wx/dir.h"
#include "wx/artprov.h"
#include "wx/tokenzr.h"
#include "wx/dir.h"
#include "wx/artprov.h"
#endif
#if defined(__OS2__) || defined(__DOS__)
#endif
#if defined(__OS2__) || defined(__DOS__)
- #ifdef __OS2__
- #define INCL_BASE
- #include <os2.h>
- #ifndef __EMX__
- #include <direct.h>
+ #ifdef __OS2__
+ #define INCL_BASE
+ #include <os2.h>
+ #ifndef __EMX__
+ #include <direct.h>
+ #endif
+ #include <stdlib.h>
+ #include <ctype.h>
- #include <stdlib.h>
- #include <ctype.h>
- #endif
- extern bool wxIsDriveAvailable(const wxString& dirName);
+ extern bool wxIsDriveAvailable(const wxString& dirName);
#endif // __OS2__
#if defined(__WXMAC__)
#endif // __OS2__
#if defined(__WXMAC__)
#include "wx/choice.h"
#include "wx/stattext.h"
#include "wx/textctrl.h"
#include "wx/choice.h"
#include "wx/stattext.h"
#include "wx/textctrl.h"
#endif
#include "wx/longlong.h"
#endif
#include "wx/longlong.h"
#include "wx/tokenzr.h"
#include "wx/config.h"
#include "wx/imaglist.h"
#include "wx/tokenzr.h"
#include "wx/config.h"
#include "wx/imaglist.h"
#include "wx/intl.h"
#include "wx/settings.h"
#include "wx/cmndata.h"
#include "wx/intl.h"
#include "wx/settings.h"
#include "wx/cmndata.h"
#endif
#include <string.h>
#include <stdlib.h>
#endif
#include <string.h>
#include <stdlib.h>
#include "wx/fontdlg.h"
#include "wx/generic/fontdlgg.h"
#include "wx/fontdlg.h"
#include "wx/generic/fontdlgg.h"
#if wxUSE_TIMER
#include "wx/timer.h"
#endif
#if wxUSE_TIMER
#include "wx/timer.h"
#endif
#include "wx/recguard.h"
#ifdef __WXMSW__
#include "wx/recguard.h"
#ifdef __WXMSW__
#include "wx/statbmp.h"
#include "wx/button.h"
#include "wx/settings.h"
#include "wx/statbmp.h"
#include "wx/button.h"
#include "wx/settings.h"
#endif //WX_PRECOMP
#include "wx/statline.h"
#endif //WX_PRECOMP
#include "wx/statline.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/dcclient.h"
#endif
#include "wx/stockitem.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#endif
#include "wx/stockitem.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h"
#include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h"
#include "wx/textctrl.h"
#include "wx/toolbar.h"
#include "wx/combobox.h"
#include "wx/textctrl.h"
#include "wx/toolbar.h"
#include "wx/combobox.h"
#include "wx/module.h"
#if wxUSE_DRAG_AND_DROP
#include "wx/module.h"
#if wxUSE_DRAG_AND_DROP
#include "wx/msgdlg.h"
#include "wx/textctrl.h"
#include "wx/combobox.h"
#include "wx/msgdlg.h"
#include "wx/textctrl.h"
#include "wx/combobox.h"
#include "wx/module.h"
#if wxUSE_DRAG_AND_DROP
#include "wx/module.h"
#if wxUSE_DRAG_AND_DROP
#include "wx/stattext.h"
#include "wx/statbox.h"
#include "wx/radiobox.h"
#include "wx/stattext.h"
#include "wx/statbox.h"
#include "wx/radiobox.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/spinbutt.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/spinbutt.h"
#include "wx/mac/uma.h"
#include "wx/mac/private.h"
#include "wx/mac/uma.h"
#include "wx/mac/private.h"
#include "wx/statbox.h"
#include "wx/textctrl.h"
#include "wx/toolbar.h"
#include "wx/statbox.h"
#include "wx/textctrl.h"
#include "wx/toolbar.h"
#include "wx/tooltip.h"
#include "wx/statusbr.h"
#include "wx/menuitem.h"
#include "wx/tooltip.h"
#include "wx/statusbr.h"
#include "wx/menuitem.h"
#include "wx/stattext.h"
#include "wx/statbox.h"
#include "wx/radiobox.h"
#include "wx/stattext.h"
#include "wx/statbox.h"
#include "wx/radiobox.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/spinbutt.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/spinbutt.h"
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
IMPLEMENT_ABSTRACT_CLASS(wxControl, wxWindow)
#include "wx/scrolbar.h"
#include "wx/statbox.h"
#include "wx/listbox.h"
#include "wx/scrolbar.h"
#include "wx/statbox.h"
#include "wx/listbox.h"
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/tooltip.h"
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/tooltip.h"
wxChildFocusEvent eventFocus(this);
GetEventHandler()->ProcessEvent(eventFocus);
wxChildFocusEvent eventFocus(this);
GetEventHandler()->ProcessEvent(eventFocus);
- #ifndef __WXUNIVERSAL__
wxControl* control = wxDynamicCast( gFocusWindow , wxControl ) ;
if ( control && control->GetMacControl() )
{
UMASetKeyboardFocus( (WindowRef) gFocusWindow->MacGetRootWindow() , (ControlHandle) control->GetMacControl() , kControlFocusNextPart ) ;
}
wxControl* control = wxDynamicCast( gFocusWindow , wxControl ) ;
if ( control && control->GetMacControl() )
{
UMASetKeyboardFocus( (WindowRef) gFocusWindow->MacGetRootWindow() , (ControlHandle) control->GetMacControl() , kControlFocusNextPart ) ;
}
wxFocusEvent event(wxEVT_SET_FOCUS, m_windowId);
event.SetEventObject(this);
GetEventHandler()->ProcessEvent(event) ;
wxFocusEvent event(wxEVT_SET_FOCUS, m_windowId);
event.SetEventObject(this);
GetEventHandler()->ProcessEvent(event) ;
#include "wx/menu.h"
#include "wx/settings.h"
#include "wx/scrolwin.h"
#include "wx/menu.h"
#include "wx/settings.h"
#include "wx/scrolwin.h"
#include "wx/module.h"
#include "wx/menuitem.h"
#include "wx/evtloop.h"
#include "wx/module.h"
#include "wx/menuitem.h"
#include "wx/evtloop.h"
#include "wx/frame.h"
#include "wx/dcclient.h"
#include "wx/statbmp.h"
#include "wx/frame.h"
#include "wx/dcclient.h"
#include "wx/statbmp.h"
#endif
#include "wx/bitmap.h"
#endif
#include "wx/bitmap.h"
#include "wx/image.h"
#ifdef __VMS
#include "wx/image.h"
#ifdef __VMS
#include "wx/scrolbar.h"
#include "wx/listbox.h"
#include "wx/scrolwin.h"
#include "wx/scrolbar.h"
#include "wx/listbox.h"
#include "wx/scrolwin.h"
#include "wx/module.h"
#include "wx/menuitem.h"
#include "wx/fontutil.h"
#include "wx/module.h"
#include "wx/menuitem.h"
#include "wx/fontutil.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#endif
#include "wx/choicebk.h"
#include "wx/imaglist.h"
#endif
#include "wx/choicebk.h"
#include "wx/imaglist.h"
IMPLEMENT_DYNAMIC_CLASS(wxChoicebookXmlHandler, wxXmlResourceHandler)
wxChoicebookXmlHandler::wxChoicebookXmlHandler()
IMPLEMENT_DYNAMIC_CLASS(wxChoicebookXmlHandler, wxXmlResourceHandler)
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_LEFT);
{
XRC_ADD_STYLE(wxBK_DEFAULT);
XRC_ADD_STYLE(wxBK_LEFT);
#ifndef WX_PRECOMP
#include "wx/log.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#endif
#include "wx/listbook.h"
#include "wx/imaglist.h"
#endif
#include "wx/listbook.h"
#include "wx/imaglist.h"
IMPLEMENT_DYNAMIC_CLASS(wxListbookXmlHandler, wxXmlResourceHandler)
wxListbookXmlHandler::wxListbookXmlHandler()
IMPLEMENT_DYNAMIC_CLASS(wxListbookXmlHandler, wxXmlResourceHandler)
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_LEFT);
{
XRC_ADD_STYLE(wxBK_DEFAULT);
XRC_ADD_STYLE(wxBK_LEFT);
#ifndef WX_PRECOMP
#include "wx/log.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#endif
#include "wx/notebook.h"
#include "wx/imaglist.h"
#endif
#include "wx/notebook.h"
#include "wx/imaglist.h"
IMPLEMENT_DYNAMIC_CLASS(wxNotebookXmlHandler, wxXmlResourceHandler)
wxNotebookXmlHandler::wxNotebookXmlHandler()
IMPLEMENT_DYNAMIC_CLASS(wxNotebookXmlHandler, wxXmlResourceHandler)
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_LEFT);
{
XRC_ADD_STYLE(wxBK_DEFAULT);
XRC_ADD_STYLE(wxBK_LEFT);
#include "wx/log.h"
#include "wx/panel.h"
#include "wx/statbox.h"
#include "wx/log.h"
#include "wx/panel.h"
#include "wx/statbox.h"
#include "wx/gbsizer.h"
#include "wx/notebook.h"
#include "wx/tokenzr.h"
#include "wx/gbsizer.h"
#include "wx/notebook.h"
#include "wx/tokenzr.h"
IMPLEMENT_DYNAMIC_CLASS(wxSizerXmlHandler, wxXmlResourceHandler)
wxSizerXmlHandler::wxSizerXmlHandler()
IMPLEMENT_DYNAMIC_CLASS(wxSizerXmlHandler, wxXmlResourceHandler)
wxSizerXmlHandler::wxSizerXmlHandler()
- : wxXmlResourceHandler(),
- m_isInside(false),
- m_isGBS(false),
- m_parentSizer(NULL)
+ :wxXmlResourceHandler(),
+ m_isInside(false),
+ m_isGBS(false),
+ m_parentSizer(NULL)
{
XRC_ADD_STYLE(wxHORIZONTAL);
XRC_ADD_STYLE(wxVERTICAL);
{
XRC_ADD_STYLE(wxHORIZONTAL);
XRC_ADD_STYLE(wxVERTICAL);
#include "wx/log.h"
#include "wx/window.h"
#include "wx/panel.h"
#include "wx/log.h"
#include "wx/window.h"
#include "wx/panel.h"
class wxUnknownControlContainer : public wxPanel
{
class wxUnknownControlContainer : public wxPanel
{