#include "wx/panel.h"
#include "wx/toplevel.h"
#include "wx/frame.h"
+#include "wx/gdicmn.h"
#include "wx/region.h"
#include "wx/bitmap.h"
#include "wx/colour.h"
#include "wx/colour.h"
#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
#endif //WX_PRECOMP
-#include "wx/gdicmn.h"
-
#include "wx/cocoa/autorelease.h"
#import <AppKit/NSColor.h>
#ifndef WX_PRECOMP
#include "wx/dynarray.h"
#include "wx/string.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/display_impl.h"
-#include "wx/gdicmn.h"
#import <Foundation/Foundation.h>
#ifndef WX_PRECOMP
#include "wx/string.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/encinfo.h"
IMPLEMENT_DYNAMIC_CLASS(wxFont, wxGDIObject)
#ifndef WX_PRECOMP
#include "wx/utils.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include "wx/cocoa/autorelease.h"
#import <AppKit/NSColor.h>
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/log.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/prntbase.h"
#include "wx/printdlg.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
#include "wx/utils.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
// ============================================================================
// wxString <-> wxColour conversions
#include "wx/display.h"
#include "wx/display_impl.h"
#include "wx/module.h"
-#include "wx/gdicmn.h" // for wxDisplaySize()
#if wxUSE_DISPLAY
// the point is outside of the screen
return wxNOT_FOUND;
}
-
#include "wx/dcmemory.h"
#include "wx/pen.h"
#include "wx/settings.h"
+ #include "wx/gdicmn.h"
#endif //WX_PRECOMP
-#include "wx/gdicmn.h"
-
/*
* wxEffects: various 3D effects
*/
#include "wx/intl.h"
#include "wx/dcscreen.h"
#include "wx/log.h"
+ #include "wx/gdicmn.h"
#endif // WX_PRECOMP
-#include "wx/gdicmn.h"
-
#if defined(__WXMSW__)
#include "wx/msw/private.h" // includes windows.h for LOGFONT
#include "wx/msw/winundef.h"
if ( fontInfo )
{
fontDesc = fontInfo->ToString();
- wxASSERT_MSG(!fontDesc.IsEmpty(), wxT("This should be a non-empty string!"));
+ wxASSERT_MSG(!fontDesc.empty(), wxT("This should be a non-empty string!"));
}
else
{
if ( fontInfo )
{
fontDesc = fontInfo->ToUserString();
- wxASSERT_MSG(!fontDesc.IsEmpty(), wxT("This should be a non-empty string!"));
+ wxASSERT_MSG(!fontDesc.empty(), wxT("This should be a non-empty string!"));
}
else
{
#include "wx/layout.h"
#include "wx/sizer.h"
#include "wx/textdlg.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/module.h"
#include "wx/filefn.h"
-#include "wx/gdicmn.h"
#include "wx/imaglist.h"
#include "wx/tokenzr.h"
#include "wx/dir.h"
#include "wx/string.h"
#include "wx/dc.h"
#include "wx/settings.h"
+ #include "wx/gdicmn.h"
#endif //WX_PRECOMP
-#include "wx/gdicmn.h"
-
#include "wx/splitter.h"
#include "wx/dcmirror.h"
#include "wx/module.h"
#include "wx/msgdlg.h"
#include "wx/memory.h"
#include "wx/font.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/file.h"
#include "wx/filename.h"
#include "wx/module.h"
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/window.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include "wx/gtk/private.h"
#include <gdk/gdkprivate.h>
#include "wx/utils.h"
#include "wx/settings.h"
#include "wx/cmndata.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/fontutil.h"
-#include "wx/gdicmn.h"
#include "wx/tokenzr.h"
#include <strings.h>
#include "wx/msgdlg.h"
#include "wx/memory.h"
#include "wx/font.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/file.h"
#include "wx/filename.h"
#include "wx/module.h"
#include "wx/colour.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/gtk1/private.h"
#include <gdk/gdk.h>
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/window.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include "wx/gtk1/private.h"
#include <gdk/gdkprivate.h>
/////////////////////////////////////////////////////////////////////////////
-// Name: src/gtk/font.cpp
+// Name: src/gtk1/font.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
#include "wx/log.h"
#include "wx/settings.h"
#include "wx/cmndata.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/fontutil.h"
#include "wx/utils.h"
-#include "wx/gdicmn.h"
#include "wx/tokenzr.h"
#include <strings.h>
#include "wx/msgdlg.h"
#include "wx/textctrl.h"
#include "wx/memory.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/module.h"
#include "wx/tooltip.h"
#include "wx/docview.h"
#include "wx/colour.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
#include "wx/mac/private.h"
#include "wx/dynarray.h"
#include "wx/log.h"
#include "wx/string.h"
+ #include "wx/gdicmn.h"
#endif
#ifdef __DARWIN__
#endif
#include "wx/display_impl.h"
-#include "wx/gdicmn.h"
// ----------------------------------------------------------------------------
// display classes implementation
#include "wx/app.h"
#include "wx/window.h"
#include "wx/toplevel.h"
+ #include "wx/gdicmn.h"
#endif // WX_PRECOMP
-#include "wx/gdicmn.h"
#include "wx/mac/private.h"
#ifndef __DARWIN__
#include "wx/string.h"
#include "wx/utils.h"
#include "wx/intl.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/fontutil.h"
-#include "wx/gdicmn.h"
#include "wx/fontutil.h"
#include "wx/mac/private.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: gdiobj.cpp
+// Name: src/mac/carbon/gdiobj.cpp
// Purpose: wxGDIObject class
// 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"
#include "wx/gdiobj.h"
-#include "wx/gdicmn.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/mac/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
#include "wx/region.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/mac/uma.h"
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
#ifndef WX_PRECOMP
#include "wx/utils.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include "wx/mac/uma.h"
// ----------------------------------------------------------------------------
#include "wx/msgdlg.h"
#include "wx/textctrl.h"
#include "wx/memory.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/module.h"
#include "wx/tooltip.h"
#include "wx/docview.h"
#include "wx/colour.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
#include "wx/dynarray.h"
#include "wx/log.h"
#include "wx/string.h"
+ #include "wx/gdicmn.h"
#endif
#ifdef __DARWIN__
#endif
#include "wx/display_impl.h"
-#include "wx/gdicmn.h"
// ----------------------------------------------------------------------------
// display implementation classes
#include "wx/app.h"
#include "wx/window.h"
#include "wx/toplevel.h"
+ #include "wx/gdicmn.h"
#endif // WX_PRECOMP
-#include "wx/gdicmn.h"
#include "wx/mac/private.h"
// ----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/string.h"
#include "wx/utils.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/fontutil.h"
-#include "wx/gdicmn.h"
#include "wx/fontutil.h"
/////////////////////////////////////////////////////////////////////////////
-// Name: gdiobj.cpp
+// Name: src/mac/classic/gdiobj.cpp
// Purpose: wxGDIObject class
// 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"
+
#include "wx/gdiobj.h"
-#include "wx/gdicmn.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/mac/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
#include "wx/region.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/mac/uma.h"
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
#ifndef WX_PRECOMP
#include "wx/utils.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include "wx/mac/uma.h"
// ----------------------------------------------------------------------------
#include "wx/colour.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxColour, wxObject)
#include "wx/utils.h"
#include "wx/settings.h"
#include "wx/cmndata.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/fontutil.h"
-#include "wx/gdicmn.h"
#include "wx/tokenzr.h"
#include "wx/mgl/private.h"
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
#include "wx/region.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/thread.h"
#include "wx/module.h"
#ifndef WX_PRECOMP
#include "wx/colour.h"
#include "wx/font.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/module.h"
// ----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#ifdef __VMS__
#pragma message disable nosimpint
#endif
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/window.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include <X11/Xlib.h>
// ----------------------------------------------------------------------------
#include "wx/string.h"
#include "wx/utils.h" // for wxGetDisplay()
#include "wx/settings.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/fontutil.h" // for wxNativeFontInfo
#include "wx/tokenzr.h"
#include "wx/motif/private.h"
int direction, ascent2, descent2;
XCharStruct overall;
- int slen = str.Len();
+ int slen = str.length();
XTextExtents((XFontStruct*) pFontStruct, (char*) str.c_str(), slen,
&direction, &ascent2, &descent2, &overall);
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#ifdef __VMS__
#pragma message disable nosimpint
#endif
#include "wx/colour.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/msw/private.h"
#include <string.h>
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
#include "wx/region.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/msw/private.h"
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
#include "wx/colour.h"
#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#define INCL_GPI
#define INCL_PM
#include<os2.h>
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/window.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#define INCL_PM
#define INCL_DOS
#include <os2.h>
#ifndef WX_PRECOMP
#include "wx/font.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxGDIObject, wxObject)
class wxStockGDIPM: public wxStockGDI
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/window.h"
+ #include "wx/gdicmn.h"
#endif
#include "wx/os2/region.h"
-#include "wx/gdicmn.h"
#include "wx/os2/private.h"
#include "wx/colour.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
#include <string.h>
#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
#include "wx/region.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator, wxObject)
#include "wx/dialog.h"
#include "wx/timer.h"
#include "wx/memory.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/module.h"
#include "wx/evtloop.h"
#include "wx/filename.h"
#ifndef WX_PRECOMP
#include "wx/app.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include "wx/x11/private.h"
//-----------------------------------------------------------------------------
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/icon.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include "wx/x11/private.h"
#if !wxUSE_NANOX
#include "wx/app.h"
#include "wx/utils.h"
#include "wx/window.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#include <X11/Xlib.h>
// ----------------------------------------------------------------------------
#include "wx/string.h"
#include "wx/utils.h" // for wxGetDisplay()
#include "wx/settings.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
#include "wx/fontutil.h" // for wxNativeFontInfo
#include "wx/tokenzr.h"
#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/gdicmn.h"
#endif
-#include "wx/gdicmn.h"
-
#ifdef __VMS__
#pragma message disable nosimpint
#endif
#include "wx/settings.h"
-#include "wx/gdicmn.h"
+#ifndef WX_PRECOMP
+ #include "wx/gdicmn.h"
+#endif
+
#include "wx/x11/private.h"
wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)