From a3a8cb65c90c166f21f2ccdaeba221ca835901eb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 10 Apr 2005 14:49:57 +0000 Subject: Fix compilation on OS X svn-id: r17515 --- gui/browser.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gui') diff --git a/gui/browser.cpp b/gui/browser.cpp index 5294c9860c..389e346090 100644 --- a/gui/browser.cpp +++ b/gui/browser.cpp @@ -29,6 +29,12 @@ namespace GUI { +enum { + kChooseCmd = 'Chos', + kGoUpCmd = 'GoUp' +}; + + #ifdef MACOSX /* On Mac OS X, use the native file selector dialog. We could do the same for * other operating systems. @@ -120,11 +126,6 @@ int DirBrowserDialog::runModal() { * - others??? */ -enum { - kChooseCmd = 'Chos', - kGoUpCmd = 'GoUp' -}; - DirBrowserDialog::DirBrowserDialog(const char *title) : Dialog(20, 10, 320 -2 * 20, 200 - 2 * 10) { -- cgit v1.2.3