]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/dyntbarhnd.cpp
bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas...
[wxWidgets.git] / contrib / src / fl / dyntbarhnd.cpp
index e375851436b3dae1ef7998e42b32a56c6dbe01cc..2893383160f00e2b51368376eb28a2b1bbf665b9 100644 (file)
@@ -1,12 +1,12 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        No names yet.
-// Purpose:     Contrib. demo
+// Name:        dyntbarhnd.cpp
+// Purpose:     cbDynToolBarDimHandler implementation.
 // Author:      Aleksandras Gluchovas
 // Modified by:
 // Created:     23/01/99
 // RCS-ID:      $Id$
 // Copyright:   (c) Aleksandras Gluchovas
-// Licence:    wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifdef __GNUG__
 #pragma hdrstop
 #endif
 
-
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
 
 #include "wx/fl/dyntbarhnd.h"
-
 /***** Implementation for class cbDynToolBarDimHandler *****/
 
 IMPLEMENT_DYNAMIC_CLASS( cbDynToolBarDimHandler, cbBarDimHandlerBase )
 
-void cbDynToolBarDimHandler::OnChangeBarState(cbBarInfo* pBar, int newState )
+void cbDynToolBarDimHandler::OnChangeBarState(cbBarInfo* WXUNUSED(pBar), int WXUNUSED(newState) )
 {
-       // nothing
+    // nothing
 }
 
 void cbDynToolBarDimHandler::OnResizeBar( cbBarInfo* pBar, 
-                                                                                 const wxSize& given, 
-                                                                                 wxSize& preferred )
+                                          const wxSize& given, 
+                                          wxSize& preferred )
 {
-       wxASSERT( pBar->mpBarWnd ); // DBG:: should be present
+    wxASSERT( pBar->mpBarWnd ); // DBG:: should be present
 
-       wxDynamicToolBar* pTBar = (wxDynamicToolBar*)pBar->mpBarWnd;
+    wxDynamicToolBar* pTBar = (wxDynamicToolBar*)pBar->mpBarWnd;
 
-       pTBar->GetPreferredDim( given, preferred );
+    pTBar->GetPreferredDim( given, preferred );
 }