Change {DECLARE,IMPLEMENT}_*CLASS and {DECLARE,BEGIN,END}_EVENT_TABLE
occurrences to use the wx-prefixed version of the macros.
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			865 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			865 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// Name:        wx/qt/fontdlg.h
 | 
						|
// Author:      Peter Most
 | 
						|
// Copyright:   (c) Peter Most
 | 
						|
// Licence:     wxWindows licence
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
 | 
						|
#ifndef _WX_QT_FONTDLG_H_
 | 
						|
#define _WX_QT_FONTDLG_H_
 | 
						|
 | 
						|
#include <QtWidgets/QFontDialog>
 | 
						|
 | 
						|
class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
 | 
						|
{
 | 
						|
public:
 | 
						|
    wxFontDialog() { }
 | 
						|
    wxFontDialog(wxWindow *parent) { Create(parent); }
 | 
						|
    wxFontDialog(wxWindow *parent, const wxFontData& data) { Create(parent, data); }
 | 
						|
    
 | 
						|
    virtual QFontDialog *GetHandle() const { return static_cast<QFontDialog *>(m_qtWindow); }
 | 
						|
 | 
						|
protected:
 | 
						|
    bool DoCreate(wxWindow *parent);
 | 
						|
    
 | 
						|
private:
 | 
						|
 | 
						|
    wxFontData m_data;
 | 
						|
 | 
						|
    wxDECLARE_DYNAMIC_CLASS(wxFontDialog);
 | 
						|
};
 | 
						|
 | 
						|
#endif // _WX_QT_FONTDLG_H_
 |