Make wxGnomePrintModule public so that wxGtkPrintModule knows about it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,11 +18,27 @@
|
|||||||
#include "wx/print.h"
|
#include "wx/print.h"
|
||||||
#include "wx/printdlg.h"
|
#include "wx/printdlg.h"
|
||||||
#include "wx/dc.h"
|
#include "wx/dc.h"
|
||||||
|
#include "wx/module.h"
|
||||||
|
|
||||||
typedef struct _GnomePrintJob GnomePrintJob;
|
typedef struct _GnomePrintJob GnomePrintJob;
|
||||||
typedef struct _GnomePrintContext GnomePrintContext;
|
typedef struct _GnomePrintContext GnomePrintContext;
|
||||||
typedef struct _GnomePrintConfig GnomePrintConfig;
|
typedef struct _GnomePrintConfig GnomePrintConfig;
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// wxGnomePrintModule
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
class wxGnomePrintModule: public wxModule
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
wxGnomePrintModule() {}
|
||||||
|
bool OnInit();
|
||||||
|
void OnExit();
|
||||||
|
|
||||||
|
private:
|
||||||
|
DECLARE_DYNAMIC_CLASS(wxGnomePrintModule)
|
||||||
|
};
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
// wxGnomePrintNativeData
|
// wxGnomePrintNativeData
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
@@ -1972,17 +1972,9 @@ int wxGnomePrintDC::GetResolution()
|
|||||||
return 72;
|
return 72;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
class wxGnomePrintModule: public wxModule
|
// wxGnomePrintModule
|
||||||
{
|
// ----------------------------------------------------------------------------
|
||||||
public:
|
|
||||||
wxGnomePrintModule() {}
|
|
||||||
bool OnInit();
|
|
||||||
void OnExit();
|
|
||||||
|
|
||||||
private:
|
|
||||||
DECLARE_DYNAMIC_CLASS(wxGnomePrintModule)
|
|
||||||
};
|
|
||||||
|
|
||||||
bool wxGnomePrintModule::OnInit()
|
bool wxGnomePrintModule::OnInit()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user