Minor internal spelling correction
This commit is contained in:
parent
b237d81b75
commit
ef3aa01e7d
|
@ -36,7 +36,7 @@
|
|||
LAUNCHER_PANEL::LAUNCHER_PANEL( wxWindow* parent ) :
|
||||
wxPanel( parent, wxID_ANY )
|
||||
{
|
||||
m_bitmapButtons_maxHeigth = 0;
|
||||
m_bitmapButtons_maxHeight = 0;
|
||||
m_buttonSeparation = 10; // control of command buttons position
|
||||
m_buttonsListPosition.x = m_buttonSeparation;
|
||||
m_buttonsListPosition.y = m_buttonSeparation;
|
||||
|
@ -48,7 +48,7 @@ LAUNCHER_PANEL::LAUNCHER_PANEL( wxWindow* parent ) :
|
|||
|
||||
int LAUNCHER_PANEL::GetPanelHeight() const
|
||||
{
|
||||
int height = m_buttonsListPosition.y + m_bitmapButtons_maxHeigth
|
||||
int height = m_buttonsListPosition.y + m_bitmapButtons_maxHeight
|
||||
+ m_buttonSeparation;
|
||||
return height;
|
||||
}
|
||||
|
@ -104,8 +104,8 @@ wxBitmapButton* LAUNCHER_PANEL::AddBitmapButton( wxWindowID aId, const wxBitmap&
|
|||
buttSize.x = aBitmap.GetWidth() + btn_margin;
|
||||
buttSize.y = aBitmap.GetHeight() + btn_margin;
|
||||
|
||||
if( m_bitmapButtons_maxHeigth < buttSize.y )
|
||||
m_bitmapButtons_maxHeigth = buttSize.y;
|
||||
if( m_bitmapButtons_maxHeight < buttSize.y )
|
||||
m_bitmapButtons_maxHeight = buttSize.y;
|
||||
|
||||
wxBitmapButton* btn = new wxBitmapButton( this, aId, aBitmap, buttPos, buttSize );
|
||||
m_buttonLastPosition.x += buttSize.x + m_buttonSeparation;
|
||||
|
|
|
@ -308,7 +308,7 @@ private:
|
|||
* of the first bitmap button
|
||||
*/
|
||||
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.
|
||||
|
||||
public: LAUNCHER_PANEL( wxWindow* parent );
|
||||
|
|
Loading…
Reference in New Issue