Removed /install/gtk/configure from cvs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-08-05 16:33:18 +00:00
parent baeed2892d
commit 54ff4a701f
13 changed files with 127 additions and 6980 deletions

View File

@@ -545,7 +545,7 @@ void wxPaintDC::Clear(void)
{
if (!Ok()) return;
DestroyClippingRegion();
// DestroyClippingRegion();
if (m_isDrawable)
{
@@ -556,7 +556,7 @@ void wxPaintDC::Clear(void)
int width = 0;
int height = 0;
GetSize( &width, &height );
gdk_draw_rectangle( m_window, m_brushGC, TRUE, 0, 0, width, height );
gdk_draw_rectangle( m_window, m_bgGC, TRUE, 0, 0, width, height );
};
};

View File

@@ -122,19 +122,31 @@ wxMenuItem* wxMenuBar::FindMenuItemById( int id ) const
return result;
}
bool wxMenuBar::IsChecked( int id ) const
void wxMenuBar::Check( int id, bool check )
{
wxMenuItem* item = FindMenuItemById( id );
if (item) item->Check(check);
};
bool wxMenuBar::Checked( int id ) const
{
wxMenuItem* item = FindMenuItemById( id );
if (item) return item->IsChecked();
return FALSE;
}
};
bool wxMenuBar::IsEnabled( int id ) const
void wxMenuBar::Enable( int id, bool enable )
{
wxMenuItem* item = FindMenuItemById( id );
if (item) item->Enable(enable);
};
bool wxMenuBar::Enabled( int id ) const
{
wxMenuItem* item = FindMenuItemById( id );
if (item) return item->IsEnabled();
return FALSE;
}
};
//-----------------------------------------------------------------------------
// wxMenu

View File

@@ -545,7 +545,7 @@ void wxPaintDC::Clear(void)
{
if (!Ok()) return;
DestroyClippingRegion();
// DestroyClippingRegion();
if (m_isDrawable)
{
@@ -556,7 +556,7 @@ void wxPaintDC::Clear(void)
int width = 0;
int height = 0;
GetSize( &width, &height );
gdk_draw_rectangle( m_window, m_brushGC, TRUE, 0, 0, width, height );
gdk_draw_rectangle( m_window, m_bgGC, TRUE, 0, 0, width, height );
};
};

View File

@@ -122,19 +122,31 @@ wxMenuItem* wxMenuBar::FindMenuItemById( int id ) const
return result;
}
bool wxMenuBar::IsChecked( int id ) const
void wxMenuBar::Check( int id, bool check )
{
wxMenuItem* item = FindMenuItemById( id );
if (item) item->Check(check);
};
bool wxMenuBar::Checked( int id ) const
{
wxMenuItem* item = FindMenuItemById( id );
if (item) return item->IsChecked();
return FALSE;
}
};
bool wxMenuBar::IsEnabled( int id ) const
void wxMenuBar::Enable( int id, bool enable )
{
wxMenuItem* item = FindMenuItemById( id );
if (item) item->Enable(enable);
};
bool wxMenuBar::Enabled( int id ) const
{
wxMenuItem* item = FindMenuItemById( id );
if (item) return item->IsEnabled();
return FALSE;
}
};
//-----------------------------------------------------------------------------
// wxMenu