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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2006-05-06 21:51:49 +00:00
parent 23f4f495a5
commit ed4b0fdca6
44 changed files with 85 additions and 76 deletions

View File

@ -35,11 +35,11 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/image.h" #include "wx/image.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// wxButtonToolBarTool: our implementation of wxToolBarToolBase // wxButtonToolBarTool: our implementation of wxToolBarToolBase

View File

@ -10,6 +10,10 @@
// For compilers that support precompilation, includes "wx.h". // For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h" #include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#if wxUSE_DATAVIEWCTRL #if wxUSE_DATAVIEWCTRL
#include "wx/dataview.h" #include "wx/dataview.h"
@ -19,10 +23,10 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/sizer.h" #include "wx/sizer.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/stockitem.h" #include "wx/stockitem.h"
#include "wx/dcclient.h"
#include "wx/calctrl.h" #include "wx/calctrl.h"
#include "wx/popupwin.h" #include "wx/popupwin.h"
#include "wx/renderer.h" #include "wx/renderer.h"

View File

@ -31,11 +31,11 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/string.h" #include "wx/string.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/generic/imaglist.h" #include "wx/generic/imaglist.h"
#include "wx/dcclient.h"
#include "wx/generic/tabg.h" #include "wx/generic/tabg.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: sashwin.cpp // Name: src/generic/sashwin.cpp
// Purpose: wxSashWindow implementation. A sash window has an optional // Purpose: wxSashWindow implementation. A sash window has an optional
// sash on each edge, allowing it to be dragged. An event // sash on each edge, allowing it to be dragged. An event
// is generated when the sash is released. // is generated when the sash is released.
@ -15,7 +15,7 @@
#include "wx/wxprec.h" #include "wx/wxprec.h"
#ifdef __BORLANDC__ #ifdef __BORLANDC__
#pragma hdrstop #pragma hdrstop
#endif #endif
#if wxUSE_SASH #if wxUSE_SASH
@ -24,6 +24,7 @@
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/math.h" #include "wx/math.h"
@ -31,7 +32,6 @@
#include <stdlib.h> #include <stdlib.h>
#include "wx/dcscreen.h" #include "wx/dcscreen.h"
#include "wx/dcclient.h"
#include "wx/sashwin.h" #include "wx/sashwin.h"
#include "wx/laywin.h" #include "wx/laywin.h"
@ -46,7 +46,7 @@ BEGIN_EVENT_TABLE(wxSashWindow, wxWindow)
EVT_MOUSE_EVENTS(wxSashWindow::OnMouseEvent) EVT_MOUSE_EVENTS(wxSashWindow::OnMouseEvent)
#if defined( __WXMSW__ ) || defined( __WXMAC__) #if defined( __WXMSW__ ) || defined( __WXMAC__)
EVT_SET_CURSOR(wxSashWindow::OnSetCursor) EVT_SET_CURSOR(wxSashWindow::OnSetCursor)
#endif // wxMSW #endif // __WXMSW__ || __WXMAC__
END_EVENT_TABLE() END_EVENT_TABLE()
@ -703,6 +703,6 @@ void wxSashWindow::OnSetCursor(wxSetCursorEvent& event)
//else: do nothing, in particular, don't call Skip() //else: do nothing, in particular, don't call Skip()
} }
#endif // wxMSW #endif // __WXMSW__ || __WXMAC__
#endif // wxUSE_SASH #endif // wxUSE_SASH

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: src/generic/scrolwin.cpp // Name: src/generic/scrlwing.cpp
// Purpose: wxScrolledWindow implementation // Purpose: wxScrolledWindow implementation
// Author: Julian Smart // Author: Julian Smart
// Modified by: Vadim Zeitlin on 31.08.00: wxScrollHelper allows to implement. // Modified by: Vadim Zeitlin on 31.08.00: wxScrollHelper allows to implement.
@ -34,13 +34,13 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dcclient.h"
#if wxUSE_TIMER #if wxUSE_TIMER
#include "wx/timer.h" #include "wx/timer.h"
#endif #endif
#include "wx/sizer.h" #include "wx/sizer.h"
#include "wx/recguard.h" #include "wx/recguard.h"

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: splash.cpp // Name: src/generic/splash.cpp
// Purpose: wxSplashScreen class // Purpose: wxSplashScreen class
// Author: Julian Smart // Author: Julian Smart
// Modified by: // Modified by:
@ -13,7 +13,7 @@
#include "wx/wxprec.h" #include "wx/wxprec.h"
#ifdef __BORLANDC__ #ifdef __BORLANDC__
#pragma hdrstop #pragma hdrstop
#endif #endif
#if wxUSE_SPLASH #if wxUSE_SPLASH
@ -22,13 +22,12 @@
#include <gtk/gtk.h> #include <gtk/gtk.h>
#endif #endif
#ifndef WX_PRECOMP
#include "wx/dcmemory.h"
#include "wx/dcclient.h"
#endif
#include "wx/splash.h" #include "wx/splash.h"
#ifndef WX_PRECOMP
#include "wx/dcmemory.h"
#include "wx/dcclient.h"
#endif
/* /*
* wxSplashScreen * wxSplashScreen

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: treectlg.cpp // Name: src/generic/treectlg.cpp
// Purpose: generic tree control implementation // Purpose: generic tree control implementation
// Author: Robert Roebling // Author: Robert Roebling
// Created: 01/02/97 // Created: 01/02/97
@ -26,14 +26,17 @@
#if wxUSE_TREECTRL #if wxUSE_TREECTRL
#include "wx/treebase.h"
#include "wx/treectrl.h" #include "wx/treectrl.h"
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#endif
#include "wx/generic/treectlg.h" #include "wx/generic/treectlg.h"
#include "wx/timer.h" #include "wx/timer.h"
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h"
#include "wx/renderer.h" #include "wx/renderer.h"

View File

@ -18,10 +18,10 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/stockitem.h" #include "wx/stockitem.h"
#include "wx/dcclient.h"
#include "wx/calctrl.h" #include "wx/calctrl.h"
#include "wx/popupwin.h" #include "wx/popupwin.h"
#include "wx/sizer.h" #include "wx/sizer.h"
@ -1437,7 +1437,7 @@ bool wxDataViewCtrl::Create(wxWindow *parent, wxWindowID id,
m_treeview = gtk_tree_view_new(); m_treeview = gtk_tree_view_new();
gtk_container_add (GTK_CONTAINER (m_widget), m_treeview); gtk_container_add (GTK_CONTAINER (m_widget), m_treeview);
if (style & wxDV_MULTIPLE) if (style & wxDV_MULTIPLE)
{ {
GtkTreeSelection *selection = gtk_tree_view_get_selection( GTK_TREE_VIEW(m_treeview) ); GtkTreeSelection *selection = gtk_tree_view_get_selection( GTK_TREE_VIEW(m_treeview) );

View File

@ -22,6 +22,7 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/dcclient.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/dialog.h" #include "wx/dialog.h"
@ -33,7 +34,6 @@
#if wxUSE_STATUSBAR #if wxUSE_STATUSBAR
#include "wx/statusbr.h" #include "wx/statusbr.h"
#endif #endif
#include "wx/dcclient.h"
#include <glib.h> #include <glib.h>
#include "wx/gtk/private.h" #include "wx/gtk/private.h"

View File

@ -29,12 +29,12 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/window.h" #include "wx/window.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "wx/gtk/win_gtk.h" #include "wx/gtk/win_gtk.h"
#include "wx/dcclient.h"
#include "wx/settings.h" #include "wx/settings.h"
// RR: After a correction to the orientation of the sash // RR: After a correction to the orientation of the sash

View File

@ -27,11 +27,11 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/control.h" #include "wx/control.h"
#include "wx/dcclient.h"
#include "wx/gtk/private.h" #include "wx/gtk/private.h"
#include "wx/timer.h" #include "wx/timer.h"
#include "wx/settings.h" #include "wx/settings.h"

View File

@ -22,9 +22,9 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dcclient.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

@ -22,6 +22,7 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/dcclient.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/dialog.h" #include "wx/dialog.h"
@ -33,7 +34,6 @@
#if wxUSE_STATUSBAR #if wxUSE_STATUSBAR
#include "wx/statusbr.h" #include "wx/statusbr.h"
#endif #endif
#include "wx/dcclient.h"
#include <glib.h> #include <glib.h>
#include "wx/gtk1/private.h" #include "wx/gtk1/private.h"

View File

@ -29,13 +29,12 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/window.h" #include "wx/window.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include <gtk/gtk.h> #include <gtk/gtk.h>
#include "wx/gtk1/win_gtk.h" #include "wx/gtk1/win_gtk.h"
#include "wx/dcclient.h"
// RR: After a correction to the orientation of the sash // RR: After a correction to the orientation of the sash
// this doesn't seem to be required anymore and it // this doesn't seem to be required anymore and it
// seems to confuse some themes so USE_ERASE_RECT=0 // seems to confuse some themes so USE_ERASE_RECT=0

View File

@ -27,11 +27,11 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/control.h" #include "wx/control.h"
#include "wx/dcclient.h"
#include "wx/gtk1/private.h" #include "wx/gtk1/private.h"
#include "wx/timer.h" #include "wx/timer.h"
#include "wx/settings.h" #include "wx/settings.h"

View File

@ -22,9 +22,9 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dcclient.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

@ -17,9 +17,9 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/dcclient.h"
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/tabctrl.h" #include "wx/tabctrl.h"
#include "wx/radiobox.h" #include "wx/radiobox.h"

View File

@ -39,7 +39,6 @@
#endif #endif
#include "wx/fontdlg.h" #include "wx/fontdlg.h"
#include "wx/dcclient.h"
#if wxMAC_USE_EXPERIMENTAL_FONTDIALOG #if wxMAC_USE_EXPERIMENTAL_FONTDIALOG

View File

@ -15,13 +15,13 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/dcclient.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/statusbr.h" #include "wx/statusbr.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/dcclient.h"
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/settings.h" #include "wx/settings.h"

View File

@ -21,11 +21,11 @@
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/bitmap.h" #include "wx/bitmap.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/renderer.h" #include "wx/renderer.h"
#include "wx/toplevel.h" #include "wx/toplevel.h"
#include "wx/dcclient.h"
#include "wx/mac/uma.h" #include "wx/mac/uma.h"
@ -359,4 +359,3 @@ void wxRendererMac::DrawSplitterSash( wxWindow *win,
} }
} }
} }

View File

@ -1,12 +1,12 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: statbmp.cpp // Name: src/mac/carbon/statbmp.cpp
// Purpose: wxStaticBitmap // Purpose: wxStaticBitmap
// Author: Stefan Csomor // Author: Stefan Csomor
// Modified by: // Modified by:
// Created: 1998-01-01 // Created: 1998-01-01
// RCS-ID: $Id$ // RCS-ID: $Id$
// Copyright: (c) Stefan Csomor // Copyright: (c) Stefan Csomor
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h" #include "wx/wxprec.h"
@ -14,7 +14,10 @@
#if wxUSE_STATBMP #if wxUSE_STATBMP
#include "wx/statbmp.h" #include "wx/statbmp.h"
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl) IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
@ -39,7 +42,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id,
m_foregroundColour = parent->GetForegroundColour() ; m_foregroundColour = parent->GetForegroundColour() ;
m_bitmap = bitmap; m_bitmap = bitmap;
if ( id == -1 ) if ( id == wxID_ANY )
m_windowId = (int)NewControlId(); m_windowId = (int)NewControlId();
else else
m_windowId = id; m_windowId = id;
@ -48,7 +51,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id,
bool ret = wxControl::Create( parent, id, pos, size, style , wxDefaultValidator , name ); bool ret = wxControl::Create( parent, id, pos, size, style , wxDefaultValidator , name );
SetBestSize( size ) ; SetBestSize( size ) ;
return ret; return ret;
} }
@ -60,7 +63,7 @@ void wxStaticBitmap::SetBitmap(const wxBitmap& bitmap)
Refresh() ; Refresh() ;
} }
void wxStaticBitmap::OnPaint( wxPaintEvent& WXUNUSED(event) ) void wxStaticBitmap::OnPaint( wxPaintEvent& WXUNUSED(event) )
{ {
wxPaintDC dc(this); wxPaintDC dc(this);
PrepareDC(dc); PrepareDC(dc);
@ -77,8 +80,7 @@ wxSize wxStaticBitmap::DoGetBestSize() const
return DoGetSizeFromClientSize( wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight()) ); return DoGetSizeFromClientSize( wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight()) );
// this is completely arbitrary // this is completely arbitrary
return DoGetSizeFromClientSize( wxSize(16, 16) ); return DoGetSizeFromClientSize( wxSize(16, 16) );
} }
#endif #endif

View File

@ -15,10 +15,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dcclient.h"
#include "wx/mac/private.h" #include "wx/mac/private.h"
#include "wx/toplevel.h" #include "wx/toplevel.h"

View File

@ -19,11 +19,11 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.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/dcclient.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/mac/uma.h" #include "wx/mac/uma.h"

View File

@ -20,10 +20,10 @@
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/dcclient.h"
#include "wx/layout.h" #include "wx/layout.h"
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/scrolbar.h" #include "wx/scrolbar.h"

View File

@ -21,9 +21,9 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/dcclient.h"
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/tabctrl.h" #include "wx/tabctrl.h"
#include "wx/radiobox.h" #include "wx/radiobox.h"

View File

@ -15,13 +15,13 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/app.h" #include "wx/app.h"
#include "wx/dcclient.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/statusbr.h" #include "wx/statusbr.h"
#include "wx/toolbar.h" #include "wx/toolbar.h"
#include "wx/menuitem.h" #include "wx/menuitem.h"
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/dcclient.h"
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/settings.h" #include "wx/settings.h"

View File

@ -16,7 +16,10 @@
#endif #endif
#include "wx/statbmp.h" #include "wx/statbmp.h"
#include "wx/dcclient.h"
#ifndef WX_PRECOMP
#include "wx/dcclient.h"
#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl) IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
@ -49,7 +52,7 @@ bool wxStaticBitmap::Create(wxWindow *parent, wxWindowID id,
m_foregroundColour = parent->GetForegroundColour() ; m_foregroundColour = parent->GetForegroundColour() ;
m_bitmap = bitmap; m_bitmap = bitmap;
if ( id == -1 ) if ( id == wxID_ANY )
m_windowId = (int)NewControlId(); m_windowId = (int)NewControlId();
else else
m_windowId = id; m_windowId = id;

View File

@ -17,16 +17,15 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dcclient.h"
BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric) BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric)
EVT_PAINT(wxStatusBarMac::OnPaint) EVT_PAINT(wxStatusBarMac::OnPaint)
END_EVENT_TABLE() END_EVENT_TABLE()
#ifdef __WXMAC__ #ifdef __WXMAC__
#include "wx/mac/private.h" #include "wx/mac/private.h"
#endif #endif
// ============================================================================ // ============================================================================

View File

@ -17,11 +17,11 @@
#include "wx/app.h" #include "wx/app.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/notebook.h" #include "wx/notebook.h"
#include "wx/tabctrl.h" #include "wx/tabctrl.h"
#include "wx/dcclient.h"
#include "wx/settings.h" #include "wx/settings.h"
#include <stdio.h> #include <stdio.h>

View File

@ -20,10 +20,10 @@
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/dcclient.h"
#include "wx/layout.h" #include "wx/layout.h"
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/listbox.h" #include "wx/listbox.h"

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: dcclient.cpp // Name: src/mgl/dcclient.cpp
// Purpose: // Purpose:
// Author: Vaclav Slavik // Author: Vaclav Slavik
// RCS-ID: $Id$ // RCS-ID: $Id$
@ -14,8 +14,9 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#include "wx/dcclient.h"
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/dcclient.h"
#include "wx/window.h" #include "wx/window.h"
#endif #endif
@ -39,7 +40,7 @@ wxWindowDC::wxWindowDC(wxWindow *win) : m_wnd(win)
else else
{ {
m_inPaintHandler = FALSE; m_inPaintHandler = FALSE;
dc = new MGLDevCtx(MGL_wmBeginPaint(win->GetHandle())); dc = new MGLDevCtx(MGL_wmBeginPaint(win->GetHandle()));
MGLRegion clip; MGLRegion clip;

View File

@ -33,10 +33,10 @@
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/dcclient.h"
#include "wx/layout.h" #include "wx/layout.h"
#include "wx/button.h" #include "wx/button.h"
#include "wx/settings.h" #include "wx/settings.h"

View File

@ -31,12 +31,12 @@
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/listctrl.h" #include "wx/listctrl.h"
#include "wx/dcclient.h"
#include "wx/msw/private.h" #include "wx/msw/private.h"

View File

@ -36,11 +36,11 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/math.h" // log10 & pow #include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting #include "wx/msw/private.h" // user info and wndproc setting/getting
#include "wx/dcclient.h"
#include "wx/timer.h" #include "wx/timer.h"
#include "wx/dynlib.h" #include "wx/dynlib.h"

View File

@ -62,11 +62,11 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/math.h" // log10 & pow #include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting #include "wx/msw/private.h" // user info and wndproc setting/getting
#include "wx/dcclient.h"
#include "wx/timer.h" #include "wx/timer.h"
#include "wx/dynlib.h" #include "wx/dynlib.h"
#include "wx/stopwatch.h" #include "wx/stopwatch.h"

View File

@ -26,12 +26,12 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/event.h" #include "wx/event.h"
#include "wx/app.h" #include "wx/app.h"
#include "wx/dcclient.h"
#endif // WX_PRECOMP #endif // WX_PRECOMP
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/control.h" #include "wx/control.h"
#include "wx/sysopt.h" #include "wx/sysopt.h"
#include "wx/dcclient.h"
#include "wx/dcmemory.h" #include "wx/dcmemory.h"
#include "wx/msw/private.h" #include "wx/msw/private.h"

View File

@ -23,7 +23,10 @@
#pragma hdrstop #pragma hdrstop
#endif #endif
#include "wx/dcclient.h" #ifndef WX_PRECOMP
#include "wx/dcclient.h"
#endif
#include "wx/math.h" #include "wx/math.h"
// I don't know why members of tagVARIANT aren't found when compiling // I don't know why members of tagVARIANT aren't found when compiling

View File

@ -31,12 +31,12 @@
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/listctrl.h" #include "wx/listctrl.h"
#include "wx/dcclient.h"
#include "wx/os2/private.h" #include "wx/os2/private.h"

View File

@ -17,9 +17,9 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/icon.h" #include "wx/icon.h"
#include "wx/window.h" #include "wx/window.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/dcclient.h"
#include "wx/os2/private.h" #include "wx/os2/private.h"
#include <stdio.h> #include <stdio.h>

View File

@ -31,12 +31,12 @@
#include "wx/intl.h" #include "wx/intl.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/textctrl.h" #include "wx/textctrl.h"
#include "wx/imaglist.h" #include "wx/imaglist.h"
#include "wx/listctrl.h" #include "wx/listctrl.h"
#include "wx/dcclient.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// events // events
@ -678,4 +678,3 @@ static void wxDeleteInternalData(wxListCtrl* ctl, long itemId)
} }
#endif // wxUSE_LISTCTRL #endif // wxUSE_LISTCTRL

View File

@ -33,11 +33,11 @@
#include "wx/accel.h" #include "wx/accel.h"
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dcclient.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/univ/renderer.h" #include "wx/univ/renderer.h"

View File

@ -26,12 +26,12 @@
#ifndef WX_PRECOMP #ifndef WX_PRECOMP
#include "wx/log.h" #include "wx/log.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/bitmap.h" #include "wx/bitmap.h"
#include "wx/statbmp.h" #include "wx/statbmp.h"
#include "wx/sizer.h" #include "wx/sizer.h"
#include "wx/dcclient.h"
#include "wx/image.h" #include "wx/image.h"
#ifdef __VMS #ifdef __VMS

View File

@ -17,12 +17,12 @@
#include "wx/log.h" #include "wx/log.h"
#include "wx/utils.h" #include "wx/utils.h"
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/settings.h" #include "wx/settings.h"
#include "wx/clipbrd.h" #include "wx/clipbrd.h"
#include "wx/tokenzr.h" #include "wx/tokenzr.h"
#include "wx/dcclient.h"
#include "wx/univ/inphand.h" #include "wx/univ/inphand.h"
#include "wx/univ/renderer.h" #include "wx/univ/renderer.h"

View File

@ -34,10 +34,10 @@
#include "wx/panel.h" #include "wx/panel.h"
#include "wx/frame.h" #include "wx/frame.h"
#include "wx/dc.h" #include "wx/dc.h"
#include "wx/dcclient.h"
#endif #endif
#include "wx/menu.h" #include "wx/menu.h"
#include "wx/dcclient.h"
#include "wx/layout.h" #include "wx/layout.h"
#include "wx/dialog.h" #include "wx/dialog.h"
#include "wx/listbox.h" #include "wx/listbox.h"