// constants
//-----------------------------------------------------------------------------
-const int wxMENU_HEIGHT = 30;
+const int wxMENU_HEIGHT = 27;
const int wxSTATUS_HEIGHT = 25;
//-----------------------------------------------------------------------------
{
int h = 0;
m_frameMenuBar->GetSize( (int*)NULL, &h );
- pt.y += h + 2;
+ pt.y += h;
}
if (m_frameToolBar)
{
if (m_frameMenuBar)
{
- int xx = 1 + m_miniEdge;
- int yy = 1 + m_miniEdge + m_miniTitle;
- int ww = m_width - 2 - 2*m_miniEdge;
- int hh = wxMENU_HEIGHT-2;
+ int xx = m_miniEdge;
+ int yy = m_miniEdge + m_miniTitle;
+ int ww = m_width - 2*m_miniEdge;
+ int hh = wxMENU_HEIGHT;
m_frameMenuBar->m_x = xx;
m_frameMenuBar->m_y = yy;
m_frameMenuBar->m_width = ww;
if (m_frameToolBar)
{
- int xx = 1 + m_miniEdge;
+ int xx = m_miniEdge;
int yy = m_miniEdge + m_miniTitle;
if (m_frameMenuBar) yy += wxMENU_HEIGHT;
- int ww = m_width -2 - 2*m_miniEdge;
+ int ww = m_width - 2*m_miniEdge;
int hh = m_frameToolBar->m_height;
m_frameToolBar->m_x = xx;