parent
5551932c25
commit
d639e4ffce
@ -76,7 +76,7 @@ public:
|
||||
virtual int GetBase() const wxOVERRIDE { return m_base; }
|
||||
virtual bool SetBase(int base) wxOVERRIDE;
|
||||
virtual void SetValue(const wxString & val);
|
||||
virtual void SetValue(int val) { wxSpinCtrlQt::SetValue(val); }
|
||||
virtual void SetValue(int val) { wxSpinCtrlQt<int,QSpinBox>::SetValue(val); }
|
||||
|
||||
private:
|
||||
// Common part of all ctors.
|
||||
@ -118,7 +118,7 @@ public:
|
||||
virtual int GetBase() const wxOVERRIDE { return 10; }
|
||||
virtual bool SetBase(int WXUNUSED(base)) wxOVERRIDE { return false; }
|
||||
virtual void SetValue(const wxString & val);
|
||||
virtual void SetValue(double val) { wxSpinCtrlQt::SetValue(val); }
|
||||
virtual void SetValue(double val) { wxSpinCtrlQt<double,QDoubleSpinBox>::SetValue(val); }
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS( wxSpinCtrlDouble );
|
||||
|
@ -25,6 +25,7 @@
|
||||
#define cairo_public
|
||||
|
||||
#include <cairo.h>
|
||||
#include <float.h>
|
||||
|
||||
bool wxCairoInit();
|
||||
|
||||
|
@ -15,7 +15,7 @@ class wxQtColorDialog : public wxQtEventSignalHandler< QColorDialog, wxDialog >
|
||||
{
|
||||
public:
|
||||
wxQtColorDialog( wxWindow *parent, wxDialog *handler)
|
||||
: wxQtEventSignalHandler(parent, handler)
|
||||
: wxQtEventSignalHandler<QColorDialog,wxDialog>(parent, handler)
|
||||
{ }
|
||||
};
|
||||
|
||||
|
@ -23,7 +23,7 @@ public:
|
||||
wxQtFileDialog( wxWindow *parent, wxDialog *handler,
|
||||
const wxString& message, const wxString& defaultDir,
|
||||
const wxString& defaultFile, const wxString& wildCard, long style )
|
||||
: wxQtEventSignalHandler(parent, handler)
|
||||
: wxQtEventSignalHandler<QFileDialog,wxDialog>(parent, handler)
|
||||
{
|
||||
setLabelText(QFileDialog::LookIn, wxQtConvertString(message));
|
||||
setDirectory(wxQtConvertString(defaultDir));
|
||||
|
@ -15,7 +15,7 @@ class wxQtFontDialog : public wxQtEventSignalHandler< QFontDialog, wxFontDialog
|
||||
{
|
||||
public:
|
||||
wxQtFontDialog( wxWindow *parent, wxFontDialog *handler)
|
||||
: wxQtEventSignalHandler(parent, handler)
|
||||
: wxQtEventSignalHandler<QFontDialog,wxFontDialog>(parent, handler)
|
||||
{
|
||||
connect(this, &QFontDialog::currentFontChanged, this, &wxQtFontDialog::updateFont);
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ class wxQtGLWidget : public wxQtEventSignalHandler< QGLWidget, wxGLCanvas >
|
||||
{
|
||||
public:
|
||||
wxQtGLWidget(wxWindow *parent, wxGLCanvas *handler, QGLFormat format)
|
||||
: wxQtEventSignalHandler(parent, handler)
|
||||
: wxQtEventSignalHandler<QGLWidget,wxGLCanvas>(parent, handler)
|
||||
{
|
||||
setFormat(format);
|
||||
setAutoBufferSwap( false );
|
||||
|
Loading…
Reference in New Issue
Block a user