Use wxChoicebook instead of wxTreebook on wxMac, to avoid some mislayout and be a bit more in line with Apple's HIG.

Originally committed to SVN as r1583.
This commit is contained in:
Niels Martin Hansen 2007-09-23 23:22:15 +00:00
parent 09f7c32cb2
commit 345ff629d7
2 changed files with 3 additions and 3 deletions

View File

@ -37,10 +37,10 @@
///////////
// Headers
#include "dialog_options.h"
#ifdef wxUSE_TREEBOOK
#if wxUSE_TREEBOOK && !__WXMAC__
#include <wx/treebook.h>
#else
#define AddSubPage(a,b,c) AddPage(a,b,c)
#define AddSubPage(page,text,select) AddPage(page,wxString::Format(_T("\t%s"),text),select)
#endif
#include "options.h"
#include <wx/spinctrl.h>

View File

@ -52,7 +52,7 @@
// Prototypes
class FrameMain;
class DialogInputHotkey;
#ifdef wxUSE_TREEBOOK
#if wxUSE_TREEBOOK && !__WXMAC__
class wxTreebook;
#else
#include <wx/choicebk.h>