move comment to header, expand on description of UpdateStatsBar(), make comment Doxygen compatible.

This commit is contained in:
dickelbeck 2009-04-09 17:34:51 +00:00
parent 20f8b2168b
commit 0261ab718f
2 changed files with 16 additions and 8 deletions

View File

@ -699,13 +699,6 @@ void WinEDA_DrawFrame::SetLanguage( wxCommandEvent& event )
}
/*
* Update the status bar information.
*
* The base method updates the absolute and relative coordinates and the
* zoom information. If you override this virtual method, make sure to call
* this subclassed method.
*/
void WinEDA_DrawFrame::UpdateStatusBar()
{
wxString Line;

View File

@ -268,7 +268,22 @@ public:
virtual bool OnRightClick( const wxPoint& MousePos, wxMenu* PopMenu ) = 0;
virtual void ToolOnRightClick( wxCommandEvent& event );
void AdjustScrollBars();
virtual void UpdateStatusBar(); /* Affichage des coord curseur, zoom .. */
/**
* Function UpdateStatusBar
* updates the status bar information.
*
* The base method updates the absolute and relative coordinates and the
* zoom information. If you override this virtual method, make sure to call
* this subclassed method. The status bar can draw itself. This is not
* a drawing function per se, but rather updates lines of text held by
* the components within the status bar which is owned by the wxFrame.
* <p>
* On a MAC, be careful about calling this function when there is an existing
* wxDC in existence on a sibling window.
*/
virtual void UpdateStatusBar();
void DisplayUnitsMsg();
/* Handlers for block commands */