mirror of https://github.com/odrling/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
|
||||
#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>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
// Prototypes
|
||||
class FrameMain;
|
||||
class DialogInputHotkey;
|
||||
#ifdef wxUSE_TREEBOOK
|
||||
#if wxUSE_TREEBOOK && !__WXMAC__
|
||||
class wxTreebook;
|
||||
#else
|
||||
#include <wx/choicebk.h>
|
||||
|
|
Loading…
Reference in New Issue