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:
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "wx/button.h"
|
||||
#include "wx/bmpbuttn.h"
|
||||
#include "wx/cmndata.h"
|
||||
#include "wx/colourdata.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxGenericColourButton: a button which brings up a wxColourDialog
|
||||
|
@@ -9,13 +9,11 @@
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef __COLORDLGH_G__
|
||||
#define __COLORDLGH_G__
|
||||
#ifndef _WX_COLORDLGG_H_
|
||||
#define _WX_COLORDLGG_H_
|
||||
|
||||
#include "wx/defs.h"
|
||||
#include "wx/gdicmn.h"
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
#define wxID_ADD_CUSTOM 3000
|
||||
|
||||
@@ -116,4 +114,4 @@ protected:
|
||||
DECLARE_DYNAMIC_CLASS(wxGenericColourDialog)
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // _WX_COLORDLGG_H_
|
||||
|
@@ -12,11 +12,8 @@
|
||||
#ifndef _WX_GENERIC_FONTDLGG_H
|
||||
#define _WX_GENERIC_FONTDLGG_H
|
||||
|
||||
#include "wx/defs.h"
|
||||
#include "wx/gdicmn.h"
|
||||
#include "wx/font.h"
|
||||
#include "wx/dialog.h"
|
||||
#include "wx/cmndata.h"
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
#define USE_SPINCTRL_FOR_POINT_SIZE 1
|
||||
|
@@ -13,7 +13,7 @@
|
||||
#define _WX_FONTPICKER_H_
|
||||
|
||||
#include "wx/button.h"
|
||||
#include "wx/cmndata.h"
|
||||
#include "wx/fontdata.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxGenericFontButton: a button which brings up a wxFontDialog
|
||||
|
Reference in New Issue
Block a user