New virtual key defines (NUMPAD_XXX).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-17 12:27:27 +00:00
parent 97560ce3a4
commit adde8c9807
3 changed files with 110 additions and 83 deletions

View File

@@ -311,11 +311,11 @@ wxMenuBar *wxMDIChildFrame::GetMenuBar() const
void wxMDIChildFrame::Activate()
{
#if( GTK_MINOR_VERSION>0 )
wxMDIParentFrame* parent = (wxMDIParentFrame*)GetParent();
#if (GTK_MINOR_VERSION > 0)
wxMDIParentFrame* parent = (wxMDIParentFrame*) GetParent();
GtkNotebook* notebook = GTK_NOTEBOOK(parent->m_widget);
gint pageno = gtk_notebook_page_num(notebook,m_page->child);
gtk_notebook_set_page(notebook,pageno);
gint pageno = gtk_notebook_page_num( notebook, m_page->child );
gtk_notebook_set_page( notebook, pageno );
#else
// the only way I can see to do this under gtk+ 1.0.X would
// be to keep track of page numbers, start at first and