Commit Graph

157 Commits

Author SHA1 Message Date
Julian Smart
d1859a1fc1 Added wxUniv project file for dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-17 22:28:42 +00:00
Mattia Barbon
9f84eccdea Make some of the samples compile in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-13 21:33:14 +00:00
Julian Smart
c31752dadf Updated version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-05 11:08:08 +00:00
Vadim Zeitlin
2b5f62a0b2 merged 2.4 branch into the trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Vadim Zeitlin
5b636c67e2 added wxFileDialog::SetDirectory test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-07 19:24:17 +00:00
David Webster
f0b47621e9 For OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-04 13:39:02 +00:00
Julian Smart
70373b5a57 Applied patch [ 600500 ] Tip-of-day: comments, translatable
By Robert O'Connor

This is a patch to wxTip Provider classes used by the "Tip of the day" dialog.

See wx-dev archives August 2002 for discussion of the functionality design.

It does 5 things:
-Support for comments inside the tips file. The pound character (#) is used, as recommended by Vadim.
-Allows optional easy translation support to tips, by marking them as translatable for gettext, by enclosing them in a _(""). Program will translate these tips at runtime from the active catalog.
-Blank lines or lines with just spaces are automatically skipped (I had to put this in, I keep wondering why I get blank tips sometimes and it is because the text file had a empty blank line at the end of the text file).
-There is a pluggable virtual function to preprocess to modify the tip in a derived class, in case something specialized is desired, such as variable expansion, etc, as recommended by Julian and Vadim.
-Now resets the tip counter if the previous tip is past the end of the file (ie you removed some tips, or changed tip files), as discussed on wx-dev.

This patch updates:
-The classes.
-The class documentation and the Tip-of-the-day topic overview documentation.
-The dialogs example, placing some new strings for the tips.txt file which demonstrate how to use the Tip-of-the-day features for in practice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-31 12:08:02 +00:00
Gilles Depeyrot
c12bbf5db7 updated CW exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-24 20:57:15 +00:00
Robert Roebling
eba330067e Removed all deprecated printing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-17 16:29:05 +00:00
Vadim Zeitlin
df26c4c640 fixed checking/unchecking find/replace items in the menu problem (they becameo ut of sync with the real status)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 22:30:31 +00:00
Julian Smart
811ad6a199 Removed strange _T()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-02 09:05:45 +00:00
Vadim Zeitlin
f3dbeba4dd fixed compilation for Mac OS X 10.1.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 18:55:43 +00:00
Vadim Zeitlin
2f1cd9053b fixed stray _T()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 11:18:19 +00:00
Vadim Zeitlin
78a189c97f added _T()s around the literal strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-09 22:19:24 +00:00
Vadim Zeitlin
d8ddee9c46 added test for wxProgressDialog::Resume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:14:26 +00:00
Vadim Zeitlin
dbc65e2760 fixed wxFontDialog API: accept const ref instead of (well, in addition to) a possibly NULL pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 19:35:33 +00:00
Vadim Zeitlin
4fce73fcaf Unicode compilation problems in the samples (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:26:30 +00:00
Vadim Zeitlin
ba14d9861d applied patch to build wxMSW with CW7 (patch 550445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 22:34:44 +00:00
Vadim Zeitlin
49b957be80 added test for wxNO_DEFAULT in wxMessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-16 19:29:52 +00:00
Gilles Depeyrot
168f4135dc updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:28:15 +00:00
Vadim Zeitlin
af2b012d65 don't show generic dir dlg when it's the same as the standard one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-03 16:01:44 +00:00
Robert Roebling
c2c0dabfa6 More changes for better redraw flow under X11.
Probably fixed problem with TLW appearing wrong.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 18:57:50 +00:00
Julian Smart
868741e9d3 Put dialog in more sensible place in Forty, got a bit further
with running it under wxX11 but still crashes (bad XPM?)
Updated wxX11 readme text
Added more wxYields to progress dialog
Added timer and idle processing to wxApp::Yield for X11
Made busy info dialog thick frame for wxX11, else
no decorations
Some corrections for Nano-X
Made text for busy dialog more sensible in dialogs sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 13:10:17 +00:00
Vadim Zeitlin
9b70bb91af fixed menu accel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 01:24:27 +00:00
Václav Slavík
7e5c1138b8 don't use wxGenericDirDialog in MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:04:22 +00:00
Vadim Zeitlin
27fd024644 inserted @IF_GNU_MAKE@ to allow building with other make versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 11:31:21 +00:00
Gilles Depeyrot
012f2cb251 use "..." instead of <...> for wx includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 14:50:37 +00:00
Julian Smart
847341dbeb Updated VC++ files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 14:33:01 +00:00
Václav Slavík
20af94c86b Watcom wxMGL makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:42:27 +00:00
Gilles Depeyrot
9869abf7c1 changed PPC struct alignement setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:09:23 +00:00
Julian Smart
d7d176241e Moved include for Windows compilation; minor doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 14:15:57 +00:00
Gilles Depeyrot
afcca39be9 store CodeWarrior 5.3 projects as xml instead of binary projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-02 18:11:49 +00:00
Vadim Zeitlin
a6f762a646 replaced "CC = gcc" and even stranger "CPP = gcc -g" (huh?) with
"CXX = $(shell wx-config --cxx)" in all makefile.unx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 18:10:15 +00:00
Vadim Zeitlin
f6656ccb14 replaced wx-config --cflags with wx-config --cxxflags and mentioned that
it must be done in user makefiles too in changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-28 12:30:26 +00:00
Vadim Zeitlin
5f95bb7096 added some test for the choice dialog sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-27 14:46:18 +00:00
Vadim Zeitlin
fbf4eacb26 added wxCHANGE_DIR test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-25 14:32:01 +00:00
Vadim Zeitlin
afbd36dd57 added test for selecting intial colour in the col dlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 22:24:30 +00:00
Jouk Jansen
043dcdaad0 Committing in .
Modified Files:
 	wxWindows/samples/dialogs/dialogs.cpp

 added conditional compilation for replacement dialogs in oder to allow
compilation on non-MSW systems.

 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-23 13:34:13 +00:00
Vadim Zeitlin
14fca7389a fixes for programmatically deleting the find/replace dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 23:06:43 +00:00
Vadim Zeitlin
21977bac1a improved sizing of wxBusyInfo window and updated the docs a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 14:32:42 +00:00
Vadim Zeitlin
a62b0bcc14 added wxBusyInfo test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 13:21:29 +00:00
Vadim Zeitlin
56f23a5855 added new project files for all samples and demos; removed the old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:30:29 +00:00
Vadim Zeitlin
f1e1ed3b77 added status bar to the sample because it uses wxLogStatus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 21:33:49 +00:00
Vadim Zeitlin
551adc4b47 allow multiple extensions in tge generic wxFileDialog (patch 457580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:26:55 +00:00
Mattia Barbon
4693b20c75 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 20:21:44 +00:00
Gilles Depeyrot
a0bb22c231 renamed CodeWarrior 5 projects (added new ones as well)
added CarbonAccessors.o to Classic targets
corrected link warnings/errors in Carbon targets


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:38:00 +00:00
Gilles Depeyrot
555d502faf removed leftover testing code in patch for wxComboBox and wxListBox that
only compiles with configured with --enable-debug


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 18:50:12 +00:00
Vadim Zeitlin
5d987909a8 moved button handler into the modeless dialog itself - at least like this it works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 23:01:17 +00:00
Gilles Depeyrot
94e2ed3b8d corrected CodeWarrior project target names and generated application names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:29:21 +00:00
Julian Smart
e9799102dd Fixed project files for regex.lib, taking the regex C files out of the main wxvc.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-10 17:03:02 +00:00