Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
0966aee3d9
commit
8b523dc546
@ -362,6 +362,7 @@ MMBoardVideoFile::MMBoardVideoFile(const wxString& filename)
|
|||||||
// deliver "digitalv.h" required in this feature
|
// deliver "digitalv.h" required in this feature
|
||||||
m_video_driver = new wxVideoWindows(filename);
|
m_video_driver = new wxVideoWindows(filename);
|
||||||
#else
|
#else
|
||||||
|
wxUnusedVar(filename);
|
||||||
m_video_driver = NULL;
|
m_video_driver = NULL;
|
||||||
SetError(MMBoard_UnknownFile);
|
SetError(MMBoard_UnknownFile);
|
||||||
#endif
|
#endif
|
||||||
|
@ -1774,7 +1774,7 @@ wxShapeRegion::wxShapeRegion()
|
|||||||
m_actualPenObject = NULL;
|
m_actualPenObject = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxShapeRegion::wxShapeRegion(wxShapeRegion& region)
|
wxShapeRegion::wxShapeRegion(wxShapeRegion& region):wxObject()
|
||||||
{
|
{
|
||||||
m_regionText = region.m_regionText;
|
m_regionText = region.m_regionText;
|
||||||
m_regionName = region.m_regionName;
|
m_regionName = region.m_regionName;
|
||||||
|
@ -1363,7 +1363,7 @@ wxPseudoMetaFile::wxPseudoMetaFile()
|
|||||||
m_outlineOp = -1;
|
m_outlineOp = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxPseudoMetaFile::wxPseudoMetaFile(wxPseudoMetaFile& mf)
|
wxPseudoMetaFile::wxPseudoMetaFile(wxPseudoMetaFile& mf):wxObject()
|
||||||
{
|
{
|
||||||
mf.Copy(*this);
|
mf.Copy(*this);
|
||||||
}
|
}
|
||||||
|
@ -2355,7 +2355,7 @@ wxArrowHead::wxArrowHead(WXTYPE type, int end, double size, double dist, const w
|
|||||||
m_id = wxNewId();
|
m_id = wxNewId();
|
||||||
}
|
}
|
||||||
|
|
||||||
wxArrowHead::wxArrowHead(wxArrowHead& toCopy)
|
wxArrowHead::wxArrowHead(wxArrowHead& toCopy):wxObject()
|
||||||
{
|
{
|
||||||
m_arrowType = toCopy.m_arrowType; m_arrowEnd = toCopy.GetArrowEnd();
|
m_arrowType = toCopy.m_arrowType; m_arrowEnd = toCopy.GetArrowEnd();
|
||||||
m_arrowSize = toCopy.m_arrowSize;
|
m_arrowSize = toCopy.m_arrowSize;
|
||||||
|
@ -842,7 +842,7 @@ void rc2xml::ParseListBox(wxString varname)
|
|||||||
CONTROL "",IDC_RICHEDIT1,"RICHEDIT",ES_AUTOHSCROLL | WS_BORDER |
|
CONTROL "",IDC_RICHEDIT1,"RICHEDIT",ES_AUTOHSCROLL | WS_BORDER |
|
||||||
WS_TABSTOP,103,110,40,14
|
WS_TABSTOP,103,110,40,14
|
||||||
*/
|
*/
|
||||||
void rc2xml::ParseRichEdit(wxString label, wxString varname)
|
void rc2xml::ParseRichEdit(wxString WXUNUSED(label), wxString varname)
|
||||||
{
|
{
|
||||||
wxString token;
|
wxString token;
|
||||||
//while (ReadOrs(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);
|
little.SaveFile(m_targetpath+name,wxBITMAP_TYPE_BMP);
|
||||||
}
|
}
|
||||||
|
|
||||||
void rc2xml::ParseStringTable(wxString varname)
|
void rc2xml::ParseStringTable(wxString WXUNUSED(varname))
|
||||||
{
|
{
|
||||||
wxString token;
|
wxString token;
|
||||||
token=GetToken();
|
token=GetToken();
|
||||||
@ -1023,13 +1023,12 @@ void rc2xml::ParseStringTable(wxString varname)
|
|||||||
wxString *msg;
|
wxString *msg;
|
||||||
|
|
||||||
while ((token!=_T("END"))&(token!=_T("}")))
|
while ((token!=_T("END"))&(token!=_T("}")))
|
||||||
{
|
{
|
||||||
msg=new wxString;
|
msg=new wxString;
|
||||||
*msg=GetStringQuote();
|
*msg=GetStringQuote();
|
||||||
m_stringtable->Append(token,msg);
|
m_stringtable->Append(token,msg);
|
||||||
token=GetToken();
|
token=GetToken();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool rc2xml::LookUpString(wxString strid,wxString & st)
|
bool rc2xml::LookUpString(wxString strid,wxString & st)
|
||||||
|
Loading…
Reference in New Issue
Block a user