Include wx/panel.h according to precompiled headers of wx/wx.h (with other minor cleaning).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-04 18:10:27 +00:00
parent 4a851b11c2
commit 8e609c8259
19 changed files with 41 additions and 32 deletions

View File

@@ -18,9 +18,9 @@
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/utils.h"
#include "wx/panel.h"
#endif
#include "wx/panel.h"
#include "wx/imaglist.h"
#include "wx/bitmap.h"
#include "wx/fontutil.h"
@@ -694,7 +694,7 @@ bool wxNotebook::InsertPage( size_t position,
/* set the label text */
nb_page->m_text = text;
if (nb_page->m_text.empty()) nb_page->m_text = wxT("");
if (nb_page->m_text.empty()) nb_page->m_text = wxEmptyString;
nb_page->m_label = GTK_LABEL( gtk_label_new(wxGTK_CONV(nb_page->m_text)) );
gtk_box_pack_end( GTK_BOX(nb_page->m_box), GTK_WIDGET(nb_page->m_label), FALSE, FALSE, m_padding );