corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -457,7 +457,7 @@ const char *dlerror()
|
|||||||
return dl_last_error;
|
return dl_last_error;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *dlopen(const char *path, int mode /* mode is ignored */)
|
void *dlopen(const char *path, int WXUNUSED(mode) /* mode is ignored */)
|
||||||
{
|
{
|
||||||
int dyld_result;
|
int dyld_result;
|
||||||
NSObjectFileImage ofile;
|
NSObjectFileImage ofile;
|
||||||
@@ -484,7 +484,7 @@ int dlclose(void *handle)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void *dlsym(void *handle, const char *symbol)
|
void *dlsym(void *WXUNUSED(handle), const char *symbol)
|
||||||
{
|
{
|
||||||
void *addr;
|
void *addr;
|
||||||
|
|
||||||
|
@@ -131,6 +131,7 @@ wxImage::wxImage( wxInputStream& stream, const wxString& mimetype, int index )
|
|||||||
#endif // wxUSE_STREAMS
|
#endif // wxUSE_STREAMS
|
||||||
|
|
||||||
wxImage::wxImage( const wxImage& image )
|
wxImage::wxImage( const wxImage& image )
|
||||||
|
: wxObject()
|
||||||
{
|
{
|
||||||
Ref(image);
|
Ref(image);
|
||||||
}
|
}
|
||||||
|
@@ -39,6 +39,7 @@ wxTransformMatrix::wxTransformMatrix(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
wxTransformMatrix::wxTransformMatrix(const wxTransformMatrix& mat)
|
wxTransformMatrix::wxTransformMatrix(const wxTransformMatrix& mat)
|
||||||
|
: wxObject()
|
||||||
{
|
{
|
||||||
(*this) = mat;
|
(*this) = mat;
|
||||||
}
|
}
|
||||||
|
@@ -501,7 +501,7 @@ wxSize wxSizer::GetMaxClientSize( wxWindow *window )
|
|||||||
return wxDefaultSize;
|
return wxDefaultSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxSize wxSizer::GetMinClientSize( wxWindow *window )
|
wxSize wxSizer::GetMinClientSize( wxWindow *WXUNUSED(window) )
|
||||||
{
|
{
|
||||||
return GetMinSize(); // Already returns client size.
|
return GetMinSize(); // Already returns client size.
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user