Add missing RTTI to some wxQT classes
This commit is contained in:
@@ -41,6 +41,9 @@ public:
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxBrush);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_BRUSH_H_
|
||||
|
@@ -27,6 +27,8 @@ private:
|
||||
QColorDialog *GetQColorDialog() const;
|
||||
|
||||
wxColourData m_data;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxColourDialog);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_COLORDLG_H_
|
||||
|
@@ -129,6 +129,9 @@ private:
|
||||
QColor *m_qtPenColor;
|
||||
QColor *m_qtBrushColor;
|
||||
void ApplyRasterColourOp();
|
||||
|
||||
wxDECLARE_CLASS(wxQtDCImpl);
|
||||
wxDECLARE_NO_COPY_CLASS(wxQtDCImpl);
|
||||
|
||||
};
|
||||
|
||||
|
@@ -20,6 +20,10 @@ public:
|
||||
|
||||
protected:
|
||||
wxWindow *m_window;
|
||||
|
||||
private:
|
||||
wxDECLARE_CLASS(wxWindowDCImpl);
|
||||
wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl);
|
||||
};
|
||||
|
||||
|
||||
@@ -30,6 +34,9 @@ public:
|
||||
wxClientDCImpl( wxDC *owner, wxWindow *win );
|
||||
|
||||
~wxClientDCImpl();
|
||||
private:
|
||||
wxDECLARE_CLASS(wxClientDCImpl);
|
||||
wxDECLARE_NO_COPY_CLASS(wxClientDCImpl);
|
||||
};
|
||||
|
||||
|
||||
@@ -38,6 +45,9 @@ class WXDLLIMPEXP_CORE wxPaintDCImpl : public wxWindowDCImpl
|
||||
public:
|
||||
wxPaintDCImpl( wxDC *owner );
|
||||
wxPaintDCImpl( wxDC *owner, wxWindow *win );
|
||||
private:
|
||||
wxDECLARE_CLASS(wxPaintDCImpl);
|
||||
wxDECLARE_NO_COPY_CLASS(wxPaintDCImpl);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_DCCLIENT_H_
|
||||
|
@@ -26,6 +26,9 @@ public:
|
||||
|
||||
private:
|
||||
wxBitmap m_selected;
|
||||
|
||||
DECLARE_CLASS(wxMemoryDCImpl);
|
||||
DECLARE_NO_COPY_CLASS(wxMemoryDCImpl);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_DCMEMORY_H_
|
||||
|
@@ -98,9 +98,9 @@ public:
|
||||
wxCoord xoffset, wxCoord yoffset,
|
||||
wxPolygonFillMode fillStyle = wxODDEVEN_RULE);
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
wxDECLARE_CLASS(wxPrinterDCImpl);
|
||||
wxDECLARE_NO_COPY_CLASS(wxPrinterDCImpl);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_DCPRINT_H_
|
||||
|
@@ -65,6 +65,8 @@ public:
|
||||
const wxString& name = wxFrameNameStr);
|
||||
|
||||
virtual void Activate();
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxMDIChildFrame);
|
||||
};
|
||||
|
||||
|
||||
@@ -75,6 +77,7 @@ public:
|
||||
wxMDIClientWindow();
|
||||
|
||||
virtual bool CreateClient(wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL);
|
||||
wxDECLARE_DYNAMIC_CLASS(wxMDIClientWindow);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_MDI_H_
|
||||
|
@@ -23,6 +23,9 @@ public:
|
||||
|
||||
// Reimplemented to translate return codes from Qt to wx
|
||||
virtual int ShowModal();
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxMessageDialog);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_MSGDLG_H_
|
||||
|
@@ -23,6 +23,9 @@ protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPalette);
|
||||
|
||||
};
|
||||
|
||||
#endif // _WX_QT_PALETTE_H_
|
||||
|
@@ -49,6 +49,9 @@ public:
|
||||
protected:
|
||||
virtual wxGDIRefData *CreateGDIRefData() const;
|
||||
virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxPen);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_PEN_H_
|
||||
|
@@ -47,6 +47,9 @@ protected:
|
||||
virtual bool DoIntersect(const wxRegion& region);
|
||||
virtual bool DoSubtract(const wxRegion& region);
|
||||
virtual bool DoXor(const wxRegion& region);
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxRegion);
|
||||
};
|
||||
|
||||
|
||||
@@ -81,6 +84,8 @@ public:
|
||||
private:
|
||||
QVector < QRect > *m_qtRects;
|
||||
int m_pos;
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxRegionIterator);
|
||||
};
|
||||
|
||||
#endif // _WX_QT_REGION_H_
|
||||
|
@@ -41,8 +41,6 @@ protected:
|
||||
virtual void DoSetValue(const wxString& value, int flags=0);
|
||||
|
||||
virtual wxWindow *GetEditableWindow();
|
||||
|
||||
private:
|
||||
};
|
||||
|
||||
#endif // _WX_QT_TEXTENTRY_H_
|
||||
|
@@ -72,6 +72,7 @@ public:
|
||||
virtual QWidget *GetHandle() const;
|
||||
|
||||
private:
|
||||
wxDECLARE_DYNAMIC_CLASS(wxToggleButton);
|
||||
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user