Commit Graph

2100 Commits

Author SHA1 Message Date
Stefan Csomor
44ba8f0ea9 not necessary anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 18:37:08 +00:00
Vadim Zeitlin
e7d41190e0 added tests for wxString::To/FromAscii
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 15:07:51 +00:00
Julian Smart
b9f933ab5d Applied patch [ 597398 ] Generic MDI, wxNotebook based.
By Hans Van Leemputten (hansvl)

- This patch implements a generic notebook based mdi,
due to that wxMDIChildFrame could not derive from
wxFrame some things in the samples and in the docmdi
classes needed to be adjusted... basically this comes
down to not do (wxFrame *) but instead do
(wxMDIChildFrame *), or store a pointer to the frame in a
wxWindow* instead of a wxFrame variable...

- The main reason wxMDIChildFrame cannot derive from
wxFrame is that it would take to much platform specific
functions to be overwritten (= lot of ifdef's). This then
couldn't be called generic anymore, so that's why we
need to derive from wxPanel...

- Tested on/with:
1. wxMSW (I disabled the MSW MDI implementation to
be able to test it), tested it with the MDI sample,
docvwmdi sample and docview sample and also tested it
with wxWorkshop. (test = compile and run)
2. wxX11, tested with the same set wxWin samples as
the wxMSW test. I also compiled wxWorkshop with it,
but could not run wxWorkshop due to some issue not
related to the MDI implementation.

- How to apply:
* Apply the patch
* move mdig.cpp into wxWindows/src/generic/
* move mdig.h into wxWindows/include/wx/generic/

- Some extra things that still need to be done:
* File lists, project files should be updated to include
mdig.cpp (the patch only change this on wxX11)
* The configuration script should be updated.
* Maybe wxUSE_GENERIC_MDI_ARCHITECTURE also
should be added so it is only included when wanted...




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 09:09:55 +00:00
Julian Smart
316df2f209 Removed an old email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-19 10:03:20 +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
Julian Smart
af1337b041 Applied [ 594925 ] Implement wxArtProvider and XRC together
By Robert O'Connor (robertoconnor)

This patch is a draft which successfully allows a wxArtProvider to serve out icons to bitmaps for XRC files.

The syntax to use a wxArtProvider bitmap is:
<bitmap stock_id="wxART_INFORMATION" stock_client="wxART_TOOLBAR">somefallbackicon.png</bitmap>

The bitmap is optional, and will only be used as a fallback image, if the wxArtProvider returned a wxNullBitmap for some reason.

The client attribute, if not specified, currently will be wxART_OTHER. Perhaps there should be a guessing heuristic of it being in a menu node to call wxART_MENU.

Usage of XRC resouces and wxArtProvider together can be seen in an updated /contrib/samples/xrc demo, which is a separate patch.

Search the wx-dev mailing lists for "wxArtProvider" and "XRC" for the full discussions on this feature's API design.

Applied patch [ 594932 ] Extended XRC XML resources sample
By Robert O'Connor (robertoconnor)

This is a more comprehensive introduction to how to get up and running using XRC in your new wxWindows project.

It describes both the basics (for new users) and advanced features. It consists of a demo of dialogs and frames loaded from XRC. Each dialog has a textctrl at the top of the dialog, which walks the new user through that feature.

There are 8 demos:

The 4 basic ones:
-A non-derived dialog, as typically used for an about dialog.
-A derived dialog that loads its resources from an XRC (a frequently-asked question on the mailing lists), and responds to some simple events, including the disable-another-control-via-EVT_UPDATE_UI that is another FAQ, and powerful and simple-to-use feature.
-A XRC reference "Controls" dialog, using a notebook. Each tab has a single control. All XRC handled widgets can be seen at a glance, and how to use them under XRC.
-An uncentered dialog, to demonstrate the easy use of <centered>1</centered> to automatically place a Dialog centered on its parent..

The 4 advanced ones:
-Embedding a custom class into an XRC dialog, by using the "unknown" class.
-Using wxArtProvider to use stock icons from within your your XRC resources.
-Using the platform attribute to selectively show a part of XRC based on the current OS.
-Runtime variable expansion (demo only. Not implemented at this time).

Also:
-The main frame is now demonstrated as being loaded as an XRC.
- The toolbar has longhelp tag demonstrated, and are hooked up to the same events as the menu to show how XRCID() works on the same tool and menuitem XRCID.
-Some custom icons for the demonstration were created, and put into the toolbar and menubar. A custom icon also for the demonstration.
-The example code has been put in 1 class per file (both .cpp and a matching .xrc), to make it much less confusing for a newcomer to figure out what class is what, expecially with all the wx macros for declaration and implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 11:24:46 +00:00
Vadim Zeitlin
3957448a34 added a command to delete last page and not only the current one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-16 00:09:29 +00:00
Robert Roebling
27ff87da23 Fix to not break GTK2 output. (wxLogMessage bug).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-15 20:48:02 +00:00
Stefan Csomor
db9e27177f updated project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-12 05:28:46 +00:00
Robert Roebling
92980e9076 Changed wxStat, wxAccess and wxOpen to no longer
being just a define so that the signature is
    using wxChar under Unicode under Unix just as
    it does under Unicode under Mac. This required
    some modification in various places, but should
    make debugging a little easier, among others.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-08 21:44:50 +00:00
Mattia Barbon
508d586ea2 Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses:
  printf-format warinigs
  indentation/style
  unused variable warnings
  used wxID_ABOUT for about menu entry
  removed references to "minimal sample" in other samples
  some other misc warinigs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:16:15 +00:00
Mattia Barbon
aec18ff785 Patch [ 584078 ] Misc samples fixes from Dimitri Schoolwerth
Addresses:
  printf-format warinigs
  indentation/style
  unused variable warnings
  used wxID_ABOUT for about menu entry
  removed references to "minimal sample" in other samples
  some other misc warinigs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:12:24 +00:00
Julian Smart
2a0e49a46e Added wxComboBox to scroll test to demonstrate Mac problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-29 19:17:44 +00:00
Stefan Csomor
11b3bc3a94 changed library include to use relative paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-26 07:13:53 +00:00
Vadim Zeitlin
ba0abe3c71 added test for toggling the main toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 14:08:39 +00:00
Vadim Zeitlin
73028c4b8c fixed small memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 20:44:11 +00:00
Vadim Zeitlin
d847e69ac7 fixed crash in text ctrl log on exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 18:44:15 +00:00
Vadim Zeitlin
76645ab3e5 fixed notebook sample page creation for wxGTK (patch 581280)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:43:09 +00:00
Vadim Zeitlin
1944ad7618 1. more consistency in wxTree/ListEvent methods naming convention:
GetKeyCode() instead of GetCode()
2. wxTreeEvent::GetKeyEvent()::IsAltDown() now works under MSW
3. wxTreeEvent::GetKeyCode() works for alnum keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-21 14:29:13 +00:00
Julian Smart
a536e41102 Applied patch [ 573644 ] wxDisplay for Mac (again)
Applied patch [ 573172 ] Implements wxDisplay for mac
Applied patch [ 573356 ] wxDisplay for MSW

Alterations:
Put sample in regular samples, not contrib
Removed multimon.h for copyright reasons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 20:42:34 +00:00
Julian Smart
c1dfe27754 Applied patch [ 581280 ] Revamped notebook sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-19 19:57:58 +00:00
Vadim Zeitlin
eb671557a8 added a stupid wxProcess::Open() test -- it can't be really used for now though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 19:54:21 +00:00
Vadim Zeitlin
6faed57df6 added SetSashPosition() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-12 13:23:53 +00:00
Vadim Zeitlin
580d78b34b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-10 14:11:05 +00:00
Vadim Zeitlin
d79b005a94 report the sider events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 23:33:46 +00:00
Julian Smart
264a108642 Simplified helpview sample again and removed bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-09 10:38:51 +00:00
Vadim Zeitlin
9602d7ae69 made the validation message more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-08 16:35:52 +00:00
Julian Smart
7414c52cd0 Added USE_ALTERNATE_UI symbol to helpview.cpp.
Set to 1 to:

- provide different icons.
- add an open file icon for the toolbar.
- use a flat toolbar style.
- show a file selector if no file was given on the command line.
- remove 'Help:' from the title bar.

Set to 0 to revert to previous behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-07 21:48:30 +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
ffc45b6793 corrections to exiting the program, now we should wait for all threads to finish but not crash nor freeze
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-01 14:55:39 +00:00
Gilles Depeyrot
da16524e9d added static library Project Builder project for wxWindows
added Project Builder project for minimal sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-30 18:08:29 +00:00
Gilles Depeyrot
3212043402 ignore Project Builder build directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-29 11:45:13 +00:00
Václav Slavík
a5faf8d963 added some regression tests for wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-26 19:10:08 +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
Julian Smart
c0b8a8b9cc Applied patch [ 571965 ] update stc contrib stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 14:01:57 +00:00
Julian Smart
b2261c5bb8 Applied patch [ 566194 ] Adds taskbar sample to configure-targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:55:20 +00:00
Julian Smart
06aa2a5508 Added taskbar sample Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-23 13:53:15 +00:00
Vadim Zeitlin
99a5af7f72 added wxMemoryOutputStream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 22:07:13 +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
Chris Elliott
fa89fbe54f svg Unix fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-21 09:46:32 +00:00
Vadim Zeitlin
d1148d2418 tried to fix a race condition in the sample, not sure if I really did it though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 22:25:01 +00:00
Julian Smart
13a2eea0f5 ifdefed out Offset call for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-20 11:46:58 +00:00
Chris Elliott
cdf3a589b2 wxSVGDC class test sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-19 09:16:19 +00:00
Chris Elliott
d440dda1e0 minifram sample modified to use XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:21:52 +00:00
Chris Elliott
0ed1d09c46 comment added to toolbar to say using BMPs uses less pace than XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:08:07 +00:00
Chris Elliott
6f4aae6098 treectrl sample modified to use XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-14 10:05:01 +00:00
George Tasker
aaf0836c8b Enhanced the DataTypeSupported() function to show the native data type name that is being automatically used by the wxODBC class column types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-13 17:51:56 +00:00
Vadim Zeitlin
204dd9a771 added clipping test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 16:15:41 +00:00
Chris Elliott
d04d32c4ec removing bitmaps from mdi sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 11:56:01 +00:00
Václav Slavík
bd0a577993 updated wxXRC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-12 10:33:21 +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
9475670f13 typo in dir enum test code fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-08 18:30:27 +00:00
Vadim Zeitlin
f06ef5f4a3 more MIME tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 19:56:57 +00:00
Julian Smart
8f2a41e964 Added USE_SIMPLE_HELP_PROVIDER symbol to help demo so we can test
wxSimpleHelpProvider under Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-07 08:47:39 +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
bebe1443c9 commented out some strange test code which resulted in memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 12:48:17 +00:00
Vadim Zeitlin
94ccc2540c added tests for the focus events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-31 13:49:56 +00:00
Vadim Zeitlin
8fb97d468b use new style ctor for wxFontDialog (patch 561411)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:52:49 +00:00
Vadim Zeitlin
76106901f6 added more spin event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 12:46:41 +00:00
Vadim Zeitlin
efe23391ab added test for EditLabel, Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-26 10:53:51 +00:00
Vadim Zeitlin
51b07644bb added test for loading image from wxMemoryStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-24 22:23:24 +00:00
Vadim Zeitlin
6307da56b8 added \\server\dir\filename.exe test case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:48:15 +00:00
Vadim Zeitlin
149147e1b7 added wxDir::Exists() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-22 22:28:34 +00:00
Vadim Zeitlin
ceeb12f25d refuse to run if not executed by the main configure script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-18 23:36:55 +00:00
Julian Smart
946fb2b9dd Initialized control member pointers and checked for null pointer
to make controls sample run on MacOS X again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 14:05:12 +00:00
Julian Smart
59b9edf0b3 Initialized the controls on the widgets spinbutton page
and checked for NULL in one of the event handlers, since
on the Mac the event handler may be called before the
control is properly initialized
Tested for an empty string in Mac's textctrl.cpp
else we get a crash if there is nothing in the text control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-14 11:28:13 +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
Julian Smart
5f9ab82db2 Don't use context id for context help since it doesn't seem to be working at present
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 12:47:54 +00:00
Vadim Zeitlin
0146a47e4d added the test for GtkText inside wxYield crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-12 11:28:31 +00:00
Vadim Zeitlin
2104ba3194 fixed zlib compression test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-11 15:09:10 +00:00
Vadim Zeitlin
ba6ea19e4f some warnings fixed, checks for various wxUSE_XXX added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 19:21:42 +00:00
Vadim Zeitlin
2604e11777 renamed Wiztest.bmp to wiztest.bmp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 15:16:33 +00:00
Vadim Zeitlin
14494b5b29 fixed compilation error when x-compiling (patch from Fabian Wenzel)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-10 12:56:51 +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
df7d383fc5 tests for multiple selection check listboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 21:58:04 +00:00
Vadim Zeitlin
9cb47ea276 added build options check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 15:59:07 +00:00
Gilles Depeyrot
0f15e00bcb updated CodeWarrior 5.3 exported xml projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 12:38:11 +00:00
Vadim Zeitlin
13cd17453c test that static text and box get the click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-09 00:28:36 +00:00
Jouk Jansen
0df4f2ffa0 Committing in .
updates for OpenVMS

 Modified Files:
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/motif/clipbrd.cpp
 Added Files:
 	wxWindows/samples/db/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-08 12:42:24 +00:00
Gilles Depeyrot
c924182a96 ignore CodeWarrior output files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-07 19:52:16 +00:00
Vadim Zeitlin
98dd66cf4f fixed compilation and added a test for OnErase() to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 21:31:08 +00:00
Julian Smart
a9d171bd00 Doc tweaks
Added back mouse sensitivity to wxStaticText
Added code to widgets sample to test for sensitive wxStaticTexts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-05 09:35:44 +00:00
Gilles Depeyrot
f7435c322d added missing include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-03 19:43:17 +00:00
Stefan Neis
f74a90b35c Minor changes to test/show expanded array functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 15:34:22 +00:00
Vadim Zeitlin
2245b2b2c3 changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMove flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:30:54 +00:00
Vadim Zeitlin
501d2dd13e added a (commented out) example of how to force the default action to be move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 13:34:40 +00:00
Vadim Zeitlin
82cf15a4d4 removed a wxPaintDC::Clear() fatal to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 13:28:08 +00:00
Václav Slavík
40e2d13434 use XML namespace in XRC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-27 22:59:02 +00:00
Vadim Zeitlin
3dc0174140 fixed array tests compilation and a bug in obj array test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 21:59:23 +00:00
Vadim Zeitlin
5886ecc2f0 added VC++ project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 20:34:25 +00:00
Robert Roebling
c5e4ef4ef2 Added sample to reproduce resize display bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 19:38:48 +00:00
Robert Roebling
5ebcf581f6 Added background inheritance to wxUniv.
Added sample to show this...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-26 18:28:30 +00:00
Julian Smart
58ec225526 Added some missing wxTextCtrl features to to-do list in wxX11's readme.txt
Made the wxTipDialog fonts all Swiss (TODO: use current GUI setting for
the font family)
Worked around focus anomaly by suppressing parent's FocusIn event
when child's focus is being set by clicking on it (TODO: move some of this
to SetFocus() to make it work programmatically)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 14:33:07 +00:00
Julian Smart
4cae9a20a8 Fixed drawing sample compilo for wxMotif (doesn't have wxRegion::Offset)
Put m_ok earlier in SelectBitmap, else get assert after SelectObject(wxNullBitmap)
'Fixed' longlong to long conversion messages by redefinging GetMillisecondsTime


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 11:19:11 +00:00
Julian Smart
9fd9e47a93 wxUniversal fixes:
window.cpp's WM_CLOSE now calls Close() for wxUniv, else dialogs/
frames won't get closed using system menu/button.
Added missing NULL init for m_artProvider in themes to cure crash
Added 2 sample dsp files for wxUniv (not ideal perhaps but
it will save these getting lost, and much user frustration)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-22 09:09:40 +00:00
Vadim Zeitlin
ff8ebfaf5d compilation sample in !WXWIN_COMPATIBILITY_2_2 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 23:30:23 +00:00
Vadim Zeitlin
e94ff4cbf1 fixed logic in limiting spin ctrl values (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-20 10:00:36 +00:00
Ron Lee
566d84a7c3 Added knowledge of virtual size to wx(Scrolled)Windows, they can now
manage their own scrollbars with the help of a sizer or other user
clues (SetVirtualSizeHints) without the need for an ancillary container.
Added SetSizerAndFit convenience method.
SetSizer now enables/disables AutoLayout automagically.
Logic bugfix for scrollsub sample.
Syntax bugfix in parser.y.
Compiler warning fix in textctrl.cpp.

 Modified Files:
    docs/latex/wx/scrolwin.tex docs/latex/wx/sizer.tex
    docs/latex/wx/window.tex include/wx/scrolwin.h
    include/wx/sizer.h include/wx/window.h
    include/wx/generic/scrolwin.h include/wx/gtk/scrolwin.h
    samples/scrollsub/scrollsub.cpp src/common/parser.y
    src/common/sizer.cpp src/common/wincmn.cpp
    src/generic/scrlwing.cpp src/gtk/scrolwin.cpp
    src/msw/textctrl.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-19 22:12:38 +00:00
Robert Roebling
8f4a9a1025 Moved mobile dir.
Made enable-no_rtti etc NO default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-18 16:41:35 +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
Vadim Zeitlin
d5172a588c added wx/ipc.h and used/documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-15 18:24:46 +00:00
Vadim Zeitlin
cd5e929815 test wxExecute() in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 19:05:11 +00:00
Robin Dunn
671bcff5bf Added test showing problem with small grids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 16:31:38 +00:00
Julian Smart
bb28b47763 Applied docview patch
Removed richedit sample compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-12 13:15:44 +00:00
Vadim Zeitlin
a5b7374f31 added more GetPath() tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-11 12:21:42 +00:00
Vadim Zeitlin
0545d965de added another size to the status bar display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 23:55:38 +00:00
Vadim Zeitlin
d769e8ebe0 made one button label multiline for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 19:40:37 +00:00
Julian Smart
171fe25be9 Removed redundant project file
Updated release scripts
Reduced widgets sample size
Put back some conditional compilation for dir ctrl style


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 14:40:22 +00:00
Vadim Zeitlin
677eff077e fixed a bug in wxStopWatch::Pause() (wouldn't pause if called immediately after Start()) and changed Pause()/Resume() calls to nest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 10:35:35 +00:00
Julian Smart
7b12790064 Made widgets sample take up less space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-09 10:31:37 +00:00
Julian Smart
4d50d6840a More BC++ makefile tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 17:15:58 +00:00
Vadim Zeitlin
605625f51e added the keyboard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 16:02:30 +00:00
Julian Smart
2246169a3f Added makefiles to widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:21:36 +00:00
Julian Smart
9f24e0b5b4 BC++ 32-bit makefile now copies setup.h to the correct place
Fixed compilo in treetest.cpp
Fixed version numbers in make*.env
Added dummy keyboard.rc so makefile.vc works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 14:12:56 +00:00
Vadim Zeitlin
59db511380 report all ASCII keys, not just the US-ASCII ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 13:35:36 +00:00
Julian Smart
c1ef9cdb46 Added further keyboard sample makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 11:34:40 +00:00
Vadim Zeitlin
31205f361b Unix makefile for the new sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 10:55:00 +00:00
Stefan Csomor
6cc687bfee new makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-08 09:27:24 +00:00
Julian Smart
15bee36fdf Removed leaks from Forty demo
Added VC++ project file for artprov sample
Updated file lists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:12:45 +00:00
Vadim Zeitlin
62fa9712a0 added option to show the raw key codes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 21:02:10 +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
7de7aed440 added a new sample to show the key events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 18:08:25 +00:00
Vadim Zeitlin
04c4c93f00 compilation fix for USE_PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:28:56 +00:00
Vadim Zeitlin
191edeb5fb removed Robert's test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 17:20:09 +00:00
Robert Roebling
05c8d6df81 Test case for MSW display corruption in 2.3.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 12:05:38 +00:00
Václav Slavík
142b3bc26a added wxFontMapper::Get/Set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:04:27 +00:00
Václav Slavík
8174ffaed2 more samples/artprov stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 15:01:43 +00:00
Václav Slavík
ccb42cc5c8 added resources browser to wxArtProvider sample (similar to the one from gtk-demo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 14:55:16 +00:00
Vadim Zeitlin
2db991f457 minor fix to wxFileName::MakeRelativeTo(), removed broken and misleading IsWild() method, added IsDir() one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-05 11:14:09 +00:00
Vadim Zeitlin
9c05a3ca23 use full 32bit range for the process ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-04 18:04:54 +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
Vadim Zeitlin
c112e10026 changed wxCondition API to take a reference, not pointer, to wxMutex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 15:37:57 +00:00
Julian Smart
f88c1a172e Added FloodFill patch for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:47:02 +00:00
Vadim Zeitlin
4c1ef4220f use the new API in the sample as it's more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 21:31:58 +00:00
Robert Roebling
34d26f42b1 Rewrote wxToolBar another time.
Other minor tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-30 21:18:39 +00:00
Robert Roebling
b5a49d4c52 A bit of scrolling works under GTK 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 18:01:50 +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
Vadim Zeitlin
a2fa504087 basic wxFileName functions seem to work under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 00:29:13 +00:00
Vadim Zeitlin
0e2c5534fe added test of wxFSVolume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 23:31:51 +00:00
Vadim Zeitlin
6dbb903bb9 wxFileName::Get/SetTimes() finally seem to work under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 23:17:41 +00:00
Vadim Zeitlin
39d580f7dc minor cosmetic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 19:00:49 +00:00
Vadim Zeitlin
f565a6c2f4 Unicode compilation fixes (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:45:20 +00:00
Vadim Zeitlin
4ccf704abd removed a few warnings and CW compilation problems (patch from Dimitri)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 18:43:13 +00:00
Vadim Zeitlin
a4b5932472 added wxExecute tests and a few other misc additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-27 17:15:13 +00:00
Václav Slavík
0c874f87e5 wxhtml.rc not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:25:30 +00:00
Vadim Zeitlin
c631abdae9 made radio buttons and the toolbat text work for Win32 toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 00:44:57 +00:00
Václav Slavík
12fd305bcd added skeleton of wxArtProvider sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:28:46 +00:00
Václav Slavík
c0b3964149 added wxArtProvider sample (not yet finished)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 23:28:07 +00:00
Vadim Zeitlin
ec483b11bb tests for the new toolbar features (icons text and the radio buttons)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 21:38:45 +00:00
Vadim Zeitlin
ac511156ea some UTF8 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-25 15:25:11 +00:00
Václav Slavík
2bc524f358 dirty fix for even dirtier memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 15:50:57 +00:00
Václav Slavík
368d59f0d8 don't use deprecated wxImage methods inside wxWin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:22:15 +00:00
Václav Slavík
389d906b21 don't use wxApp::GetStdIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:21:26 +00:00
Julian Smart
e564aa153e Removed helpwxht.h/cpp (old wxHelpControllerHtml class)
and updated makefiles accordingly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-22 22:29:20 +00:00
Václav Slavík
b280349d22 added icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:46:10 +00:00
Václav Slavík
d9a26b2bc9 wxhtml.rc no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 23:45:25 +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
Julian Smart
618f2efa41 Added __WXX11__ tests where appropriate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-21 10:32:18 +00:00
Julian Smart
a5e635be3d Fixed controls.cpp for wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-20 11:17:13 +00:00
Václav Slavík
5cb0e7ad18 updated samples/html/widget to avoid confusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 23:40:37 +00:00
Vadim Zeitlin
818503a182 show the standard wxWin fonts (modified patch 530698)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-19 15:01:44 +00:00
Vadim Zeitlin
d65c269b3f 1. implemented radio menu items for wxGTK
2. changed (in most cases blindly) code for all the others
3. added wx/features.h
4. update wxMenu[Item] docs

----------------------------------------------------------------------
Committing in .

Modified Files:
	distrib/msw/tmake/filelist.txt docs/changes.txt
	docs/latex/wx/menu.tex docs/latex/wx/menuitem.tex
	include/wx/defs.h include/wx/menu.h include/wx/menuitem.h
	include/wx/gtk/menu.h include/wx/gtk/menuitem.h
	include/wx/mac/menuitem.h include/wx/motif/menuitem.h
	include/wx/msw/menuitem.h include/wx/os2/MENUITEM.H
	include/wx/univ/menuitem.h samples/menu/menu.cpp
	src/common/menucmn.cpp src/gtk/menu.cpp src/mac/menuitem.cpp
	src/motif/menuitem.cpp src/msw/menuitem.cpp
	src/os2/MENUITEM.CPP src/univ/menu.cpp
Added Files:
	include/wx/features.h
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-18 19:41:35 +00:00
Gilles Depeyrot
0f9390c3c5 added wxMAC and wxMOTIF to title conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:27:10 +00:00
Vadim Zeitlin
2f6c54eb07 patch from Dimitri fixing a few memory leaks and unTABbing the sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 14:16:03 +00:00
Václav Slavík
45647dcf10 Chris' wxImage::SaveFile(filename_only) patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 11:35:32 +00:00
Václav Slavík
24dcb6daf8 my previous commit corrupted the catalogs, reverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-17 00:51:05 +00:00
Vadim Zeitlin
11ab1dfbfe enhanced sample to show the state of the different styles, added reset to default command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 15:10:43 +00:00
Vadim Zeitlin
75cd928833 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-16 13:49:40 +00:00
Václav Slavík
ddb0baa06d Did two changes to sample catalogs:
1. converted Russian one to utf-8 (as a demo of new feature)
2. filled-in headers, so that a) it works b) we don't teach users bad habits


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-15 23:30:26 +00:00
Julian Smart
16e8bf31bb Removed duplicate WM line from motif/frame.cpp
Added window style to minimal sample
Failed attempt to get border-only toplevel window style


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 10:21:07 +00:00
Julian Smart
4b2424bcad treectrl -> treetest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:23:49 +00:00
Julian Smart
ec312631c6 Finally reverted treectrl name back to treetest after a long
history of problems with the name clash. This cures a link problem
with the sample compiled with wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 12:22:02 +00:00
Vadim Zeitlin
4c6b8d9e6f no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 22:44:39 +00:00
Vadim Zeitlin
62313c2788 right clicking outside any column sets the column in the list event to -1, not the last column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-11 12:32:56 +00:00
Václav Slavík
2e25e7b762 let the sample display existing page on start
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:43:39 +00:00
Vadim Zeitlin
df0dc216ad fixed typo (missing comma) in MIME test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 16:33:54 +00:00
Vadim Zeitlin
19f45995fb fixes for non interactive execution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 23:18:43 +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
Vadim Zeitlin
2b69aeaa92 removed the SetMargins call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:08 +00:00
Vadim Zeitlin
e3603065fd fixed error in mouse capture test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 15:21:13 +00:00
Julian Smart
16c9a4258f Fixed conflicts with Robert's similar fixes; fixed toolbar size calculation
and allowed for vertical toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:04:46 +00:00
Robert Roebling
f809133f9e Added expose event compression.
Made wxUniv scrollbars not accept any focus
    if they are owned by the window (in contrast
    to stand alone scrollbars).
  Further corrections to ScrollWindow()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 16:23:43 +00:00
Robert Roebling
e88be8c942 More tests in erase sample.
Added wxControlStr to data.cpp.
  Fixed scrolling for window with a border. The
    area which was copied was off by the border
    width sometimes.
  Added two more AddTool() variants to wxToolBar
    when used with universal. It compiles now,
    but doesn't work...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 11:06:55 +00:00
Vadim Zeitlin
ccef86c75d added EVT_MENU_OPEN and EVT_MENU_CLOSE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Vadim Zeitlin
7ab2c081d0 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:56:55 +00:00
Robert Roebling
9691c806e6 Implemented a simple modality under X11.
Filled wxDataFormat and wxDataObject etc.
  Added skeleton for X11 clipboard.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:26:16 +00:00
Robert Roebling
cbc906ceb7 Added new stream tests to typetest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:57:11 +00:00
Julian Smart
461e93f921 wxUSE_CONSTRAINTS now refers to constraints only, since sizers
are now crucial to wxWindows. Further Nano-X fixes; now
compiles and links in Nano-X mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:36:48 +00:00
Vadim Zeitlin
b795f9ca5f added a menu item to toggle live splitter update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 15:09:45 +00:00
Vadim Zeitlin
74c57d1ff6 fixes to handling of 0 and negative splitter position when splitting it initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:48:02 +00:00
Vadim Zeitlin
d88a24858a added tests for setting fg/bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 17:41:39 +00:00
Vadim Zeitlin
5c7766de90 added commands to rename the menus and menu items for testing various characters in the menu labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 16:41:35 +00:00
Václav Slavík
f7b0208507 added an image to wxHTML printing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 23:58:39 +00:00
Robert Roebling
887dd52f06 Added more wxRegion tests to erase sample.
Implemented "clear now, paint later".
  Corrected colour-by-name lookup.
  Corrected DrawRectangle code which produced
    redraw garbage under wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:13:23 +00:00
Robert Roebling
f566b4fe82 Put a wxRegion test into the erase sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 17:54:35 +00:00
Václav Slavík
fd94e8aa45 A couple of changes to wxImage:
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
   (with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
   to pass wxIMAGE_OPTION_FILENAME to all saving handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Julian Smart
e334d0eac8 Include XPM under wxX11 for some samples; added comment about
non-working images in dragimag sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 12:32:50 +00:00
Robert Roebling
a11672a469 wxX11:
Lots of wxBitmap et al work.
     Adapted wxIcon, wxCursor to this.
     Split wxApp init things up so that the
       X11 display is available sooner.
     Changed initial display code accordingly.
     Corrected wxDC::DrawBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 08:38:54 +00:00