fix more -Wparentheses warnings after wxLog changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -890,7 +890,9 @@ wxBitmap BitmapComboBoxWidgetsPage::QueryBitmap(wxString* pStr)
|
||||
}
|
||||
|
||||
if (bitmap.IsOk())
|
||||
{
|
||||
wxLogDebug(wxT("%i, %i"),bitmap.GetWidth(), bitmap.GetHeight());
|
||||
}
|
||||
|
||||
::wxSetCursor( *wxSTANDARD_CURSOR );
|
||||
|
||||
|
@@ -306,11 +306,17 @@ void FileCtrlWidgetsPage::OnRadioBox( wxCommandEvent& WXUNUSED( event ) )
|
||||
void FileCtrlWidgetsPage::OnFileCtrl( wxFileCtrlEvent& event )
|
||||
{
|
||||
if ( event.GetEventType() == wxEVT_FILECTRL_FOLDERCHANGED )
|
||||
{
|
||||
wxLogMessage("Folder changed event, new folder: %s", event.GetDirectory());
|
||||
}
|
||||
else if ( event.GetEventType() == wxEVT_FILECTRL_FILEACTIVATED )
|
||||
{
|
||||
wxLogMessage("File activated event: %s", wxJoin(event.GetFiles(), ' '));
|
||||
}
|
||||
else if ( event.GetEventType() == wxEVT_FILECTRL_SELECTIONCHANGED )
|
||||
{
|
||||
wxLogMessage("Selection changed event: %s", wxJoin(event.GetFiles(), ' '));
|
||||
}
|
||||
}
|
||||
|
||||
#endif // wxUSE_FILECTRL
|
||||
|
@@ -448,7 +448,10 @@ ListboxWidgetsPage::GetValidIndexFromText(const wxTextCtrl *text, int *n) const
|
||||
// want to retrieve the value as this is only done in answer to a user
|
||||
// action
|
||||
if ( n )
|
||||
{
|
||||
wxLogWarning("Invalid index \"%s\"", text->GetValue());
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user