Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
audacity
audacity-1.3.5-modal-help-dialog.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File audacity-1.3.5-modal-help-dialog.diff of Package audacity
--- src/widgets/ErrorDialog.cpp-dist 2008-11-19 16:28:18.000000000 +0100 +++ src/widgets/ErrorDialog.cpp 2008-11-20 11:44:25.000000000 +0100 @@ -124,9 +124,17 @@ EndModal(true); } +// make help dialog modal +class HtmlTextHelpDialog : public BrowserFrame +{ +public: + HtmlTextHelpDialog() : BrowserFrame() { MakeModal(true); } + ~HtmlTextHelpDialog() { MakeModal(false); } +}; + void ShowHtmlText( wxWindow * pParent, const wxString &Title, const wxString &HtmlText, bool bIsFile = false ) { - BrowserFrame * pWnd = new BrowserFrame(); + HtmlTextHelpDialog * pWnd = new HtmlTextHelpDialog(); pWnd->Create(pParent, -1, Title, wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE);// & ~wxSYSTEM_MENU); ShuttleGui S( pWnd, eIsCreating ); LinkingHtmlWindow *html;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor