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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-05 08:10:55 +00:00
parent 6337cacce9
commit 76b49cf49b
53 changed files with 127 additions and 111 deletions

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: cocoa/frame.mm // Name: src/cocoa/frame.mm
// Purpose: wxFrame // Purpose: wxFrame
// Author: David Elliott // Author: David Elliott
// Modified by: // Modified by:
@@ -10,10 +10,12 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h" #include "wx/wxprec.h"
#include "wx/frame.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/statusbr.h" #include "wx/statusbr.h"
@@ -287,4 +289,3 @@ wxToolBar* wxFrame::CreateToolBar(long style,
void wxFrame::PositionStatusBar() void wxFrame::PositionStatusBar()
{ {
} }

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: common/framecmn.cpp // Name: src/common/framecmn.cpp
// Purpose: common (for all platforms) wxFrame functions // Purpose: common (for all platforms) wxFrame functions
// Author: Julian Smart, Vadim Zeitlin // Author: Julian Smart, Vadim Zeitlin
// Created: 01/02/97 // Created: 01/02/97
@@ -23,8 +23,9 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#include "wx/frame.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/frame.h"
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: common/tbarbase.cpp // Name: src/common/tbarbase.cpp
// Purpose: wxToolBarBase implementation // Purpose: wxToolBarBase implementation
// Author: Julian Smart // Author: Julian Smart
// Modified by: VZ at 11.12.99 (wxScrollableToolBar split off) // Modified by: VZ at 11.12.99 (wxScrollableToolBar split off)
@@ -26,19 +26,18 @@
#if wxUSE_TOOLBAR #if wxUSE_TOOLBAR
#include "wx/toolbar.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/control.h" #include "wx/control.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#if wxUSE_IMAGE #if wxUSE_IMAGE
#include "wx/image.h" #include "wx/image.h"
#include "wx/settings.h" #include "wx/settings.h"
#endif // wxUSE_IMAGE #endif // wxUSE_IMAGE
#include "wx/toolbar.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxWidgets macros // wxWidgets macros
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -72,7 +72,6 @@
#include "wx/colordlg.h" #include "wx/colordlg.h"
#include "wx/fontdlg.h" #include "wx/fontdlg.h"
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/frame.h"
#include "wx/statusbr.h" #include "wx/statusbr.h"
#endif // wxUSE_GUI #endif // wxUSE_GUI
@@ -819,7 +818,7 @@ bool wxLaunchDefaultBrowser(const wxString& urlOrig, int flags)
{ {
ConstStr255Param hint = 0; ConstStr255Param hint = 0;
startSel = 0; startSel = 0;
endSel = url.Length(); endSel = url.length();
err = ICLaunchURL(inst, hint, url.fn_str(), endSel, &startSel, &endSel); err = ICLaunchURL(inst, hint, url.fn_str(), endSel, &startSel, &endSel);
if (err != noErr) if (err != noErr)
wxLogDebug(wxT("ICLaunchURL error %d"), (int) err); wxLogDebug(wxT("ICLaunchURL error %d"), (int) err);
@@ -1193,7 +1192,7 @@ wxColour wxGetColourFromUser(wxWindow *parent, const wxColour& colInit, const wx
wxColour colRet; wxColour colRet;
wxColourDialog dialog(parent, &data); wxColourDialog dialog(parent, &data);
if (!caption.IsEmpty()) if (!caption.empty())
dialog.SetTitle(caption); dialog.SetTitle(caption);
if ( dialog.ShowModal() == wxID_OK ) if ( dialog.ShowModal() == wxID_OK )
{ {
@@ -1218,7 +1217,7 @@ wxFont wxGetFontFromUser(wxWindow *parent, const wxFont& fontInit, const wxStrin
wxFont fontRet; wxFont fontRet;
wxFontDialog dialog(parent, data); wxFontDialog dialog(parent, data);
if (!caption.IsEmpty()) if (!caption.empty())
dialog.SetTitle(caption); dialog.SetTitle(caption);
if ( dialog.ShowModal() == wxID_OK ) if ( dialog.ShowModal() == wxID_OK )
{ {

View File

@@ -34,9 +34,9 @@
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/image.h" #include "wx/image.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
@@ -386,7 +386,7 @@ void wxButtonToolBar::DoLayout()
{ {
wxBitmapButton* bmpButton = new wxBitmapButton(this, tool->GetId(), tool->GetNormalBitmap(), wxPoint(tool->m_x, tool->m_y), wxDefaultSize, wxBitmapButton* bmpButton = new wxBitmapButton(this, tool->GetId(), tool->GetNormalBitmap(), wxPoint(tool->m_x, tool->m_y), wxDefaultSize,
wxBU_AUTODRAW|wxBORDER_NONE); wxBU_AUTODRAW|wxBORDER_NONE);
if (!tool->GetShortHelp().IsEmpty()) if (!tool->GetShortHelp().empty())
bmpButton->SetLabel(tool->GetShortHelp()); bmpButton->SetLabel(tool->GetShortHelp());
tool->SetButton(bmpButton); tool->SetButton(bmpButton);
@@ -406,7 +406,7 @@ void wxButtonToolBar::DoLayout()
{ {
sz.y += (m_labelHeight + m_labelMargin); sz.y += (m_labelHeight + m_labelMargin);
if (!tool->GetShortHelp().IsEmpty()) if (!tool->GetShortHelp().empty())
{ {
wxClientDC dc(this); wxClientDC dc(this);
dc.SetFont(GetFont()); dc.SetFont(GetFont());
@@ -515,7 +515,7 @@ void wxButtonToolBar::OnPaint(wxPaintEvent& event)
dc.DrawRectangle(backgroundRect); dc.DrawRectangle(backgroundRect);
} }
if (m_labelHeight > 0 && !tool->GetShortHelp().IsEmpty()) if (m_labelHeight > 0 && !tool->GetShortHelp().empty())
{ {
int tw, th; int tw, th;
dc.GetTextExtent(tool->GetShortHelp(), & tw, & th); dc.GetTextExtent(tool->GetShortHelp(), & tw, & th);

View File

@@ -13,15 +13,15 @@
#include "wx/wxprec.h" #include "wx/wxprec.h"
#ifdef __BORLANDC__ #ifdef __BORLANDC__
#pragma hdrstop #pragma hdrstop
#endif #endif
#if wxUSE_STATUSBAR #if wxUSE_STATUSBAR
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
#endif #endif
#ifdef __WXGTK20__ #ifdef __WXGTK20__

View File

@@ -14,9 +14,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/cursor.h" #include "wx/cursor.h"
#include "wx/evtloop.h" #include "wx/evtloop.h"

View File

@@ -18,9 +18,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/colour.h" #include "wx/colour.h"
#include "wx/module.h" #include "wx/module.h"

View File

@@ -16,9 +16,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/cursor.h" #include "wx/cursor.h"
#include <gdk/gdk.h> #include <gdk/gdk.h>

View File

@@ -16,10 +16,10 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/frame.h"
#if wxUSE_TOOLTIPS #if wxUSE_TOOLTIPS
#include "wx/tooltip.h" #include "wx/tooltip.h"

View File

@@ -16,9 +16,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/menu.h" #include "wx/menu.h"
#include <gdk/gdkx.h> #include <gdk/gdkx.h>

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: tbargtk.cpp // Name: src/gtk/tbargtk.cpp
// Purpose: GTK toolbar // Purpose: GTK toolbar
// Author: Robert Roebling // Author: Robert Roebling
// Modified: 13.12.99 by VZ to derive from wxToolBarBase // Modified: 13.12.99 by VZ to derive from wxToolBarBase
@@ -23,7 +23,9 @@
#if wxUSE_TOOLBAR_NATIVE #if wxUSE_TOOLBAR_NATIVE
#include "wx/frame.h" #ifndef WX_PRECOMP
#include "wx/frame.h"
#endif
// FIXME: Use GtkImage instead of GtkPixmap. Use the new toolbar API for when gtk runtime is new enough? // FIXME: Use GtkImage instead of GtkPixmap. Use the new toolbar API for when gtk runtime is new enough?
// Beware that the new and old toolbar API may not be mixed in usage. // Beware that the new and old toolbar API may not be mixed in usage.

View File

@@ -21,10 +21,10 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/frame.h"
#include "wx/layout.h" #include "wx/layout.h"
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/msgdlg.h" #include "wx/msgdlg.h"

View File

@@ -14,9 +14,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/cursor.h" #include "wx/cursor.h"
#include "wx/evtloop.h" #include "wx/evtloop.h"

View File

@@ -18,9 +18,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/colour.h" #include "wx/colour.h"
#include "wx/module.h" #include "wx/module.h"

View File

@@ -16,9 +16,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/cursor.h" #include "wx/cursor.h"
#include <gdk/gdk.h> #include <gdk/gdk.h>

View File

@@ -16,10 +16,10 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/frame.h"
#include "wx/gtk1/private.h" #include "wx/gtk1/private.h"
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: tbargtk.cpp // Name: src/gtk1/tbargtk.cpp
// Purpose: GTK toolbar // Purpose: GTK toolbar
// Author: Robert Roebling // Author: Robert Roebling
// Modified: 13.12.99 by VZ to derive from wxToolBarBase // Modified: 13.12.99 by VZ to derive from wxToolBarBase
@@ -23,7 +23,9 @@
#if wxUSE_TOOLBAR_NATIVE #if wxUSE_TOOLBAR_NATIVE
#include "wx/frame.h" #ifndef WX_PRECOMP
#include "wx/frame.h"
#endif
#include <glib.h> #include <glib.h>
#include "wx/gtk1/private.h" #include "wx/gtk1/private.h"

View File

@@ -21,10 +21,10 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/frame.h"
#include "wx/layout.h" #include "wx/layout.h"
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/msgdlg.h" #include "wx/msgdlg.h"

View File

@@ -18,9 +18,9 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/button.h" #include "wx/button.h"
#include "wx/gdicmn.h" #include "wx/gdicmn.h"
#include "wx/pen.h" #include "wx/pen.h"

View File

@@ -21,9 +21,9 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/bitmap.h" #include "wx/bitmap.h"
#include "wx/metafile.h" #include "wx/metafile.h"

View File

@@ -16,9 +16,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/mac/uma.h" #include "wx/mac/uma.h"

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: fontdlg.cpp // Name: src/mac/carbon/fontdlg.cpp
// Purpose: wxFontDialog class for carbon 10.2+. // Purpose: wxFontDialog class for carbon 10.2+.
// Author: Ryan Norton // Author: Ryan Norton
// Modified by: // Modified by:
@@ -25,17 +25,17 @@
#endif #endif
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/wxchar.h" #include "wx/wxchar.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/listbox.h" #include "wx/listbox.h"
#include "wx/checkbox.h" #include "wx/checkbox.h"
#include "wx/choice.h" #include "wx/choice.h"
#include "wx/sizer.h" #include "wx/sizer.h"
#include "wx/stattext.h" #include "wx/stattext.h"
#include "wx/button.h" #include "wx/button.h"
#endif #endif
#include "wx/fontdlg.h" #include "wx/fontdlg.h"
@@ -326,7 +326,7 @@ void wxFontColourSwatchCtrl::OnMouseEvent(wxMouseEvent& event)
parent = parent->GetParent(); parent = parent->GetParent();
wxColourData data; wxColourData data;
data.SetChooseFull(TRUE); data.SetChooseFull(true);
data.SetColour(m_colour); data.SetColour(m_colour);
wxColourDialog *dialog = new wxColourDialog(parent, &data); wxColourDialog *dialog = new wxColourDialog(parent, &data);
// Crashes on wxMac (no m_peer) // Crashes on wxMac (no m_peer)

View File

@@ -25,11 +25,11 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#include "wx/mac/uma.h" #include "wx/mac/uma.h"

View File

@@ -18,6 +18,7 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
@@ -30,7 +31,6 @@
#include "wx/button.h" #include "wx/button.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/msgdlg.h" #include "wx/msgdlg.h"
#include "wx/frame.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

@@ -22,9 +22,9 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/button.h" #include "wx/button.h"
#include "wx/gdicmn.h" #include "wx/gdicmn.h"
#include "wx/pen.h" #include "wx/pen.h"

View File

@@ -18,9 +18,9 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/bitmap.h" #include "wx/bitmap.h"
#include "wx/metafile.h" #include "wx/metafile.h"

View File

@@ -16,9 +16,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/frame.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/mac/uma.h" #include "wx/mac/uma.h"

View File

@@ -25,10 +25,10 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/frame.h"
#include "wx/mac/uma.h" #include "wx/mac/uma.h"

View File

@@ -18,6 +18,7 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
@@ -31,7 +32,6 @@
#include "wx/button.h" #include "wx/button.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/msgdlg.h" #include "wx/msgdlg.h"
#include "wx/frame.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

@@ -17,10 +17,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#ifdef __VMS__ #ifdef __VMS__
#pragma message disable nosimpint #pragma message disable nosimpint
#endif #endif

View File

@@ -26,10 +26,10 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/frame.h"
#include "wx/settings.h" #include "wx/settings.h"
#ifdef __VMS__ #ifdef __VMS__

View File

@@ -24,10 +24,10 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/frame.h"
#ifdef __VMS__ #ifdef __VMS__
#pragma message disable nosimpint #pragma message disable nosimpint

View File

@@ -28,11 +28,11 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/frame.h"
#endif #endif
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/timer.h" #include "wx/timer.h"
#include "wx/frame.h"
#ifdef __VMS__ #ifdef __VMS__
#pragma message disable nosimpint #pragma message disable nosimpint

View File

@@ -31,6 +31,7 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
@@ -39,7 +40,6 @@
#include "wx/layout.h" #include "wx/layout.h"
#include "wx/button.h" #include "wx/button.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/frame.h"
#include "wx/scrolwin.h" #include "wx/scrolwin.h"
#include "wx/module.h" #include "wx/module.h"
#include "wx/menuitem.h" #include "wx/menuitem.h"

View File

@@ -35,10 +35,10 @@
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/msw/private.h" #include "wx/msw/private.h"
#include "wx/frame.h"
#include "wx/image.h" #include "wx/image.h"
#include "wx/msw/dragimag.h" #include "wx/msw/dragimag.h"

View File

@@ -24,8 +24,9 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#include "wx/frame.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/frame.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/utils.h" #include "wx/utils.h"

View File

@@ -21,7 +21,7 @@
#include "wx/wxprec.h" #include "wx/wxprec.h"
#ifdef __BORLANDC__ #ifdef __BORLANDC__
#pragma hdrstop #pragma hdrstop
#endif #endif
#if wxUSE_DRAGIMAGE #if wxUSE_DRAGIMAGE
@@ -35,9 +35,9 @@
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/image.h" #include "wx/image.h"
#include "wx/palmos/dragimag.h" #include "wx/palmos/dragimag.h"

View File

@@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
// Name: univ/frame.cpp // Name: src/univ/frame.cpp
// Purpose: wxFrame class for wxUniversal // Purpose: wxFrame class for wxUniversal
// Author: Vadim Zeitlin // Author: Vadim Zeitlin
// Modified by: // Modified by:
@@ -24,9 +24,10 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#include "wx/menu.h" #include "wx/frame.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/frame.h" #include "wx/menu.h"
#include "wx/statusbr.h" #include "wx/statusbr.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"

View File

@@ -32,12 +32,12 @@
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/accel.h" #include "wx/accel.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/popupwin.h" #include "wx/popupwin.h"
#include "wx/evtloop.h" #include "wx/evtloop.h"
#include "wx/dcclient.h" #include "wx/dcclient.h"
#include "wx/frame.h"
#include "wx/univ/renderer.h" #include "wx/univ/renderer.h"

View File

@@ -33,11 +33,11 @@
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/univ/renderer.h" #include "wx/univ/renderer.h"
#include "wx/frame.h"
#include "wx/image.h" #include "wx/image.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -25,9 +25,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/bitmap.h" #include "wx/bitmap.h"
#include "wx/statbmp.h" #include "wx/statbmp.h"
#include "wx/sizer.h" #include "wx/sizer.h"

View File

@@ -19,9 +19,9 @@
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/gdicmn.h" #include "wx/gdicmn.h"
#include "wx/icon.h" #include "wx/icon.h"
#include "wx/dialog.h" #include "wx/dialog.h"

View File

@@ -18,9 +18,9 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/fontutil.h" #include "wx/fontutil.h"
#include "wx/x11/private.h" #include "wx/x11/private.h"

View File

@@ -32,6 +32,7 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
@@ -43,7 +44,6 @@
#include "wx/button.h" #include "wx/button.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/msgdlg.h" #include "wx/msgdlg.h"
#include "wx/frame.h"
#include "wx/scrolwin.h" #include "wx/scrolwin.h"
#include "wx/scrolbar.h" #include "wx/scrolbar.h"
#include "wx/module.h" #include "wx/module.h"

View File

@@ -22,10 +22,10 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/frame.h"
IMPLEMENT_DYNAMIC_CLASS(wxDialogXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxDialogXmlHandler, wxXmlResourceHandler)

View File

@@ -22,9 +22,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE #include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE
IMPLEMENT_DYNAMIC_CLASS(wxFrameXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxFrameXmlHandler, wxXmlResourceHandler)

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: xh_menu.cpp // Name: src/xrc/xh_menu.cpp
// Purpose: XRC resource for menus and menubars // Purpose: XRC resource for menus and menubars
// Author: Vaclav Slavik // Author: Vaclav Slavik
// Created: 2000/03/05 // Created: 2000/03/05
@@ -18,8 +18,12 @@
#if wxUSE_XRC #if wxUSE_XRC
#include "wx/xrc/xh_menu.h" #include "wx/xrc/xh_menu.h"
#ifndef WX_PRECOMP
#include "wx/frame.h"
#endif
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/frame.h"
IMPLEMENT_DYNAMIC_CLASS(wxMenuXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxMenuXmlHandler, wxXmlResourceHandler)
@@ -75,7 +79,7 @@ wxObject *wxMenuXmlHandler::DoCreateResource()
wxString label = GetText(wxT("label")); wxString label = GetText(wxT("label"));
wxString accel = GetText(wxT("accel"), false); wxString accel = GetText(wxT("accel"), false);
wxString fullLabel = label; wxString fullLabel = label;
if (!accel.IsEmpty()) if (!accel.empty())
fullLabel << wxT("\t") << accel; fullLabel << wxT("\t") << accel;
wxItemKind kind = wxITEM_NORMAL; wxItemKind kind = wxITEM_NORMAL;

View File

@@ -21,10 +21,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
IMPLEMENT_DYNAMIC_CLASS(wxPanelXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxPanelXmlHandler, wxXmlResourceHandler)
wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler() wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler()

View File

@@ -18,8 +18,12 @@
#if wxUSE_XRC #if wxUSE_XRC
#include "wx/xrc/xh_scwin.h" #include "wx/xrc/xh_scwin.h"
#ifndef WX_PRECOMP
#include "wx/frame.h"
#endif
#include "wx/scrolwin.h" #include "wx/scrolwin.h"
#include "wx/frame.h"
IMPLEMENT_DYNAMIC_CLASS(wxScrolledWindowXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxScrolledWindowXmlHandler, wxXmlResourceHandler)

View File

@@ -22,9 +22,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/string.h" #include "wx/string.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h"
#endif #endif
#include "wx/frame.h"
#include "wx/statusbr.h" #include "wx/statusbr.h"
IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxStatusBarXmlHandler, wxXmlResourceHandler)

View File

@@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: xh_toolb.cpp // Name: src/xrc/xh_toolb.cpp
// Purpose: XRC resource for wxBoxSizer // Purpose: XRC resource for wxBoxSizer
// Author: Vaclav Slavik // Author: Vaclav Slavik
// Created: 2000/08/11 // Created: 2000/08/11
@@ -18,8 +18,12 @@
#if wxUSE_XRC && wxUSE_TOOLBAR #if wxUSE_XRC && wxUSE_TOOLBAR
#include "wx/xrc/xh_toolb.h" #include "wx/xrc/xh_toolb.h"
#ifndef WX_PRECOMP
#include "wx/frame.h"
#endif
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/frame.h"
IMPLEMENT_DYNAMIC_CLASS(wxToolBarXmlHandler, wxXmlResourceHandler) IMPLEMENT_DYNAMIC_CLASS(wxToolBarXmlHandler, wxXmlResourceHandler)

View File

@@ -23,6 +23,7 @@
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h"
#endif #endif
#ifndef __WXWINCE__ #ifndef __WXWINCE__
@@ -30,7 +31,6 @@
#endif #endif
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/frame.h"
#include "wx/wfstream.h" #include "wx/wfstream.h"
#include "wx/filesys.h" #include "wx/filesys.h"
#include "wx/filename.h" #include "wx/filename.h"