projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
only use __attribute__(regparm) for x86, this results in warnings under other platfor...
[wxWidgets.git]
/
src
/
mac
/
carbon
/
dialog.cpp
diff --git
a/src/mac/carbon/dialog.cpp
b/src/mac/carbon/dialog.cpp
index af14cbc258062e4d719be4deb22e88d70c767c1e..9ec4ef5220b13e90232794cb99f3004a20de2642 100644
(file)
--- a/
src/mac/carbon/dialog.cpp
+++ b/
src/mac/carbon/dialog.cpp
@@
-164,7
+164,7
@@
void wxDialog::DoShowModal()
wxModalDialogs.Append(this);
#if TARGET_CARBON
wxModalDialogs.Append(this);
#if TARGET_CARBON
-
//
BeginAppModalStateForWindow( (WindowRef) MacGetWindowRef()) ;
+ BeginAppModalStateForWindow( (WindowRef) MacGetWindowRef()) ;
#else
// TODO : test whether parent gets disabled
bool formerModal = s_macIsInModalLoop ;
#else
// TODO : test whether parent gets disabled
bool formerModal = s_macIsInModalLoop ;
@@
-177,7
+177,7
@@
void wxDialog::DoShowModal()
}
#if TARGET_CARBON
}
#if TARGET_CARBON
-
//
EndAppModalStateForWindow( (WindowRef) MacGetWindowRef() ) ;
+ EndAppModalStateForWindow( (WindowRef) MacGetWindowRef() ) ;
#else
// TODO probably reenable the parent window if any
s_macIsInModalLoop = formerModal ;
#else
// TODO probably reenable the parent window if any
s_macIsInModalLoop = formerModal ;