Removed warnings
Added GetCount() to wxList and wxDaynArray git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,7 +95,7 @@ install::
|
||||
@cd $(WXBASEDIR)/lib/$(OS) ; \
|
||||
rm -f $(libdir)/$(STATIC_LIBRARY) ; \
|
||||
$(INSTALL_DATA) $(STATIC_LIBRARY) $(libdir)/$(STATIC_LIBRARY)
|
||||
@if test $(WXBASEDIR)/lib/$(OS)/$(SHARED_LIBRARY) ; then \
|
||||
@if test -f $(WXBASEDIR)/lib/$(OS)/$(SHARED_LIBRARY) ; then \
|
||||
echo " Copying shared library" ; \
|
||||
cd $(WXBASEDIR)/lib/$(OS) ; \
|
||||
rm -f $(libdir)/lib$(LIB_TARGET).so* ; \
|
||||
|
@@ -71,7 +71,7 @@ bool wxConfigBase::ms_bAutoCreate = TRUE;
|
||||
// Not all args will always be used by derived classes, but
|
||||
// including them all in each class ensures compatibility.
|
||||
wxConfigBase::wxConfigBase(const wxString& appName, const wxString& vendorName,
|
||||
const wxString& localFilename, const wxString& globalFilename, long style):
|
||||
const wxString& WXUNUSED(localFilename), const wxString& WXUNUSED(globalFilename), long style):
|
||||
m_appName(appName), m_vendorName(vendorName), m_style(style)
|
||||
{
|
||||
m_bExpandEnvVars = TRUE; m_bRecordDefaults = FALSE;
|
||||
|
@@ -132,7 +132,7 @@ bool wxFile::Exists(const char *name)
|
||||
|
||||
bool wxFile::Access(const char *name, OpenMode mode)
|
||||
{
|
||||
int how;
|
||||
int how = 0;
|
||||
|
||||
switch ( mode ) {
|
||||
case read:
|
||||
|
@@ -772,11 +772,11 @@ wxFrame *wxLogWindow::GetFrame() const
|
||||
return m_pLogFrame;
|
||||
}
|
||||
|
||||
void wxLogWindow::OnFrameCreate(wxFrame *frame)
|
||||
void wxLogWindow::OnFrameCreate(wxFrame *WXUNUSED(frame))
|
||||
{
|
||||
}
|
||||
|
||||
void wxLogWindow::OnFrameDelete(wxFrame *frame)
|
||||
void wxLogWindow::OnFrameDelete(wxFrame *WXUNUSED(frame))
|
||||
{
|
||||
m_pLogFrame = (wxLogFrame *) NULL;
|
||||
}
|
||||
|
@@ -614,7 +614,7 @@ bool wxRecordSet::GetResultSet(void)
|
||||
field1->SetType(type);
|
||||
field1->SetSize(len);
|
||||
|
||||
SQLBindCol(hStmt, i+1, SQL_C_BINARY, field1->GetData(), field1->GetSize(), &trash);
|
||||
SQLBindCol(hStmt, i+1, SQL_C_BINARY, (unsigned char*)field1->GetData(), field1->GetSize(), &trash);
|
||||
}
|
||||
|
||||
switch (type) {
|
||||
|
@@ -2050,11 +2050,15 @@ wxDialog(parent, -1, title, pos, size, style)
|
||||
int yPos = 40;
|
||||
|
||||
#if defined(__WXGTK__) || defined (__WXMOTIF__)
|
||||
(void) new wxStaticText(this, -1, _("Printer Command: "), wxPoint(5, yPos));
|
||||
wxTextCtrl *text_prt = new wxTextCtrl(this, wxID_PRINTER_COMMAND, wxThePrintSetupData->GetPrinterCommand(), wxPoint(100, yPos), wxSize(100, -1));
|
||||
(void) new wxStaticText( this, -1, _("Printer Command: "),
|
||||
wxPoint(5, yPos) );
|
||||
(void) new wxTextCtrl( this, wxID_PRINTER_COMMAND, wxThePrintSetupData->GetPrinterCommand(),
|
||||
wxPoint(100, yPos), wxSize(100, -1) );
|
||||
|
||||
(void) new wxStaticText(this, -1, _("Printer Options: "), wxPoint(210, yPos));
|
||||
wxTextCtrl *text0 = new wxTextCtrl(this, wxID_PRINTER_OPTIONS, wxThePrintSetupData->GetPrinterOptions(), wxPoint(305, yPos), wxSize(150, -1));
|
||||
(void) new wxStaticText( this, -1, _("Printer Options: "),
|
||||
wxPoint(210, yPos) );
|
||||
(void) new wxTextCtrl( this, wxID_PRINTER_OPTIONS, wxThePrintSetupData->GetPrinterOptions(),
|
||||
wxPoint(305, yPos), wxSize(150, -1) );
|
||||
|
||||
yPos += 40;
|
||||
#endif
|
||||
|
@@ -1230,7 +1230,7 @@ void process_command(char * cexpr)
|
||||
add_expr(expr);
|
||||
}
|
||||
|
||||
void syntax_error(char *s)
|
||||
void syntax_error(char *WXUNUSED(s))
|
||||
{
|
||||
if (currentwxExprErrorHandler)
|
||||
(void)(*(currentwxExprErrorHandler))(WXEXPR_ERROR_SYNTAX, "syntax error");
|
||||
|
Reference in New Issue
Block a user