Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba 2005-02-10 19:22:20 +00:00
parent 0966aee3d9
commit 8b523dc546
5 changed files with 41 additions and 41 deletions

View File

@ -362,6 +362,7 @@ MMBoardVideoFile::MMBoardVideoFile(const wxString& filename)
// deliver "digitalv.h" required in this feature
m_video_driver = new wxVideoWindows(filename);
#else
wxUnusedVar(filename);
m_video_driver = NULL;
SetError(MMBoard_UnknownFile);
#endif

View File

@ -1774,7 +1774,7 @@ wxShapeRegion::wxShapeRegion()
m_actualPenObject = NULL;
}
wxShapeRegion::wxShapeRegion(wxShapeRegion& region)
wxShapeRegion::wxShapeRegion(wxShapeRegion& region):wxObject()
{
m_regionText = region.m_regionText;
m_regionName = region.m_regionName;

View File

@ -1363,7 +1363,7 @@ wxPseudoMetaFile::wxPseudoMetaFile()
m_outlineOp = -1;
}
wxPseudoMetaFile::wxPseudoMetaFile(wxPseudoMetaFile& mf)
wxPseudoMetaFile::wxPseudoMetaFile(wxPseudoMetaFile& mf):wxObject()
{
mf.Copy(*this);
}

View File

@ -2355,7 +2355,7 @@ wxArrowHead::wxArrowHead(WXTYPE type, int end, double size, double dist, const w
m_id = wxNewId();
}
wxArrowHead::wxArrowHead(wxArrowHead& toCopy)
wxArrowHead::wxArrowHead(wxArrowHead& toCopy):wxObject()
{
m_arrowType = toCopy.m_arrowType; m_arrowEnd = toCopy.GetArrowEnd();
m_arrowSize = toCopy.m_arrowSize;

View File

@ -842,7 +842,7 @@ void rc2xml::ParseListBox(wxString varname)
CONTROL "",IDC_RICHEDIT1,"RICHEDIT",ES_AUTOHSCROLL | WS_BORDER |
WS_TABSTOP,103,110,40,14
*/
void rc2xml::ParseRichEdit(wxString label, wxString varname)
void rc2xml::ParseRichEdit(wxString WXUNUSED(label), wxString varname)
{
wxString token;
//while (ReadOrs(token));
@ -1013,7 +1013,7 @@ void rc2xml::WriteToolButton(wxString name,int index, int width, int height, wxB
little.SaveFile(m_targetpath+name,wxBITMAP_TYPE_BMP);
}
void rc2xml::ParseStringTable(wxString varname)
void rc2xml::ParseStringTable(wxString WXUNUSED(varname))
{
wxString token;
token=GetToken();
@ -1029,7 +1029,6 @@ void rc2xml::ParseStringTable(wxString varname)
m_stringtable->Append(token,msg);
token=GetToken();
}
}
bool rc2xml::LookUpString(wxString strid,wxString & st)