undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-22 00:24:07 +00:00
parent cd989b24ae
commit fc7a2a602b
130 changed files with 421 additions and 174 deletions

View File

@@ -131,7 +131,7 @@ protected:
wxString m_stringSelection;
private:
DECLARE_DYNAMIC_CLASS(wxSingleChoiceDialog)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxSingleChoiceDialog)
DECLARE_EVENT_TABLE()
};
@@ -173,7 +173,7 @@ protected:
wxArrayInt m_selections;
private:
DECLARE_DYNAMIC_CLASS(wxMultiChoiceDialog)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxMultiChoiceDialog)
};
// ----------------------------------------------------------------------------

View File

@@ -430,6 +430,8 @@ protected:
private:
size_t m_maxChars; // max number of chars allowed
wxString m_startValue;
DECLARE_NO_COPY_CLASS(wxGridCellTextEditor)
};
// the editor for numeric (long) data
@@ -475,6 +477,8 @@ private:
m_max;
long m_valueOld;
DECLARE_NO_COPY_CLASS(wxGridCellNumberEditor)
};
// the editor for floating point numbers (double) data
@@ -508,6 +512,8 @@ private:
int m_width,
m_precision;
double m_valueOld;
DECLARE_NO_COPY_CLASS(wxGridCellFloatEditor)
};
#endif // wxUSE_TEXTCTRL
@@ -518,6 +524,8 @@ private:
class WXDLLEXPORT wxGridCellBoolEditor : public wxGridCellEditor
{
public:
wxGridCellBoolEditor() { }
virtual void Create(wxWindow* parent,
wxWindowID id,
wxEvtHandler* evtHandler);
@@ -543,6 +551,8 @@ protected:
private:
bool m_startValue;
DECLARE_NO_COPY_CLASS(wxGridCellBoolEditor)
};
#endif // wxUSE_CHECKBOX
@@ -586,6 +596,8 @@ protected:
wxString m_startValue;
wxArrayString m_choices;
bool m_allowOthers;
DECLARE_NO_COPY_CLASS(wxGridCellChoiceEditor)
};
#endif // wxUSE_COMBOBOX
@@ -974,7 +986,7 @@ private:
wxArrayString m_rowLabels;
wxArrayString m_colLabels;
DECLARE_DYNAMIC_CLASS( wxGridStringTable )
DECLARE_DYNAMIC_CLASS_NO_COPY( wxGridStringTable )
};
@@ -1937,7 +1949,7 @@ protected:
bool m_shift;
bool m_alt;
DECLARE_DYNAMIC_CLASS(wxGridEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxGridEvent)
};
class WXDLLEXPORT wxGridSizeEvent : public wxNotifyEvent
@@ -1969,7 +1981,7 @@ protected:
bool m_shift;
bool m_alt;
DECLARE_DYNAMIC_CLASS(wxGridSizeEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxGridSizeEvent)
};
@@ -2016,7 +2028,7 @@ protected:
bool m_shift;
bool m_alt;
DECLARE_DYNAMIC_CLASS(wxGridRangeSelectEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxGridRangeSelectEvent)
};

View File

@@ -110,6 +110,8 @@ public:
private:
long int m_startint;
DECLARE_NO_COPY_CLASS(wxGridCellEnumEditor)
};
#endif // wxUSE_COMBOBOX
@@ -124,6 +126,8 @@ public:
virtual wxGridCellEditor *Clone() const
{ return new wxGridCellAutoWrapStringEditor; }
DECLARE_NO_COPY_CLASS(wxGridCellAutoWrapStringEditor)
};
class WXDLLEXPORT wxGridCellAutoWrapStringRenderer : public wxGridCellStringRenderer

View File

@@ -93,7 +93,7 @@ protected:
void Init();
private:
DECLARE_DYNAMIC_CLASS(wxPanel)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel)
DECLARE_EVENT_TABLE()
};

View File

@@ -94,7 +94,7 @@ protected:
#endif // __WXMSW__
private:
DECLARE_ABSTRACT_CLASS(wxGenericScrolledWindow)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxGenericScrolledWindow)
DECLARE_EVENT_TABLE()
};

View File

@@ -350,7 +350,7 @@ private:
} pt; // position of double click for DCLICK event
} m_data;
DECLARE_DYNAMIC_CLASS(wxSplitterEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxSplitterEvent)
};
typedef void (wxEvtHandler::*wxSplitterEventFunction)(wxSplitterEvent&);