Move wxColourData and wxFontData into separate files.

This eliminates a linking dependency that would drag in the printing
code for any program that used wxColourDialog or wxFontDialog (which
is currently all of them, due to more link dependencies...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett 2011-01-07 05:26:57 +00:00
parent 807902f119
commit 081d8d96db
52 changed files with 668 additions and 322 deletions

View file

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wx/colrdlgg.h
// Name: wx/colordlg.h
// Purpose: wxColourDialog
// Author: Vadim Zeitiln
// Modified by:
@ -16,6 +16,8 @@
#if wxUSE_COLOURDLG
#include "wx/colourdata.h"
#if defined(__WXMSW__) && !defined(__WXUNIVERSAL__)
#include "wx/msw/colordlg.h"
#elif defined(__WXMAC__) && !defined(__WXUNIVERSAL__)
@ -30,8 +32,6 @@
#define wxColourDialog wxGenericColourDialog
#endif
class WXDLLIMPEXP_FWD_CORE wxColourData;
// get the colour from user and return it
WXDLLIMPEXP_CORE wxColour wxGetColourFromUser(wxWindow *parent = NULL,
const wxColour& colInit = wxNullColour,