Commit Graph

178 Commits

Author SHA1 Message Date
Vadim Zeitlin
20fe9c5acc demonstrate fuller about dialog in ShowFullAboutDialog() (part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:42:48 +00:00
Vadim Zeitlin
8ce68f7fc0 add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:33:47 +00:00
Robert Roebling
1fd012c366 use wxSizer::Fit() for sizing the dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 13:07:26 +00:00
Robert Roebling
a625c5b6c0 Invoke default action if dclick event after <ENTER> not handled in wxListBox, added test to dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-12 14:59:17 +00:00
Vadim Zeitlin
1d89da8a5c allow centering wxMessageDialog on its parent window (patch 1836072)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 16:52:31 +00:00
Vadim Zeitlin
e36a173933 added wxNotificationMessage and implemented it generically and natively for Maemo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 01:56:13 +00:00
Vadim Zeitlin
8cf304f81b added public wxInfoMessageBox() (slightly modified patch 1828235)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 19:56:03 +00:00
Vadim Zeitlin
e6ef9ea4ed preserve custom colours between calls to wxGetColourFromUser(), also allow passing a custom wxColourData to it (modified patch 1832582)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 19:33:34 +00:00
Vadim Zeitlin
8e5dbcdd50 simplify the code for extended flags handling fixing a rare bug with wxSTAY_ON_TOP being ignored in some situations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-07 22:11:55 +00:00
Vadim Zeitlin
1baa0a9db5 added wxMiniFrame demonstration to the dialogs sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-29 00:21:45 +00:00
Václav Slavík
a342cb00c5 wxUSE_STL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:30:51 +00:00
Vadim Zeitlin
2afb9e1690 1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
   currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
   implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
   a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
   for this the real dialog creation is now done on in ShowModal() in all
   ports


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:50:42 +00:00
Vadim Zeitlin
8e1dac8274 added wxStdDialogButtonSizer test (patch 1705382)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 21:25:24 +00:00
Vadim Zeitlin
3de9120b03 use 2 extensions in a filter in FileSave() for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 22:14:44 +00:00
Vadim Zeitlin
45e6e6f8ab call OnInit() from all samples to allow using standard command line options with all of them (patch 1623971)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 00:34:18 +00:00
Vadim Zeitlin
1dcfc3331f attempt to fix linking error in one of the tinderbox builds by moving local class declaration out of the function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 10:57:24 +00:00
Vadim Zeitlin
b2c782f2b4 reverted change which made the progress dialog more realistic but also made the code vastly more complex (rev 1.116), it's not really needed otherwise than to test the patch it was bundled with; simplified the test code for wxPD_SKIP (rev 1.119); increased the progress counter to see the indeterminate mode marker wrap around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:18:45 +00:00
Vadim Zeitlin
f4aa7ec32b small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Vadim Zeitlin
fb4f85bf8f use translators if explicitely specified, fall back to the standard translator-credits from message catalog otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:23:39 +00:00
Vadim Zeitlin
453c9e3b0b added example of customizing the generic about dialog and renamed wxAboutDialog to wxGenericAboutDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:12:59 +00:00
Vadim Zeitlin
730654eeab don't use 8 bit copyright symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 13:49:21 +00:00
Vadim Zeitlin
5067131185 test credits in about dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 12:53:44 +00:00
Vadim Zeitlin
1a1ecce631 use wxVERSION_NUM_DOT_STRING_T instead of wxVERSION_NUM_DOT_STRING to fix the Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 11:10:41 +00:00
Vadim Zeitlin
ca7adbf8bc initial implementation of wxAboutBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:02:04 +00:00
Paul Cornett
5c351979c3 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 16:15:42 +00:00
Vadim Zeitlin
f9d0e43901 create status bar to see wxLogStatus messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 12:14:41 +00:00
Vadim Zeitlin
654ffe9f19 compilation fix after wxPlatformInfo patch: use wxOS_WINDOWS_CE instead of wxWinPocketPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:17:08 +00:00
Vadim Zeitlin
a8eb5f886d menu items for Centre() tests shouldn't be checkable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 11:33:34 +00:00
Vadim Zeitlin
9f057af5ef wxFD_PREVIEW implementation for wxGTK (slightly modified patch 1520690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-24 23:48:06 +00:00
Włodzimierz Skiba
19bc15143a wxBLACK usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 13:26:00 +00:00
Włodzimierz Skiba
e031f1df56 wxFD_* constants without 2.6 compatibility (heavily extended and modified patch #1497305).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-30 07:25:35 +00:00
Vadim Zeitlin
ff3e84ffdc File/dir dialog styles and other changes (patch 1488371):
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Vadim Zeitlin
cd7afaff0c test centering file dialog on parent frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-21 13:10:51 +00:00
Julian Smart
4bfec1790f Changed the wxPlatform syntax as per Vadim's suggestions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-16 09:31:06 +00:00
Julian Smart
230c90774f Easier platform testing class and function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-15 17:40:13 +00:00
Julian Smart
77631b1d81 Implemented Mac-style button toggling within wxButtonToolBar, and line
under toolbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 12:40:34 +00:00
Julian Smart
b887dc7b5a wxButtonToolBar only useful on Mac right now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 10:09:11 +00:00
Julian Smart
64d3ed176d Steps towards implementing native-style, non-top-level toolbars on Mac
by implementing a toolbar class that uses native buttons.
Ultimately this should allow wxToolbook and wxPropertySheetDialog
classes to look native, when we complete the button API improvements
to combine text, bitmaps and toggling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-14 09:15:10 +00:00
Włodzimierz Skiba
ca3e85cfa8 Better backward compatibility and deprecation markup for interface deprecated in comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-30 14:04:17 +00:00
Włodzimierz Skiba
cca1624d2a Centering maximized wxTLWs on screen should do nothing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 13:00:06 +00:00
Julian Smart
acd8510fd2 Don't centre the frame on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-23 11:35:56 +00:00
Włodzimierz Skiba
684883e3e3 Present generic dialog on WinCE. Show using/avoiding Ok-button WinCE policy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-07 01:50:45 +00:00
Vadim Zeitlin
cae50e6bbd added tests for centering dialogs on screen/parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 23:17:35 +00:00
Vadim Zeitlin
b40bb73e7c put property sheets in their own submenu; resolve accelerators conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 23:09:15 +00:00
Włodzimierz Skiba
2b9238077a Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 21:27:40 +00:00
Julian Smart
cc8bc5aa9c Added SetSheetStyle to property sheet dialog to allow specification
of alternative book styles and shrink-to-fit mode
Updated dialogs sample with example of toolbook-style property sheet dialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-31 13:54:17 +00:00
Włodzimierz Skiba
b20edf8b33 Better #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:06:06 +00:00
Włodzimierz Skiba
897b24cf5c More common code moved from generic dialogs to wxDialogBase::CreateButtonSizer(). New system option 'wince.dialog.real-ok-cancel'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-15 10:06:15 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
3b6c3fc8c5 test centering file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:27:33 +00:00