1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-03 17:19:43 +02:00

5 Commits

Author SHA1 Message Date
Paul Licameli
14ad405b04 Define BasicUI::ShowMessageBox 2021-07-18 20:39:25 -04:00
Paul Licameli
189c6c1dbc Move error dialog functions into the BasicUI facade...
... now ErrorDialog.h is included only in ErrorDialog.cpp and
wxWidgetsBasicUI.cpp
2021-07-18 20:39:23 -04:00
Paul Licameli
2facbe0d53 Define BasicUI::WindowPlacement and subclass for wxWidgets...
... An elaborate way to hold a wxWindow* as parent of a window, but avoiding
mention of wxWindow* in the member functions of BasicUI::Services, to be defined
next
2021-07-18 20:37:07 -04:00
Paul Licameli
50e8139716 Define CallAfter and Yield in BasicUI...
...so direct uses of wx/app.h may later be removed.  That header is one of the
files that is in wxBase, but is not acceptable in "toolkit neutral" code,
which should not directly use any version of an event loop.
2021-07-18 20:37:07 -04:00
Paul Licameli
d20cf01255 Facade class for basic UI, injection of a wxWidgets implementation...
... but none of the methods is defined yet.

The intention is to inject dependencies on wxWidgets (or other) toolkit so that
lower-level files have less build dependency on wxCore classes or on the
event loop.
2021-07-18 20:37:07 -04:00