#include "wx/app.h"
#include "wx/log.h"
#include "wx/frame.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/image.h"
#include "wx/settings.h"
-#include "wx/dcclient.h"
// ----------------------------------------------------------------------------
// wxButtonToolBarTool: our implementation of wxToolBarToolBase
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
+#ifdef __BORLANDC__
+ #pragma hdrstop
+#endif
+
#if wxUSE_DATAVIEWCTRL
#include "wx/dataview.h"
#ifndef WX_PRECOMP
#include "wx/sizer.h"
#include "wx/log.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/stockitem.h"
-#include "wx/dcclient.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#include "wx/renderer.h"
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/log.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/settings.h"
#include "wx/generic/imaglist.h"
-#include "wx/dcclient.h"
#include "wx/generic/tabg.h"
// ----------------------------------------------------------------------------
/////////////////////////////////////////////////////////////////////////////
-// Name: sashwin.cpp
+// Name: src/generic/sashwin.cpp
// Purpose: wxSashWindow implementation. A sash window has an optional
// sash on each edge, allowing it to be dragged. An event
// is generated when the sash is released.
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
#if wxUSE_SASH
#include "wx/dialog.h"
#include "wx/frame.h"
#include "wx/settings.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/math.h"
#include <stdlib.h>
#include "wx/dcscreen.h"
-#include "wx/dcclient.h"
#include "wx/sashwin.h"
#include "wx/laywin.h"
EVT_MOUSE_EVENTS(wxSashWindow::OnMouseEvent)
#if defined( __WXMSW__ ) || defined( __WXMAC__)
EVT_SET_CURSOR(wxSashWindow::OnSetCursor)
-#endif // wxMSW
+#endif // __WXMSW__ || __WXMAC__
END_EVENT_TABLE()
//else: do nothing, in particular, don't call Skip()
}
-#endif // wxMSW
+#endif // __WXMSW__ || __WXMAC__
#endif // wxUSE_SASH
/////////////////////////////////////////////////////////////////////////////
-// Name: src/generic/scrolwin.cpp
+// Name: src/generic/scrlwing.cpp
// Purpose: wxScrolledWindow implementation
// Author: Julian Smart
// Modified by: Vadim Zeitlin on 31.08.00: wxScrollHelper allows to implement.
#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/panel.h"
+ #include "wx/dcclient.h"
#endif
-#include "wx/dcclient.h"
-
#if wxUSE_TIMER
-#include "wx/timer.h"
+ #include "wx/timer.h"
#endif
+
#include "wx/sizer.h"
#include "wx/recguard.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: splash.cpp
+// Name: src/generic/splash.cpp
// Purpose: wxSplashScreen class
// Author: Julian Smart
// Modified by:
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
#if wxUSE_SPLASH
#include <gtk/gtk.h>
#endif
-#ifndef WX_PRECOMP
-#include "wx/dcmemory.h"
-#include "wx/dcclient.h"
-#endif
-
#include "wx/splash.h"
+#ifndef WX_PRECOMP
+ #include "wx/dcmemory.h"
+ #include "wx/dcclient.h"
+#endif
/*
* wxSplashScreen
/////////////////////////////////////////////////////////////////////////////
-// Name: treectlg.cpp
+// Name: src/generic/treectlg.cpp
// Purpose: generic tree control implementation
// Author: Robert Roebling
// Created: 01/02/97
#if wxUSE_TREECTRL
-#include "wx/treebase.h"
#include "wx/treectrl.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/dcclient.h"
+#endif
+
#include "wx/generic/treectlg.h"
#include "wx/timer.h"
#include "wx/textctrl.h"
#include "wx/imaglist.h"
#include "wx/settings.h"
-#include "wx/dcclient.h"
#include "wx/renderer.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/stockitem.h"
-#include "wx/dcclient.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#include "wx/sizer.h"
m_treeview = gtk_tree_view_new();
gtk_container_add (GTK_CONTAINER (m_widget), m_treeview);
-
+
if (style & wxDV_MULTIPLE)
{
GtkTreeSelection *selection = gtk_tree_view_get_selection( GTK_TREE_VIEW(m_treeview) );
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
#include "wx/dialog.h"
#if wxUSE_STATUSBAR
#include "wx/statusbr.h"
#endif
-#include "wx/dcclient.h"
#include <glib.h>
#include "wx/gtk/private.h"
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
#include <gtk/gtk.h>
#include "wx/gtk/win_gtk.h"
-#include "wx/dcclient.h"
#include "wx/settings.h"
// RR: After a correction to the orientation of the sash
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/dialog.h"
#include "wx/control.h"
-#include "wx/dcclient.h"
#include "wx/gtk/private.h"
#include "wx/timer.h"
#include "wx/settings.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/frame.h"
+ #include "wx/dcclient.h"
#endif
-#include "wx/dcclient.h"
#include "wx/layout.h"
#include "wx/dialog.h"
#include "wx/msgdlg.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
#include "wx/dialog.h"
#if wxUSE_STATUSBAR
#include "wx/statusbr.h"
#endif
-#include "wx/dcclient.h"
#include <glib.h>
#include "wx/gtk1/private.h"
#ifndef WX_PRECOMP
#include "wx/window.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
#include <gtk/gtk.h>
#include "wx/gtk1/win_gtk.h"
-#include "wx/dcclient.h"
-
// RR: After a correction to the orientation of the sash
// this doesn't seem to be required anymore and it
// seems to confuse some themes so USE_ERASE_RECT=0
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/app.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/dialog.h"
#include "wx/control.h"
-#include "wx/dcclient.h"
#include "wx/gtk1/private.h"
#include "wx/timer.h"
#include "wx/settings.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/frame.h"
+ #include "wx/dcclient.h"
#endif
-#include "wx/dcclient.h"
#include "wx/layout.h"
#include "wx/dialog.h"
#include "wx/msgdlg.h"
#include "wx/app.h"
#include "wx/panel.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
-#include "wx/dcclient.h"
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/radiobox.h"
#endif
#include "wx/fontdlg.h"
-#include "wx/dcclient.h"
#if wxMAC_USE_EXPERIMENTAL_FONTDIALOG
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
#include "wx/statusbr.h"
#include "wx/toolbar.h"
#include "wx/menuitem.h"
#include "wx/menu.h"
-#include "wx/dcclient.h"
#include "wx/dialog.h"
#include "wx/settings.h"
#include "wx/dc.h"
#include "wx/bitmap.h"
#include "wx/settings.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/renderer.h"
#include "wx/toplevel.h"
-#include "wx/dcclient.h"
#include "wx/mac/uma.h"
}
}
}
-
/////////////////////////////////////////////////////////////////////////////
-// Name: statbmp.cpp
+// Name: src/mac/carbon/statbmp.cpp
// Purpose: wxStaticBitmap
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
#if wxUSE_STATBMP
#include "wx/statbmp.h"
-#include "wx/dcclient.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/dcclient.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
m_foregroundColour = parent->GetForegroundColour() ;
m_bitmap = bitmap;
- if ( id == -1 )
+ if ( id == wxID_ANY )
m_windowId = (int)NewControlId();
else
m_windowId = id;
bool ret = wxControl::Create( parent, id, pos, size, style , wxDefaultValidator , name );
SetBestSize( size ) ;
-
+
return ret;
}
Refresh() ;
}
-void wxStaticBitmap::OnPaint( wxPaintEvent& WXUNUSED(event) )
+void wxStaticBitmap::OnPaint( wxPaintEvent& WXUNUSED(event) )
{
wxPaintDC dc(this);
PrepareDC(dc);
return DoGetSizeFromClientSize( wxSize(m_bitmap.GetWidth(), m_bitmap.GetHeight()) );
// this is completely arbitrary
- return DoGetSizeFromClientSize( wxSize(16, 16) );
+ return DoGetSizeFromClientSize( wxSize(16, 16) );
}
#endif
-
#ifndef WX_PRECOMP
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
-#include "wx/dcclient.h"
-
#include "wx/mac/private.h"
#include "wx/toplevel.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
#include "wx/notebook.h"
#include "wx/tabctrl.h"
-#include "wx/dcclient.h"
#include "wx/settings.h"
#include "wx/mac/uma.h"
#include "wx/panel.h"
#include "wx/frame.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/menu.h"
-#include "wx/dcclient.h"
#include "wx/layout.h"
#include "wx/dialog.h"
#include "wx/scrolbar.h"
#include "wx/app.h"
#include "wx/panel.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
-#include "wx/dcclient.h"
#include "wx/notebook.h"
#include "wx/tabctrl.h"
#include "wx/radiobox.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
#include "wx/statusbr.h"
#include "wx/toolbar.h"
#include "wx/menuitem.h"
#include "wx/menu.h"
-#include "wx/dcclient.h"
#include "wx/dialog.h"
#include "wx/settings.h"
#endif
#include "wx/statbmp.h"
-#include "wx/dcclient.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/dcclient.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
m_foregroundColour = parent->GetForegroundColour() ;
m_bitmap = bitmap;
- if ( id == -1 )
+ if ( id == wxID_ANY )
m_windowId = (int)NewControlId();
else
m_windowId = id;
#ifndef WX_PRECOMP
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
-#include "wx/dcclient.h"
-
BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric)
EVT_PAINT(wxStatusBarMac::OnPaint)
END_EVENT_TABLE()
#ifdef __WXMAC__
-#include "wx/mac/private.h"
+ #include "wx/mac/private.h"
#endif
// ============================================================================
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/notebook.h"
#include "wx/tabctrl.h"
-#include "wx/dcclient.h"
#include "wx/settings.h"
#include <stdio.h>
#include "wx/panel.h"
#include "wx/frame.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/menu.h"
-#include "wx/dcclient.h"
#include "wx/layout.h"
#include "wx/dialog.h"
#include "wx/listbox.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: dcclient.cpp
+// Name: src/mgl/dcclient.cpp
// Purpose:
// Author: Vaclav Slavik
// RCS-ID: $Id$
#pragma hdrstop
#endif
+#include "wx/dcclient.h"
+
#ifndef WX_PRECOMP
- #include "wx/dcclient.h"
#include "wx/window.h"
#endif
else
{
m_inPaintHandler = FALSE;
-
+
dc = new MGLDevCtx(MGL_wmBeginPaint(win->GetHandle()));
MGLRegion clip;
#include "wx/utils.h"
#include "wx/frame.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/menu.h"
-#include "wx/dcclient.h"
#include "wx/layout.h"
#include "wx/button.h"
#include "wx/settings.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/settings.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/textctrl.h"
#include "wx/imaglist.h"
#include "wx/listctrl.h"
-#include "wx/dcclient.h"
#include "wx/msw/private.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting
-#include "wx/dcclient.h"
#include "wx/timer.h"
#include "wx/dynlib.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/math.h" // log10 & pow
#include "wx/msw/private.h" // user info and wndproc setting/getting
-#include "wx/dcclient.h"
#include "wx/timer.h"
#include "wx/dynlib.h"
#include "wx/stopwatch.h"
#include "wx/log.h"
#include "wx/event.h"
#include "wx/app.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
#include "wx/imaglist.h"
#include "wx/control.h"
#include "wx/sysopt.h"
-#include "wx/dcclient.h"
#include "wx/dcmemory.h"
#include "wx/msw/private.h"
#pragma hdrstop
#endif
-#include "wx/dcclient.h"
+#ifndef WX_PRECOMP
+ #include "wx/dcclient.h"
+#endif
+
#include "wx/math.h"
// I don't know why members of tagVARIANT aren't found when compiling
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/settings.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/textctrl.h"
#include "wx/imaglist.h"
#include "wx/listctrl.h"
-#include "wx/dcclient.h"
#include "wx/os2/private.h"
#ifndef WX_PRECOMP
#include "wx/icon.h"
#include "wx/window.h"
+ #include "wx/dcclient.h"
#endif
-#include "wx/dcclient.h"
#include "wx/os2/private.h"
#include <stdio.h>
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/settings.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/textctrl.h"
#include "wx/imaglist.h"
#include "wx/listctrl.h"
-#include "wx/dcclient.h"
// ----------------------------------------------------------------------------
// events
}
#endif // wxUSE_LISTCTRL
-
#include "wx/accel.h"
#include "wx/log.h"
#include "wx/frame.h"
+ #include "wx/dcclient.h"
#endif // WX_PRECOMP
#include "wx/popupwin.h"
#include "wx/evtloop.h"
-#include "wx/dcclient.h"
#include "wx/univ/renderer.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/frame.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/bitmap.h"
#include "wx/statbmp.h"
#include "wx/sizer.h"
-#include "wx/dcclient.h"
#include "wx/image.h"
#ifdef __VMS
#include "wx/log.h"
#include "wx/utils.h"
#include "wx/panel.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/settings.h"
#include "wx/clipbrd.h"
#include "wx/tokenzr.h"
-#include "wx/dcclient.h"
#include "wx/univ/inphand.h"
#include "wx/univ/renderer.h"
#include "wx/panel.h"
#include "wx/frame.h"
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/menu.h"
-#include "wx/dcclient.h"
#include "wx/layout.h"
#include "wx/dialog.h"
#include "wx/listbox.h"