Commit Graph

1865 Commits

Author SHA1 Message Date
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