]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/dyntbarhnd.cpp
wxX11:
[wxWidgets.git] / contrib / src / fl / dyntbarhnd.cpp
index e375851436b3dae1ef7998e42b32a56c6dbe01cc..2a819c5b9b8e517cf5f2d76f75c627603a7624ab 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 )
 {
-       // 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 );
 }