X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4fd44528a1bca5c4df4736e9060b1ff676d43a7..69379916942701f59b6fff72dd09eaa0a9aba89c:/contrib/src/fl/toolwnd.cpp diff --git a/contrib/src/fl/toolwnd.cpp b/contrib/src/fl/toolwnd.cpp index 5c846c27ef..6eeb02f0a6 100644 --- a/contrib/src/fl/toolwnd.cpp +++ b/contrib/src/fl/toolwnd.cpp @@ -81,7 +81,7 @@ wxToolWindow::wxToolWindow() mTitleFont( 8, wxSWISS, wxNORMAL, wxNORMAL ), #else // just to simulate MS-Dev style - mTitleFont( 8, wxSWISS, wxNORMAL, wxNORMAL, FALSE, "MS Sans Serif" ), + mTitleFont( 8, wxSWISS, wxNORMAL, wxNORMAL, FALSE, wxT("MS Sans Serif") ), #endif mTitleHeight ( 16 ), @@ -157,7 +157,7 @@ void wxToolWindow::AddMiniButton( cbMiniButton* pBtn ) //LayoutMiniButtons(); } -void wxToolWindow::OnPaint( wxPaintEvent& event ) +void wxToolWindow::OnPaint( wxPaintEvent& WXUNUSED(event) ) { wxPaintDC pdc( this ); wxWindowDC dc( this ); @@ -572,7 +572,7 @@ void wxToolWindow::OnMotion( wxMouseEvent& event ) DrawHintRect( mPrevHintRect ); DrawHintRect( finalRect ); - ::wxLogTrace("%d,%d / %d,%d\n", finalRect.x, finalRect.y, finalRect.width, finalRect.height); + ::wxLogTrace(wxT("%d,%d / %d,%d\n"), finalRect.x, finalRect.y, finalRect.width, finalRect.height); } mPrevHintRect = finalRect; @@ -672,7 +672,7 @@ void wxToolWindow::OnLeftUp( wxMouseEvent& event ) } } -void wxToolWindow::OnSize( wxSizeEvent& event ) +void wxToolWindow::OnSize( wxSizeEvent& WXUNUSED(event) ) { if ( mpClientWnd ) { @@ -697,7 +697,7 @@ wxSize wxToolWindow::GetPreferredSize( const wxSize& given ) return given; } -void wxToolWindow::OnEraseBackground( wxEraseEvent& event ) +void wxToolWindow::OnEraseBackground( wxEraseEvent& WXUNUSED(event) ) { // nothing } @@ -755,7 +755,7 @@ void cbMiniButton::OnLeftDown( const wxPoint& pos ) } } -void cbMiniButton::OnLeftUp( const wxPoint& pos ) +void cbMiniButton::OnLeftUp( const wxPoint& WXUNUSED(pos) ) { if ( !mVisible || !mDragStarted ) return; @@ -1137,7 +1137,7 @@ bool cbFloatedBarWindow::HandleTitleClick( wxMouseEvent& event ) return TRUE; } -void cbFloatedBarWindow::OnDblClick( wxMouseEvent& event ) +void cbFloatedBarWindow::OnDblClick( wxMouseEvent& WXUNUSED(event) ) { mpLayout->SetBarState( mpBar, wxCBAR_DOCKED_HORIZONTALLY, TRUE );