forked from mia/Aegisub
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:
parent
09f7c32cb2
commit
345ff629d7
|
@ -37,10 +37,10 @@
|
||||||
///////////
|
///////////
|
||||||
// Headers
|
// Headers
|
||||||
#include "dialog_options.h"
|
#include "dialog_options.h"
|
||||||
#ifdef wxUSE_TREEBOOK
|
#if wxUSE_TREEBOOK && !__WXMAC__
|
||||||
#include <wx/treebook.h>
|
#include <wx/treebook.h>
|
||||||
#else
|
#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
|
#endif
|
||||||
#include "options.h"
|
#include "options.h"
|
||||||
#include <wx/spinctrl.h>
|
#include <wx/spinctrl.h>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
// Prototypes
|
// Prototypes
|
||||||
class FrameMain;
|
class FrameMain;
|
||||||
class DialogInputHotkey;
|
class DialogInputHotkey;
|
||||||
#ifdef wxUSE_TREEBOOK
|
#if wxUSE_TREEBOOK && !__WXMAC__
|
||||||
class wxTreebook;
|
class wxTreebook;
|
||||||
#else
|
#else
|
||||||
#include <wx/choicebk.h>
|
#include <wx/choicebk.h>
|
||||||
|
|
Loading…
Reference in a new issue