Minor internal spelling correction

This commit is contained in:
Simon Wells 2016-03-08 14:03:16 -05:00 committed by Chris Pavlina
parent b237d81b75
commit ef3aa01e7d
2 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@
LAUNCHER_PANEL::LAUNCHER_PANEL( wxWindow* parent ) : LAUNCHER_PANEL::LAUNCHER_PANEL( wxWindow* parent ) :
wxPanel( parent, wxID_ANY ) wxPanel( parent, wxID_ANY )
{ {
m_bitmapButtons_maxHeigth = 0; m_bitmapButtons_maxHeight = 0;
m_buttonSeparation = 10; // control of command buttons position m_buttonSeparation = 10; // control of command buttons position
m_buttonsListPosition.x = m_buttonSeparation; m_buttonsListPosition.x = m_buttonSeparation;
m_buttonsListPosition.y = m_buttonSeparation; m_buttonsListPosition.y = m_buttonSeparation;
@ -48,7 +48,7 @@ LAUNCHER_PANEL::LAUNCHER_PANEL( wxWindow* parent ) :
int LAUNCHER_PANEL::GetPanelHeight() const int LAUNCHER_PANEL::GetPanelHeight() const
{ {
int height = m_buttonsListPosition.y + m_bitmapButtons_maxHeigth int height = m_buttonsListPosition.y + m_bitmapButtons_maxHeight
+ m_buttonSeparation; + m_buttonSeparation;
return height; return height;
} }
@ -104,8 +104,8 @@ wxBitmapButton* LAUNCHER_PANEL::AddBitmapButton( wxWindowID aId, const wxBitmap&
buttSize.x = aBitmap.GetWidth() + btn_margin; buttSize.x = aBitmap.GetWidth() + btn_margin;
buttSize.y = aBitmap.GetHeight() + btn_margin; buttSize.y = aBitmap.GetHeight() + btn_margin;
if( m_bitmapButtons_maxHeigth < buttSize.y ) if( m_bitmapButtons_maxHeight < buttSize.y )
m_bitmapButtons_maxHeigth = buttSize.y; m_bitmapButtons_maxHeight = buttSize.y;
wxBitmapButton* btn = new wxBitmapButton( this, aId, aBitmap, buttPos, buttSize ); wxBitmapButton* btn = new wxBitmapButton( this, aId, aBitmap, buttPos, buttSize );
m_buttonLastPosition.x += buttSize.x + m_buttonSeparation; m_buttonLastPosition.x += buttSize.x + m_buttonSeparation;

View File

@ -308,7 +308,7 @@ private:
* of the first bitmap button * of the first bitmap button
*/ */
wxPoint m_buttonLastPosition; // position of the last button in the window wxPoint m_buttonLastPosition; // position of the last button in the window
int m_bitmapButtons_maxHeigth; // height of bigger bitmap buttons int m_bitmapButtons_maxHeight; // height of bigger bitmap buttons
// Used to calculate the height of the panel. // Used to calculate the height of the panel.
public: LAUNCHER_PANEL( wxWindow* parent ); public: LAUNCHER_PANEL( wxWindow* parent );