Compare commits

..

2237 Commits

Author SHA1 Message Date
Bryan Petty
c85f586b8c This commit was manufactured by cvs2svn to create tag 'oglgdiptr'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/oglgdiptr@12492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:41:48 +00:00
Robin Dunn
08da19d737 SWIGged code uodates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:41:48 +00:00
Vadim Zeitlin
6f36917bbf fixed a memory leak and an initialization problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 20:31:44 +00:00
Mattia Barbon
a95821781b Fixed Cygwin crash on toolbar tooltip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 18:58:04 +00:00
Mattia Barbon
e757496edf Added HANGUL_CHARSET for MSVC5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 18:57:00 +00:00
Julian Smart
3390b9ef88 More VC++ project file corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 17:47:23 +00:00
Julian Smart
a059a1f2e2 Corrected ViewStart problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 16:07:18 +00:00
Julian Smart
5638d705f5 Project file corrections, doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 16:05:55 +00:00
Vadim Zeitlin
8d6854a63a fixes for the dialog layout for the multiline labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 14:00:10 +00:00
David Webster
e652fdd527 New .def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-19 04:05:08 +00:00
Vadim Zeitlin
f97500b80d fixes for wxEvent and wxKeyEvent operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 23:08:00 +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
Gilles Depeyrot
01f944e67e use class name instead of generic message in event related assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 22:28:11 +00:00
Stefan Csomor
ccf0e7f6d4 added a preImage of the selection in order to avoid unnecessary events being triggered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 18:52:47 +00:00
Stefan Csomor
f47db8f067 corrected MacSetSelection which was incorrectly deselecting also the previously selected line when using multiselect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 18:14:07 +00:00
Robert Roebling
8e72b8b517 This form of the event cloning patch survived my
thorough stress testing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 12:42:45 +00:00
Gilles Depeyrot
d5939a20fd replaced HAVE_MALLOC_H with !__DARWIN__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 12:32:15 +00:00
Gilles Depeyrot
ad05396006 corrections for compilation under Mac OS X
removed invalid '#pragma interface' in source files (instead of headers?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 12:25:12 +00:00
Robert Roebling
52b64b0a78 Applied Chris' patch for support for ICO loading.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 09:43:06 +00:00
Gilles Depeyrot
990578f892 removed include/wx/mac/setup.h from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 08:00:07 +00:00
Gilles Depeyrot
96e169b523 removed duplicated prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 07:29:36 +00:00
Gilles Depeyrot
49a47c50be added missing include (for instance, needed in the calendar sample for wxMotif)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 07:28:45 +00:00
Ron Lee
c00f8e638a Removed include/wx/setup.h from filelist.txt -- Needed for autotools build,
I don't _think_ it will break anything else..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 02:57:51 +00:00
Ron Lee
88e30f2b71 Don't add -MMD until we are just about ready to build the lib, it messes with
configure tests for RH's broken '2.96' compiler, and really doesn't belong
in CFLAGS before then anyway.

Made wxBaseArray dtor always non-virtual.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-18 02:11:19 +00:00
Robert Roebling
9864c56ded More changes to various controls for more reliably
preventing them from emitting event when their
     state was changed programatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:50:58 +00:00
Gilles Depeyrot
bc87fd68e3 added const for constant char pointer function parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:18:43 +00:00
Václav Slavík
c1ec1ccf9a regenerated makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:15:08 +00:00
Václav Slavík
926592a8cf added temporary implementation of wxChoice for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 23:13:55 +00:00
Robert Roebling
bac957422a Changed/Fixed way in which wxListBox blocks events
after changing its state programatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 22:32:15 +00:00
Robert Roebling
c6ac78a61e Trying to fix dialog close/focus_widget problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 17:14:40 +00:00
Robert Roebling
e1f14d226f Fixed bug which prevented toplevel window from reacting
to a ::SetSize() call more than once.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 16:48:44 +00:00
Ron Lee
b36d8c8f11 cast away a couple of warnings and added *.inc to the MANUAL_DIST target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 15:36:48 +00:00
Robert Roebling
7eb0e0375f Added ::IsOk() to wxDataStream for error checking in
stream classes used by wxDataStream.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 13:23:10 +00:00
Robert Roebling
ba3f6b4436 Fixed sveral problems with wxTextCtrl::WriteText and AppendText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 12:54:48 +00:00
Ron Lee
a9241e6025 document the new *_USER_EXPORTED_ARRAY macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 11:48:34 +00:00
Ron Lee
7631414188 Added WX_DEFINE_*_USER_EXPORTED_ARRAY macros for external dlls.
updated debian scripts to build with python2.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 11:33:50 +00:00
Vadim Zeitlin
8001ecce19 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 01:23:13 +00:00
Vadim Zeitlin
648bec3ef5 implemented EVT_LIST_ITEM_FOCUSED() for Win32 wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-17 00:34:46 +00:00
David Webster
0cf6acbf26 Implementing some more controls and an MDI child frame fix for wxFrame.
Also include the textbuf class in the make.  New module definition file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 18:42:18 +00:00
David Webster
fb49f3b32e Implementing some more controls and an MDI child frame fix for wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 18:40:45 +00:00
David Webster
f6c2a6f418 TRUE and FALSE; not true and false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 18:39:54 +00:00
Vadim Zeitlin
1d2bd8475d moved wxNotebook events docs into a separate file included by both noteevt.tex and notebook.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 16:53:08 +00:00
Vadim Zeitlin
0ddefeb07f added wxEVT_COMMAND_LIST_ITEM_FOCUSED event and implemented it for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 16:31:17 +00:00
Vadim Zeitlin
e347320363 wxGTK popup menu positioning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 15:20:21 +00:00
Vadim Zeitlin
2a2ec35354 compilation fix for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 15:08:49 +00:00
Vadim Zeitlin
5e6e6e73d2 compilation fix for wxFrame under wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 15:04:59 +00:00
Ron Lee
7274f1c705 mainly the result of collapsing folds in vimdiff from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 13:09:52 +00:00
Vadim Zeitlin
a6c84d26fd Flush() argument should have a default value for compatibility with the other wxConfig versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 12:27:32 +00:00
Vadim Zeitlin
d728116a27 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 12:07:18 +00:00
Gilles Depeyrot
9d705dfa81 applied SourceForge patch #479670 (fixes for OpenGL samples) by Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 07:17:37 +00:00
Robin Dunn
a7c7c1549c Corrected wxPython notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 00:19:36 +00:00
Robin Dunn
7f3d6cbcfe Corrected the text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-16 00:01:38 +00:00
Robin Dunn
163f2606f8 Enhanced the DnD demo and made the code more informative.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:59:42 +00:00
Václav Slavík
1d965e2fb1 use XPMs in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:55:08 +00:00
Václav Slavík
b835e9bf49 optimalization of wxHtmlWindow painting (used to repaint areas invalidated when scrolling 3+ times)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:54:16 +00:00
Václav Slavík
88f2a7714a wxMGL bugfixes:
- timers weren't scheduled properly
- wxSizeEvent was sent even though the physical dimensions didn't change
- wxDC had bugs in device origin computations


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 23:50:04 +00:00
George Tasker
00d1538d29 Spelling typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 17:48:10 +00:00
George Tasker
eb165274cb Added the FTP site location for "extra.zip"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 16:08:59 +00:00
Robert Roebling
b2d1bc21c5 Small patch for HTML help under Drawin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 15:49:12 +00:00
Robin Dunn
00887b391b added some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 07:21:26 +00:00
Robin Dunn
7173744550 SWIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 04:59:26 +00:00
Robin Dunn
a7f1fbf609 Only update the mask if the mask is valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 03:07:39 +00:00
Vadim Zeitlin
a91cf80c60 moved EnableCloseButton() from wxialog to wxTLW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-15 02:21:43 +00:00
Václav Slavík
3cc2aa562f minor complitation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 23:19:03 +00:00
Robin Dunn
45b1027709 Updated manifest to include new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 21:43:04 +00:00
Vadim Zeitlin
a3a584a7a6 added wxTextBuffer and wxMemoryText which allow to use wxTextFile with in-memory data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 20:40:20 +00:00
Robin Dunn
00ca6262d1 A fix for when wxPython is compiled with no threads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:46:47 +00:00
Robin Dunn
80f7e6500b A bit of cleanup and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:43:55 +00:00
Robin Dunn
c70fd24fa8 wxComboBox does not derive from wxChoice in wxGTK so it can't in
wxPython either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 18:34:26 +00:00
Robin Dunn
742fc581e4 SWIGged files updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 05:22:45 +00:00
Robin Dunn
93283355d3 SWIGged code updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:11:15 +00:00
Robin Dunn
6c0168c945 Added missing wxImage methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:05:12 +00:00
Robin Dunn
edc2a0366a Cleanup of library dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:04:31 +00:00
Robin Dunn
101dd79ab6 Added new sizer methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:03:56 +00:00
Robin Dunn
7dbce44a33 Added wxFileHistory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:03:09 +00:00
Robin Dunn
b78b83ecb4 Added wxTextCtrl.GetStringSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:02:20 +00:00
Robin Dunn
f0db4f3850 some demo cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 04:01:42 +00:00
Robin Dunn
eef97940e8 GetSelection --> GetStringSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 03:50:11 +00:00
Robin Dunn
973983be62 A little fix for Vadim's fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 03:49:02 +00:00
Vadim Zeitlin
e444455c49 wxPopupWindow::GetPosition() should return point in screen coords now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:35:45 +00:00
Vadim Zeitlin
184144794d added wxTextCtrl::GetSelection() returning a wxString - useful for multiline controls under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:27:16 +00:00
Vadim Zeitlin
9327c3aa02 fixed wxFrame::IconizeChildFrames() bug which would restore the child frame even if it had been iconized before the main frame was
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-14 01:26:14 +00:00
Vadim Zeitlin
5e6a47f5a7 fixed wxFindReplaceDialog::Create() doc entry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 19:27:00 +00:00
Vadim Zeitlin
19a2deddc5 fixed bugs in rfind() (patch 481325)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 18:50:05 +00:00
Robert Roebling
84f7908b99 Applied patch from SF on menu command not blocked
if they are disabled but still emitted by an
    accelerator
  First attempt at adding wxSizer::Clear(). Further
     testing pending :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 16:21:04 +00:00
Robert Roebling
4494ad58e8 Patch to make wxComboBox work in Toolbars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 15:18:06 +00:00
Vadim Zeitlin
17271c793e fixed bug with redoing the command when there was nothing to redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 14:27:00 +00:00
Robin Dunn
0d1ace8697 SWIGged code update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 06:48:36 +00:00
Robin Dunn
a57d56d662 More fixes for wxPopupWindow.
More SWIGged code updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 06:43:26 +00:00
Robin Dunn
98624b49d3 Various other tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:18:00 +00:00
Robin Dunn
25b00b4e8c Passing None to an EVT_* function will Disconnect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:17:09 +00:00
Robin Dunn
c0c84fa088 Finally figured out wxPopupWindow, added to demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:16:03 +00:00
Robin Dunn
4deafe3122 Added some code to demonstrate a problem and a workaround in wxTextCtrl on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:14:05 +00:00
Robin Dunn
5e217089d4 New ErrorDialogs from Chris Fama
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:09:28 +00:00
Robin Dunn
5b119149c0 wxGLCanvas updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:08:53 +00:00
Robin Dunn
769eda42db fixed a typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 03:08:29 +00:00
Robin Dunn
56456d9faf SWIGged code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 00:33:56 +00:00
Robin Dunn
0d3859bf1e Fixed a little demo problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 00:32:39 +00:00
Robin Dunn
8a7f3379ba Added missing \ before _
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-13 00:17:42 +00:00
Gilles Depeyrot
a1c34a786a corrected Carbon to/from POSIX path conversions for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 20:32:23 +00:00
Gilles Depeyrot
3de71bc877 added parentheses (corrects smart preprocessor error under Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 20:19:07 +00:00
Ron Lee
024cad37e9 removed -static flag from wx-config --libs. It does more damage removing
fine-grained choice from people than it does to help them.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 01:22:56 +00:00
Václav Slavík
28edd9ef20 wxPanel::OnSize must call event.Skip(), otherwise scrollbars won't work in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-12 00:13:55 +00:00
Vadim Zeitlin
185d0094f8 fixed key event code for ASCII keys in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 20:39:28 +00:00
Vadim Zeitlin
7bfc22f614 some clean up, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:55:07 +00:00
Vadim Zeitlin
27d2cd5c96 fixed bug with creating status bar with more than 1 pane (needed resize to refresh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:52:45 +00:00
Vadim Zeitlin
c8b204e6fd bug fix for using multiline string (i.e. with embedded '\n's) in wxTextCtrl ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:27:35 +00:00
Vadim Zeitlin
3adc70bf87 fixed minor combobox bug: GetValue() reported wrong value when caleld from TEXT_UPDATED handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:19:59 +00:00
Václav Slavík
f9619ece1d fixed stupid big when assigning wxImage's palette to wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 19:00:25 +00:00
Václav Slavík
1acd70f921 wxTimer for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 18:59:30 +00:00
Vadim Zeitlin
08829b064c emphasize that wxFindReplaceDialog is always modeless
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-11 18:38:48 +00:00
Václav Slavík
f96f33629f minor fixs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-10 18:24:32 +00:00
Václav Slavík
cbe37d08c8 added app name to wxrcedit (forgot to commit this one long time ago...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-10 18:23:55 +00:00
Václav Slavík
8ca4684107 update to wxHtmlTag docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-10 18:23:46 +00:00
Robin Dunn
b6e5c4450a Added build instructions for OS X.
Added a very simple demo to help build functionality bit by bit.
Regenerated the files that needed SWIGging.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 23:19:16 +00:00
Vadim Zeitlin
e44d6a1f90 signed/unsigned comparison warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 18:11:44 +00:00
Vadim Zeitlin
c0ad3d42d5 removed focus assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 17:58:50 +00:00
Vadim Zeitlin
2a4c85e755 removed code (re)setting the camera from wxGLCanvas::OnSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 15:12:25 +00:00
Vadim Zeitlin
62b3ca69cf s/Chiniese/Chinese/g
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 10:29:51 +00:00
Vadim Zeitlin
8e7b0418f1 reset SourceSafe project name in the VC++ projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 10:19:31 +00:00
Vadim Zeitlin
695e43faf2 don't document wxBitmap::SetOk(), it's an implementation detail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 10:18:41 +00:00
Ron Lee
00c813596e make --static flag act on --cppflags too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 05:24:36 +00:00
Ron Lee
57964555cd We always add -lm (eventually) anyway, so just adding it to the GL lib test
should be sufficient.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 01:37:00 +00:00
Vadim Zeitlin
bc4e6fcdc3 applied DBCS patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:15:04 +00:00
Vadim Zeitlin
570cb8cb08 regenerated after -GL change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:13:09 +00:00
Robert Roebling
2710a096d1 Removed unused variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:00:18 +00:00
Vadim Zeitlin
fb56368aa0 add -lm before checking for -lGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-09 00:00:04 +00:00
Robert Roebling
e2762ff06a wxListBox mouse events now report coords relative
to the whole list box.
  wxRadioButton doesn't emit any event when unpressed.
  Similar correction to wxRadioBox and wxToggleButton.
  Upported change to wxMenuEvent so that the id is
     set in the constructor. Otherwise the EVT_MENU
     macro is pretty useless. Already in 2.2.8.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 23:24:16 +00:00
Mattia Barbon
6433f6d316 Last correction for makefile.g95: win32 mkdir does not like forward slashes as directory
separators.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 21:06:19 +00:00
Robin Dunn
ea6601756a Fixed wxSingleChoiceDialog to match the docs wrt the style flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 18:47:53 +00:00
Ron Lee
8c3abf985d create install dir for overrides.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 12:31:52 +00:00
Ron Lee
63e7762e67 wxUSE_GTK must stay quoted..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 12:25:49 +00:00
Ron Lee
3d63bc3a03 Rearrange the linker flags/libs code in preparation for better static/shared
support.  Added --static option to wx-config and removed most libs from
--libs output unless it is used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 11:24:04 +00:00
Ron Lee
f1687ed8ad add lintian override for -univ hybrid package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 02:31:40 +00:00
Ron Lee
180db90836 applied the bit's of #473508 that were still relevant, and fixed a couple of
others that either the patch missed or (more likely) were new since it was
made.  Thanks Francis.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-08 00:03:06 +00:00
Robin Dunn
32ce09e292 New XRCed from Roman Rolinsky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 16:13:35 +00:00
Robin Dunn
bd658b8c33 Show class type returned from HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 16:12:44 +00:00
Vadim Zeitlin
efd1393bcc applied a patch to ignore the modifiers (things like @euro) in LC_XXX vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 15:58:23 +00:00
Ron Lee
b96848d3aa added aclocal.m4 to dist target. Bad Things happen if it's missing
and you want to rebuild configure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 12:08:23 +00:00
Ron Lee
ba0e650ced oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 11:31:03 +00:00
Ron Lee
d48ad9bd84 More pesky "quotes" hiding in m4 macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 10:03:57 +00:00
Ron Lee
83dbe2eabb Put $(GENERICOBJECTS) back into configure.in for a while, there are still
other ports that depend on it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 09:47:20 +00:00
Jouk Jansen
abfcca57dd Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/distrib/msw/makefile.rsp
 	wxWindows/include/wx/dbgrid.h wxWindows/lib/vms_gtk.opt
 	wxWindows/samples/db/dbtest.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 Added Files:
 	wxWindows/samples/dialup/descrip.mms
 	wxWindows/samples/docview/descrip.mms
 	wxWindows/samples/font/descrip.mms

 dbgrid.h change as announced in the developer mailing list
 various OpenVMS complile issues

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 09:26:33 +00:00
Ron Lee
1d93af2fbf remove -lfoo.dll hack, it appears to be unnecessary after all.. don't ask.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-07 07:53:33 +00:00
Václav Slavík
223e7fbf29 beginnings of support for MGL shared library (it is crappy as hell in MGL, to begin with)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 23:54:15 +00:00
Mattia Barbon
d8bffc1335 * Fixed wxStaticBitmap::SetBitmap so that it does not ignore the mask
* Hopefully made possible use SetBitmap with as wxSB created with an icon
  and SetIcon with a wxSB created with a bitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 21:16:02 +00:00
Vadim Zeitlin
e37177c27b removed duplicated line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:45:18 +00:00
Vadim Zeitlin
66fa5a8c1f part of wxWizard loading from WXR patch I forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:34:36 +00:00
Vadim Zeitlin
4eb1fe9da6 fixed wxUniv/GTK linking by getting rid of GENERICOBJS and putting them into GUIOBJS/GUI_LOWLEVEL_OBJS instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:31:31 +00:00
Vadim Zeitlin
8b9c59052a compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 16:27:23 +00:00
Ron Lee
25d0687a6e Merged WXMSW_DLL_DEFINES and PICFLAGS, since they essentially do the same thing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 05:44:09 +00:00
Ron Lee
0d6e7df47c found another object that nobody appears to have ever used in a dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 05:10:16 +00:00
Ron Lee
41213f67af Brown paper bag fix to -lwx.dll in wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-06 02:36:39 +00:00
Gilles Depeyrot
612500804c use Unix line ending when compiled when the Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 21:08:03 +00:00
Gilles Depeyrot
f3ff38139d use Unix line ending when compiling with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 21:02:23 +00:00
Gilles Depeyrot
c31ad41d80 use Unix raise for wxTrap when compiling with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 21:01:46 +00:00
Gilles Depeyrot
4d293f8ef4 corrected path format for wxMac compiled with Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 20:20:14 +00:00
Vadim Zeitlin
461f203cbf more incompatible changes mentioned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 16:43:12 +00:00
Václav Slavík
90da9c3f3b forgot to update univ/toplevel.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 15:49:59 +00:00
Ron Lee
2da4f89277 renamed (gcc) wxMSW import lib name yet again. *.dll.a should be the
final choice for a while I think.
Removed mostly useless ELF style version numbers from .dll -- it's not
an ELF lib so no point adding cruft we can't use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 11:48:47 +00:00
David Webster
49dc8caac9 Listbox control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 03:22:45 +00:00
David Webster
217f0360ec Listbox control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 02:59:23 +00:00
David Webster
934dac2fd5 Listbox control code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-05 02:50:59 +00:00
Václav Slavík
49e885f807 fixed stupid bug in display mode error reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:33:19 +00:00
Václav Slavík
41b66be9c9 controls sample is now able to use default command line arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:33:09 +00:00
Václav Slavík
1f43b5c985 reworked display mode stuff once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:32:52 +00:00
Václav Slavík
240889a18c implemented late(r) initialization of wxUniv themes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 23:32:16 +00:00
Stefan Csomor
f78024a1f9 workaroung for handling problems because groupboxes are not included in the parent-child relationship in wxwindows in a geometrical correct way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 21:02:06 +00:00
Stefan Csomor
a3bf4a6263 added internal callback when toplevel windows move for opengl canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:54:39 +00:00
Stefan Csomor
fce5f505f1 added internal callback when toplevel windows move for opengl canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:42:33 +00:00
Stefan Csomor
4bf3cd97c6 added internal callback when toplevel windows move for opengl canvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:36:23 +00:00
Stefan Csomor
15913ebfdd corrected tooltip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 20:24:12 +00:00
Gilles Depeyrot
4b42290e0e corrected detection of wchar_t under Mac OS X/Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 19:30:34 +00:00
Gilles Depeyrot
9e392a09f1 added wcslen prototype declaration for Darwin/FreeBSD, wcslen is in wxchar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 18:46:43 +00:00
Gilles Depeyrot
219f4a6d0d added missing wxSTD for cout & cerr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 17:41:53 +00:00
Gilles Depeyrot
750c3a6d07 wchar/wcslen corrections for Darwin (same as FreeBSD)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 17:20:38 +00:00
David Webster
1bcf0c7d6e TRUE and FALSE, not true and false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 14:51:05 +00:00
David Webster
1a2076a2f8 Some compiler bug fixes, new .def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 14:49:22 +00:00
Gilles Depeyrot
eb99ae0b77 use 'cp -fp' instead of 'cp -p' to install programs/data under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 13:59:15 +00:00
Ron Lee
174d5c21ca Don't strip cross packages with native strip. All of them. Really.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 03:01:57 +00:00
Ron Lee
978f1259ac Backed out misguided 'build both' patch.
Reshuffled library name code into a slightly neater stack.

Added separate shared and static msw builds to .debs  :(
that makes 13 builds of the core lib alone required to create
all packages now..  (anyone want to donate me a fast MP box :)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 01:29:54 +00:00
Ron Lee
a0b0370119 More cross compiling fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:07:25 +00:00
Václav Slavík
634f6a1f0a implemented display mode setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:36 +00:00
Václav Slavík
c358c6601f implemented wxApp::Get/SetDisplayMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:15 +00:00
Václav Slavík
55176f44e2 oh, better interface to GetDisplayMode (Vadim was right; previous commit was by accident)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-04 00:00:06 +00:00
Gilles Depeyrot
b585338405 install apparently ignores -p option under Mac OS X, use cp -p instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 23:08:16 +00:00
Gilles Depeyrot
6054113a50 corrected install program for Mac OS X (use AC_PROG_INSTALL but add -p option
to INSTALL_PROGRAM and INSTALL_DATA in order to preserve modification dates)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 22:42:30 +00:00
Vadim Zeitlin
9ba53034e7 removed OnSetFocus() which doesn't exist any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:49:33 +00:00
Václav Slavík
1b4908dedc added wxApp::GetDisplayMode function for fullscreen ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:36:15 +00:00
Václav Slavík
c88040761c recently checked in patch was ignorant to wxUSE_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:36:01 +00:00
Václav Slavík
ea7682f015 oops, configure defined _WIN_IE instead of _WIN32_IE for cross-compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 21:35:21 +00:00
Robin Dunn
eedf876b34 Added wxPostscriptDC to wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:34:26 +00:00
Robin Dunn
00c64037fb A little tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:33:54 +00:00
Robin Dunn
b403ab005c Enabled wxPostscriptDC to be used in wxMSW, if wxUSE_POSTSCRIPT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 20:31:07 +00:00
Vadim Zeitlin
c5c528fc7f implemented Freeze/Thaw() for the generic listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 17:06:29 +00:00
Ron Lee
4fb788e466 Added static lib to shared build targets for wxMSW builds.
Added -dbg packages for msw-cross.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 13:00:52 +00:00
Ron Lee
d685354062 Tweaked config for weird static lib BSDism.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 11:29:05 +00:00
Ron Lee
77e1340840 Added separate import lib for msw .dlls
Removed useless mingw and cygwin options.
Fixed library naming for msw _gl and set 'unix' style names for cross
builds and 'windows' style for native builds.
Added $target to wx-config, and fixed lib/header dir exclusions.
Added -mwindows to wx-config output for gui libs.
Fixed wx-config to output import lib instead of dll for shared
msw builds.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 11:08:15 +00:00
Ron Lee
a0145564d0 added missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 05:14:32 +00:00
Vadim Zeitlin
8c290175b3 don't send fictious menu events when another WM_COMMAND occurs while a popup menu is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-03 00:34:44 +00:00
Václav Slavík
2f7adba06f mingw compilation fixc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 23:33:08 +00:00
Robin Dunn
b66824a572 wxPython updates to match recent updates to wxCalendarCtrl, wxGrid,
and wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 23:21:45 +00:00
Stefan Csomor
eea0ecad6e corrected findfirst/next on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 22:00:54 +00:00
Robin Dunn
ab11ebfa19 wxPython updates to match recent updates to wxCalendarCtrl, wxGrid,
and wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 20:56:23 +00:00
Gilles Depeyrot
eb5420bf25 updated and renamed CodeWarrior 5.3 project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 20:52:13 +00:00
Stefan Csomor
9673f535ac corrected rebuild of more than one-level hiearchical menus when not directly added to the current menubar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 20:47:11 +00:00
Robin Dunn
a705ee4785 Removed som unnecessary sh-bangs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 19:43:54 +00:00
Vadim Zeitlin
764566762c check for wxOnAssert reentrancy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 18:35:50 +00:00
Vadim Zeitlin
eb749c3e37 fixed wxString::resize() which was completely broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 18:17:38 +00:00
Vadim Zeitlin
4d509295ee don't make the log dialog taller than the screen (patch 457695)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:52:27 +00:00
Vadim Zeitlin
fe7b9ed6fd support for vetoing grid cell editing (patch 469049)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:44:55 +00:00
Vadim Zeitlin
f8a4fa4c99 more efficient SetStatusText for the generic wxStatusBar (patch 469976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:38:40 +00:00
Vadim Zeitlin
7cc5041d03 fix a bug for bitmap changing in wxWizard (patch 474975)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:30:42 +00:00
Vadim Zeitlin
f80bf90194 wxWizard help patch (474974)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:29:38 +00:00
Vadim Zeitlin
a0a48a3f0d wxWizardPage may be loaded from resource (patch 470683)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 17:22:44 +00:00
Vadim Zeitlin
02244615e5 replaced a static buffer with wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 16:43:28 +00:00
Vadim Zeitlin
4660d7e5d6 applied patch to make wxGLCanvas derive from wxWindow, not wxScrolledWindow (Paul A. Thiessen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 16:08:52 +00:00
Vadim Zeitlin
6f75447397 give an error and stop if OpenGL libs not found but --with-opengl was specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 15:45:07 +00:00
Vadim Zeitlin
37df1f3370 patch from Søren Erland Vestø for additional wxCalendarCtrl styles (also moved them all to calctrl.h from defs.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 15:42:51 +00:00
Julian Smart
2a8f50bb72 Updates to project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 09:06:13 +00:00
Gilles Depeyrot
4538b3f1b0 added missing const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 07:13:17 +00:00
Gilles Depeyrot
e84010cf65 added missing const
ise "..." instead of <...> for wx headers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 07:03:26 +00:00
Robin Dunn
92b002a4c8 Added wxEntryStart, wxEntryInitGui, and wxEntryCleanup for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 03:59:02 +00:00
Robin Dunn
2c667cb8d8 swig updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 03:23:18 +00:00
Robin Dunn
b184227d4b wxDragLink for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 03:22:57 +00:00
Robin Dunn
df26d82fc3 Removed GetOldIndex, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 02:00:32 +00:00
Robin Dunn
a40b5e8474 Updated XRCed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 01:59:05 +00:00
Robin Dunn
b6ea61a589 Create the directories fo rthe .pch, etc. files if it doesn't exist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 01:34:37 +00:00
Robin Dunn
4fa54a31ad SetEventObject for wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 01:14:16 +00:00
Vadim Zeitlin
1bffa9138f replaced wxList for storing HWND <-> wxWindow with wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:44:19 +00:00
Vadim Zeitlin
a4aad4def6 ignore the border flags for the toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:42:56 +00:00
Vadim Zeitlin
08d7397c9a BC++ compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-02 00:05:01 +00:00
Julian Smart
c12b84937e Made project file work for Release and Debug targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-11-01 11:54:01 +00:00
Gilles Depeyrot
65fd49a434 remove static libraries and recreate them to avoid stale object files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 23:30:45 +00:00
Gilles Depeyrot
b53e38fed5 changed ar options to reduce build verbosity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 23:21:25 +00:00
Gilles Depeyrot
1d0b7ed3f3 corrections to required setup for wxWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:55:13 +00:00
Gilles Depeyrot
bb89dec340 clarified native line ending for Mac OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:48:51 +00:00
Gilles Depeyrot
a73523797c added comment concerning native line endings under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:41:08 +00:00
Ron Lee
f3507ce40d really fix wxPython dist target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:30:15 +00:00
Gilles Depeyrot
ff8fda3617 corrected access to NULL parameters in wxGetOsVersion
replaced wxMACINTOSH with wxMAC and wxMAC_DARWIN to differentiate return
value of wxGetOsVersion according to whether Mac paths or Unix paths are used


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:23:58 +00:00
Gilles Depeyrot
a3df447d8b shortened configure warning messages to avoid exceeding 80 characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:18:22 +00:00
Gilles Depeyrot
e5b1c41c49 removed subprojects for ldef and cdef, changed to in-proc ldef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 22:06:57 +00:00
David Webster
9c88ff79e5 Some more Multi-Line Text control fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 21:10:04 +00:00
George Tasker
051443d481 Fixed compilation of this file using tex2rtf in RTF mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 17:11:04 +00:00
George Tasker
da78fdf31c Put a backslash before a '_'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 17:10:39 +00:00
Stefan Csomor
e42e45a9dd removed subprojects for ldef and cdef, changed to in-proc ldef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 16:22:33 +00:00
Stefan Csomor
bb5f7ca77e removed subprojects for ldef and cdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 16:12:02 +00:00
Ron Lee
ad8b399079 made declaration of WXDLL_ENTRY_FUNCTION match it definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 12:38:42 +00:00
Ron Lee
835fed359d added new wxPython dirs to dist target for .debs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 09:42:54 +00:00
Gilles Depeyrot
a044cb721a use wxFILE_SEP_PATH instead of ':' separator for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 06:26:08 +00:00
Gilles Depeyrot
e8e1d09e0e corrections for path handling under Mac OS X
Classic Mac paths (: separator) are used when compiled using CodeWarrior even
under Mac OS X; Unix like Mac paths (/ separator) are used when compiled using
the Apple Developer Tools


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 06:25:05 +00:00
Vadim Zeitlin
d56e2b972f made wxFileName::Set/GetTimes() work under Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 02:42:50 +00:00
Vadim Zeitlin
7de3c4699f fixed typos in wxBase template and project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-31 02:23:26 +00:00
Václav Slavík
580616706f cleanup in wxMGL code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:51 +00:00
Václav Slavík
253293c103 changed wxSystemSettings::HasFrameDecorations to more general GetCapability(index)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:30:04 +00:00
Václav Slavík
6296744f45 added inactive titlebar text colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 23:27:00 +00:00
Mattia Barbon
25acfd4ca3 Fixed wxMask::Create(bitmap,colour)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 20:52:35 +00:00
Robin Dunn
68d92db331 Updated timer demo (again ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 18:16:01 +00:00
Robin Dunn
e6157a6995 Updated timer demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 18:15:13 +00:00
Vadim Zeitlin
10eb1f1eac applied wxDirSelector() patch and regenerated the makefiles to include the new src/common/dseldlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 16:58:42 +00:00
Vadim Zeitlin
4f2570aaf1 added stat.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 16:44:45 +00:00
Vadim Zeitlin
246c704fca fixed compilation problem in SetTimes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 15:34:15 +00:00
Vadim Zeitlin
87948f22dd minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:56:40 +00:00
George Tasker
5921a14eca Fixed code that should have been enclosed in brackets but wasn't, causing the program flow to abort part way through the function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:40:23 +00:00
George Tasker
92a19c2e77 All occurances of #include <wx/wxprec.h> changed to #include "wx/wxprec.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 13:33:34 +00:00
George Tasker
3a7bfa067e Changes to make commandline compilation with VC6 match the same settings and LIB names as created with the VC IDE.
LIB/PCH/PDB files are now created in the same directories (off the wxWin dir) that the IDE uses


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 12:51:29 +00:00
Vadim Zeitlin
176e7e8321 added wx/platform.h to the list of files and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 11:48:14 +00:00
Robin Dunn
4c3b4ed07f DSM fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 07:03:33 +00:00
Robin Dunn
ee707cb73a Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:58:52 +00:00
Robin Dunn
5c0282d504 Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:53:13 +00:00
Robin Dunn
b37c7e1dcd Added typemap for wxArrayString
Added wxMimeTypesManager and wxFileType

Other updates...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 06:43:54 +00:00
Vadim Zeitlin
951cd18031 added and partly implemented the time functions for wxFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 02:41:30 +00:00
Vadim Zeitlin
9f51f2b678 applied Watcom thread patches and made thread entry point stdcall for all compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-30 02:40:28 +00:00
David Webster
42be4418fe Yet another .def file for OS/2 VA
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 22:54:25 +00:00
Gilles Depeyrot
e7e1b01eb5 path/file corrections for Darwin/Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 22:26:59 +00:00
Gilles Depeyrot
334d244877 corrected wxMacFSSpec2MacFilename and wxMacFilename2FSSpec to convert to/from
Unix style paths under Mac OS X (when compiled with the Apple DevTools)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 20:20:46 +00:00
Vadim Zeitlin
7f35402d14 removed wxListEvent::m_oldItemIndex from docs, it is not used for anything anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 17:48:28 +00:00
Vadim Zeitlin
1b73381734 added WXEXPORT to wxGetClassFirst() declaration to make it work under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 14:35:04 +00:00
Vadim Zeitlin
78340847c9 extracted platform/compiler detection macros from wx/defs,h into wx/platform.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 14:33:46 +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
David Webster
8330166c65 Some more frame formating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-29 03:01:39 +00:00
Václav Slavík
f41ed3c442 minor wxMGL fixes -- controls sample is now OK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 23:25:35 +00:00
Gilles Depeyrot
0b7a8cd392 corrected realization of vertical toolbars (were always horizontal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 21:51:24 +00:00
Stefan Csomor
5384bdbc77 added clientdata to makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 20:25:16 +00:00
Stefan Csomor
f00f657d37 added conversion routines to CIconHandle, removing pre 8.6 routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 19:52:40 +00:00
Stefan Csomor
7205570233 added conversion routines to CIconHandle, removing pre 8.6 routines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 19:32:42 +00:00
Stefan Csomor
2fb4d7b86e added conversion routines to CIconHandle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-28 19:26:05 +00:00
Václav Slavík
3590965bf9 added msw/gccpriv.h and others to headers list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:52:30 +00:00
Václav Slavík
c3c031dd1d added msw/gccpriv.h and others to headers list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:52:19 +00:00
Václav Slavík
fbe77ceae5 fix for colspan or rowspan = 0 in HTML tables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:26:14 +00:00
Václav Slavík
2d963ba2cb fix for animated GIFs with frames of different dimensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:25:37 +00:00
Václav Slavík
8ecd8ade37 applied wxListCtrl label editing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 22:24:59 +00:00
Robin Dunn
89c8ea73d4 new files for wxSTC on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 01:35:03 +00:00
Robin Dunn
8a2fa5c83a new files for wxSTC on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 01:23:43 +00:00
Robin Dunn
74933d7501 Since there have to be platform ifdef's in wxSTC for wxMAC then we
need to have septarate sets of the swig generated code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 01:19:32 +00:00
Vadim Zeitlin
2dfba8cac9 removed some straym ^Ms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:25:13 +00:00
Vadim Zeitlin
aeddd5a582 fixed wxNotebook bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:24:11 +00:00
Robin Dunn
1bc3250868 First pass at wxPython for Mac (darwin only so far). It
builds but doesn't run yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:15:09 +00:00
Robin Dunn
e6056257ab First pass at wxPython for Mac (darwin only so far). It
builds but doesn't run yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:08:14 +00:00
Vadim Zeitlin
35bf863b1c don't make the dialogs appear in the taskbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:07:29 +00:00
Vadim Zeitlin
34e5028ffe position the controls correctly in the vertical toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-27 00:07:09 +00:00
Vadim Zeitlin
42d6e13697 wxToolBarTool::IsXXX() should return bool, not int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 23:56:08 +00:00
David Webster
dbd4b16d5e removed defs.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 20:45:22 +00:00
Ron Lee
cb4a5a7316 fix for regex dist target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 18:35:57 +00:00
Robin Dunn
17c0e08c61 fixes for the wxPre* helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 07:23:04 +00:00
Robin Dunn
c9a1416a3a Added wxURLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 07:19:20 +00:00
Robin Dunn
e8bf92fd9c Use the right flags on wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 05:46:39 +00:00
Robin Dunn
96af6eb5fd New PyCrust files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:14:12 +00:00
Robin Dunn
846ec2f9ed Added URL drag and drop sample to the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:13:11 +00:00
Robin Dunn
e6d318c25a Added wxDragLink
Added SetURL to wxURLDataObject

Fixed the Mozilla problem by reversing the order of the component DOs
in the wxURLDataObject.  By checking the wxTextDataObject first then
it avoids the problem of how Mozilla sends the UniformResourceLocator
data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-26 02:11:23 +00:00
Gilles Depeyrot
ac00ac40ed added ranlib after installation for static library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-25 20:52:10 +00:00
Ron Lee
c1ea7b7bc3 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-25 15:26:54 +00:00
Mattia Barbon
458ee9e452 Regenerated from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 21:16:56 +00:00
Mattia Barbon
8b61ede4ab Removed makefile.g295, added src/msw/files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 21:02:02 +00:00
Mattia Barbon
0e44823110 Various cygwin compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:56:37 +00:00
Mattia Barbon
f676c7ffd5 * make install now installs OLE headers on cygwin
* cygwin now uses the same naming conventions for libraries as the
  rest of wxMSW
* updated filelist.txt
* added code to filelist.t fo parse OLE headers
* all platforms using configure now have
  --enable-no_rtti, --enable-no_exceptions on by default


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 20:41:34 +00:00
Vadim Zeitlin
3fe03e474d fixed CURSOR resource leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 19:12:54 +00:00
Robin Dunn
e26c0634d0 Changed CanPaste to just check IsSupported.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-24 17:46:31 +00:00
Václav Slavík
91cddacfe0 fix for typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 23:21:31 +00:00
Robin Dunn
a29a241fd6 Added DnD related events to wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 22:12:50 +00:00
Gilles Depeyrot
4f14bcd874 implemented --with-<lib> options (yes, no, sys, and builtin) for libjpeg,
libtiff, libpng, freetype, regex and zlib
default is sys which falls back to builtin if the system library is not found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 21:03:32 +00:00
Vadim Zeitlin
de85a884d7 applied patch 473558: fixes for CW compilation under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 20:43:23 +00:00
Vadim Zeitlin
2c37aade57 fixed nice bug in wxGTK which always draw the text with the same foreground colour as background one in wxSOLID mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 17:41:51 +00:00
Vadim Zeitlin
5d2878fb28 simplified WXDLLEXPORT/IMPORT defines, added WXEXPORT/IMPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 15:47:57 +00:00
Vadim Zeitlin
eead3ccb25 more incompatible changes listed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-23 00:26:04 +00:00
David Webster
0cce11b2fa New Module Definition file for VisualAge .dll builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:16:04 +00:00
David Webster
9e279f1462 Elimiante include of defs.h for VisualAge compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:13:51 +00:00
David Webster
42f2e3e9bb no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:12:59 +00:00
Robin Dunn
275c4ae474 It's better to scroll by a little too much than by just barely not enough...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 22:05:24 +00:00
David Webster
987da0d411 Some OS/2 Modifications for coordinate normalizations and code for some common controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 05:15:25 +00:00
David Webster
afa59b4e88 Some OS/2 Modifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-22 05:11:09 +00:00
Robert Roebling
8766aa0948 Correction for wxFileConfig where UNIX was taken
instead of MAC where both aredfined in wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 23:02:37 +00:00
Robert Roebling
6fa882bd0a Correction for make install and wxMac static libs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 23:01:11 +00:00
Robert Roebling
d15a8ad4ee Minor fix for make dist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 22:59:23 +00:00
Robert Roebling
2f53787caf A few files were missing in the wxMac package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 15:30:02 +00:00
Robert Roebling
b9eed05d91 Updated install.txt for Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 15:29:21 +00:00
Robert Roebling
9bfaa55f27 Updated Makefile to make "make dist" work right for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 14:03:25 +00:00
Robert Roebling
074ea1b777 Added missing changes.txt for wxMac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 14:02:25 +00:00
Gilles Depeyrot
07d08a4dc4 use "..." instead of <...> for wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:49:22 +00:00
Stefan Neis
9829f27727 Added support for new style OS/2 autodetection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:38:31 +00:00
Gilles Depeyrot
0e03d1fac8 added missing type for static variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:33:10 +00:00
Gilles Depeyrot
bb378910f7 conditional compilation for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:32:39 +00:00
Gilles Depeyrot
ac0fa9eff8 corrected dynamic class implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 12:19:12 +00:00
Robin Dunn
d9207cc826 updated version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:58:51 +00:00
Robin Dunn
2aab8f16ac Added wxClientDataContainer to wxSizer, so sizers can now do OOR in
wxPython too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:56:07 +00:00
Robin Dunn
73c13bb93c #undef Yield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:52:09 +00:00
Robin Dunn
a4fbdd76c1 Updated for new library and DLL names on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:49:09 +00:00
Robin Dunn
dfef5d5165 Fixed some demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:44:47 +00:00
Robin Dunn
729f427637 Added wxRightTextCtrl from Josu Oyanguren
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:43:58 +00:00
Robin Dunn
235573500c New PyCrust files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 03:43:12 +00:00
Vadim Zeitlin
33b12a3ab3 fixed "toolbar getting focus" bug for the (N+1)-th time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 00:25:34 +00:00
Vadim Zeitlin
f04a0744b0 blind fix for the initial dialog position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-21 00:08:03 +00:00
Václav Slavík
08c4a8a9dd wxRegion fixes (off by one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:09:24 +00:00
Václav Slavík
d9d59a587c reverted Kendall's commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:09:11 +00:00
Václav Slavík
21a700f3c8 fix for MGL bug when rendering text with solid background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:07:50 +00:00
Václav Slavík
e1218bd636 added wxApp::Yield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 22:07:13 +00:00
Mattia Barbon
4f9c7d92dd Cygwin does support 64 bit ints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 21:10:22 +00:00
Stefan Csomor
fe35d097d6 corrected file type pop up for only one liners, added parsing for different types on same line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 20:50:11 +00:00
Stefan Csomor
10207b728d corrected #ifdef TARGET_CARBON to #if TARGET_CARBON
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 20:01:52 +00:00
Stefan Csomor
892e461e33 changed menu creation for choice and combobox (unique ids), control changed back to old selection code for non carbon targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 19:57:27 +00:00
Robin Dunn
9af175d227 Put the vertical limit back in for the AutoCOmp list box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 17:49:06 +00:00
Stefan Csomor
f7efcd8144 added correct wchar include for metrowerks compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 08:07:47 +00:00
Stefan Csomor
551a6c64bb removed duplicated DYNCLASS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 08:02:15 +00:00
Gilles Depeyrot
be6468f3cc removed extra DECLARE_DYNAMIC_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 07:39:52 +00:00
Vadim Zeitlin
a63cbfa336 fixd creation of controls with default initial size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 01:15:53 +00:00
Vadim Zeitlin
86f1458257 don't use hidden windows as implicit dialog parents neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 00:40:32 +00:00
Vadim Zeitlin
e058b98d8a don't use windows about to be destroyed as implicit dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-20 00:10:51 +00:00
Gilles Depeyrot
5d6c436536 removed corrected detection of wchar_t under Mac OS X (added in revision 1.355)
since there only seem to be stub functions (no wcslen available)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 21:13:06 +00:00
Václav Slavík
0d53fc3442 we no longer need wxFrameNative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 20:35:05 +00:00
Vadim Zeitlin
af15babd51 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 19:08:13 +00:00
Vadim Zeitlin
9952adac06 use statvfs() if statfs() is not available (Solaris)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 19:03:52 +00:00
Vadim Zeitlin
8461e4c253 added wxApp::Yield()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 18:29:32 +00:00
Vadim Zeitlin
85ee61ac2e who forward declared wcslen() without using extern "C" around it?? and why was it needed at all? removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:54:49 +00:00
Vadim Zeitlin
d22ff69d2d use -I. for parser.c as it needs it to find lexer.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:37:07 +00:00
Vadim Zeitlin
8f17876f2b fix for BSD compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:31:04 +00:00
Vadim Zeitlin
d714471b30 don't include X11 path before our own -I because on some systems (FreeBSD) wx headers are installed under /usr/X11R6/include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 17:30:04 +00:00
Vadim Zeitlin
12232f37d1 fixed test for statfs() for BSD systems, not just MacOSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 16:56:53 +00:00
Vadim Zeitlin
d20a079e3a oops, typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 16:30:46 +00:00
Vadim Zeitlin
d73e6791fc added wxStreamToTextRedirector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 16:27:15 +00:00
Stefan Csomor
b729ceb23d corrected default arguments, so that setting GetStdIcon works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:57:59 +00:00
Vadim Zeitlin
7da982c4ec simplified wxTextCtrl::Create() to use wxControl::MSWCreateControl() instead of duplicating its code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:34:37 +00:00
Robin Dunn
0e7bd27a8d Use the black pen for the border on Windows now too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 15:17:13 +00:00
George Tasker
4de853984d Added -DSTRICT to the WINFLAGS variable to match the new project settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 13:20:07 +00:00
George Tasker
0a0fc5b527 Removed a line of debug code that got left in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-19 11:37:01 +00:00
Vadim Zeitlin
68f36a2ca1 fixed resource leak in wxBitmap::CopyFromIconOrCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 23:29:09 +00:00
Vadim Zeitlin
f0adbe0ffd fix for the initial size of the dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 23:18:34 +00:00
Václav Slavík
e6daf008d8 added screenshot capturing for debugging purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 22:51:05 +00:00
Gilles Depeyrot
7d12127f14 added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:51:18 +00:00
Gilles Depeyrot
cf248c80a3 use $(MAKE) instead of make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:39:50 +00:00
Gilles Depeyrot
318f6d79a8 use $(MAKE) instead of make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:34:12 +00:00
Vadim Zeitlin
84f68c21f4 fix for wxStatusBar linking problems under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:24:04 +00:00
Gilles Depeyrot
6616a36dbf use $(MAKE) instead of make
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:22:05 +00:00
Mattia Barbon
ec7cd4c478 #elif -> #else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:18:32 +00:00
Mattia Barbon
d1d2cd38c4 Added RTTI macros to wxSplashScreen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:09:21 +00:00
Mattia Barbon
2654a046d7 Check for wxUSE_SPLASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:07:11 +00:00
Mattia Barbon
b3bd664a90 Updated makefile.g95/vc to behave similarly to wxWindows.dsp WRT library names
and setup.h .


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 21:05:20 +00:00
Mattia Barbon
deb3ea6a34 Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:58:12 +00:00
Robin Dunn
79f1bf32d7 Added a set of sophisticated Error Dialogs from Chris Fama.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:41:33 +00:00
Gilles Depeyrot
c9ce02acf8 added conditional compilation around wxGTK specific include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 20:20:40 +00:00
Robin Dunn
c20da25748 An incorrect patch to SWIG caused incorrect generated code. Fixed and regenerated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:34:15 +00:00
Robin Dunn
3bcd5e1c64 An incorrect patch to SWIG caused incorrect generated code. Fixed and regenerated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:26:06 +00:00
Robin Dunn
0e94700456 Some little tweaks...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:19:38 +00:00
Robin Dunn
54a816a683 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:12:47 +00:00
Gilles Depeyrot
db4192047f removed wxGetTranslation already defined in wx intl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:09:53 +00:00
Robin Dunn
a697845484 Expanded some release notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 19:06:02 +00:00
Robin Dunn
b1e930a50d Added wxTE_NOHIDESEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 18:04:48 +00:00
Robin Dunn
75cada8e68 Removed wxLB_SORT flag. Users of the Autocomplete will now have to
sort their lists themselves, but this lets them sort it either case
sensitive or insensitive and use AutoComp the same way.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 17:07:20 +00:00
Robin Dunn
f96b15a3c2 wxGTK's wxListBox now returns a meaningful value for DoGetBestSize
instead of just 100x110.  (Needed by wxSTC.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 16:56:01 +00:00
Stefan Csomor
f056ea60f3 corrected wxGetWorkingDirectory for mac (stripping last char off)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 15:55:14 +00:00
Robin Dunn
fe0aca3712 wxPython updates for new wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:33:13 +00:00
Robin Dunn
76e280e796 reference count bugs in DrawXXXList fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:30:53 +00:00
Robin Dunn
30dbb45440 A fix for Scintilla's case insensitive sort routine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:27:16 +00:00
Robin Dunn
b8b0e4022e Updated to version 1.40 of Scintilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:24:58 +00:00
Robin Dunn
2fe212b033 Updated to new PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 01:20:54 +00:00
Vadim Zeitlin
5a8f04e382 added and documented wxTE_NOHIDESEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 00:53:35 +00:00
Vadim Zeitlin
4fcf087dda create lib\...\setup.h from setup.h, not setup0.h which is not meant to be edited
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-18 00:43:52 +00:00
Kendall Bennett
251b80c4b5 Added missing OS/2 files for wxUniversal on OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:31:57 +00:00
Kendall Bennett
19193a2c85 Mutiple updates from SciTech for wxWindows including the following:
1. Updates to HTML applet classes in client side include syntax
2. Updates to wxUniversal for OS/2
3. Updates for better palette management on Windows
4. Misc other fixes and changes to fix build system for Watcom 11.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 22:25:56 +00:00
Guillermo Rodriguez Garcia
7361f176df Added comment explaining that it's not necessary to use LEX and YACC on
Windows since the files will be copied from doslex.c and dosyacc.c by
default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 16:18:56 +00:00
Vadim Zeitlin
8e0c305167 fixed linking problems related to wxStatusBar under wx!MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 14:30:29 +00:00
Vadim Zeitlin
b64a84736d fix for linking problem under !MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 13:44:16 +00:00
Julian Smart
2f67ae898e Applied patch sent to me for xpmdecod.cpp/VC++ compilation, and changed
VC++ project filenames in vc.rsp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 13:35:42 +00:00
Gilles Depeyrot
0c718eb7e0 added wxStatusBarBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 11:30:01 +00:00
Gilles Depeyrot
652d930d65 Use -h instead of -L to test for link
-h is documented as obsolete under Mac OS X but works
  -L is obsolete under Solaris8
Will need to fix this when -h no longer works under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 11:26:30 +00:00
Robin Dunn
8082483b70 tweaked some tests a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 05:29:57 +00:00
Robin Dunn
f3c2c22108 Another attempt to handle key events correctly for wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-17 05:29:09 +00:00
Robin Dunn
df9176ab71 Autodetect image type, some other cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:14:43 +00:00
Robin Dunn
9d37f96428 Added some optimization methods to wxPython's wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:06:09 +00:00
Mattia Barbon
9e0a12c958 Changed char* to wxChar* in wxColour constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:05:56 +00:00
Robin Dunn
de448406da regenerated from glcanvas.i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:05:03 +00:00
Robin Dunn
de112a55a2 added AppendToPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:03:26 +00:00
Robin Dunn
99f7d3407f update for interface changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 19:02:44 +00:00
Mattia Barbon
1d341cf4f7 Some MinGW-related updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 18:59:58 +00:00
Robin Dunn
43edcf13ca fixed typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 18:49:35 +00:00
Stefan Csomor
49f992a5ff no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 13:32:05 +00:00
Vadim Zeitlin
874efd13e1 reverted my accidental changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 12:33:56 +00:00
Stefan Csomor
47834fab06 added statusbr from common, removed 68k targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 06:31:37 +00:00
Jouk Jansen
61e6020f90 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/distrib/msw/makefile.rsp
 	wxWindows/src/common/descrip.mms
 Added Files:
 	wxWindows/samples/richedit/descrip.mms

 Updated OpenVMS compile support

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 06:14:26 +00:00
Vadim Zeitlin
cece1d88c0 fixed status bar drawing broken by previous compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 00:35:06 +00:00
Vadim Zeitlin
bf69498afc show some text in the status bar panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-16 00:03:28 +00:00
Vadim Zeitlin
5039d7edc2 refresh wxStaticText after changing its label if we change its size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 23:00:25 +00:00
Vadim Zeitlin
85cdcb7a20 fixed wxListCtrl::DeleteAllColumns() in the generic listctrl (patch 470251)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:55:21 +00:00
Václav Slavík
cdcb56fc96 fixes to mask creation by colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:55:17 +00:00
Václav Slavík
fa7cdd7f48 fixed off-by-one error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:54:44 +00:00
Václav Slavík
a9a05059b9 oops, segfault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:53:37 +00:00
Václav Slavík
df02852424 added GetStdIcon support to wxRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:53:01 +00:00
Václav Slavík
6311b1e88c removed junk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:52:27 +00:00
Václav Slavík
63f06c22b9 1. added GetStdIcon support to wxRenderer
2. wxMGL fix (stipples must be 8x8 pixels)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:50:50 +00:00
Vadim Zeitlin
48c1b6f937 made wxStaticBox transparent (patch 427936)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:49:15 +00:00
Václav Slavík
7f664d9878 compilation fix for wxMGL (NotUniv directive doesn't work and I'm too much of perl illiterate to fix it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:47:34 +00:00
Václav Slavík
fe9fea7ec7 compilation fix for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:45:37 +00:00
Vadim Zeitlin
e1bdd5078c fix for the dialog controls font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 22:17:09 +00:00
Vadim Zeitlin
a93e536be0 reveretd change commenting out IMPLEMENT_DYNAMIC_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 21:28:46 +00:00
Vadim Zeitlin
498fd97d9e oops, forgot to commit yesterday changes related to wxStatusBarBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 21:20:18 +00:00
Vadim Zeitlin
bbed9595c1 added section about incompatibilities between 2.2 and 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 19:08:01 +00:00
Robert Roebling
e23081dec8 Further fixes for wx-config and MacOS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 15:40:44 +00:00
Robert Roebling
2277aeccc8 wxStatusBar doesn't link with double IMPLEMENT... macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 10:07:20 +00:00
Robert Roebling
2baaf735f4 Added Rez support to wx-config for MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-15 10:06:24 +00:00
Václav Slavík
c641b1d20d decouple wxTLW,Frame::ShowFullScreen in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:54:06 +00:00
Václav Slavík
065f27fe3a fixes to MSW LowLevel files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:53:48 +00:00
Václav Slavík
0a89ac9c27 wxWindow::Enable now correctly has recursive effect (and maybe other fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:20:24 +00:00
Václav Slavík
3902989824 added wxHtmlWindow::AppendToPage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:20:05 +00:00
Václav Slavík
e3fc616c07 wxBusycursorSuspender used in wxMGL as well (we need it for other platforms as well, I'm afraid)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:18:35 +00:00
Václav Slavík
5fd1ea325c fixed restoration of global cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:18:09 +00:00
Václav Slavík
c109254cc6 DC output fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:17:58 +00:00
Václav Slavík
493bdcc72a antialiasing now disabled for small fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:17:33 +00:00
Václav Slavík
0cba94f21a removed obsolete files from wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:17:02 +00:00
Václav Slavík
41e929e5cf decouple wxTLW,Frame::ShowFullScreen in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:16:16 +00:00
Václav Slavík
1ccd23f5c4 wxUSE_CHOICE ifdefs, so that the sample compiles with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 22:12:43 +00:00
Vadim Zeitlin
91f5c4d03b regenerated from the templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 21:50:15 +00:00
Vadim Zeitlin
71e030352d 1. added wxStatusBarUniv
2. several bug fixes to wxSpinButton/wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 21:38:58 +00:00
Julian Smart
5d9007815f Updated email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 14:08:20 +00:00
Gilles Depeyrot
7f6097f17d added conditional compilation test around wxGetDiskSpace for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 09:51:37 +00:00
Gilles Depeyrot
f4ac069301 use MoreFiles under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:25:45 +00:00
Gilles Depeyrot
24fcf68943 include wxWindows headers using "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:23:04 +00:00
Gilles Depeyrot
d739313fc0 corrected comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:22:20 +00:00
Gilles Depeyrot
3369df870b corrections for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:21:22 +00:00
Gilles Depeyrot
a29b6191ca use native dialogs instead of generic ones under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 08:19:39 +00:00
Ron Lee
54abcc91d0 Fixed clean target to really clean all the cruft that gets created
at build time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 01:48:14 +00:00
Ron Lee
7cf43d5ef9 Merged IA64 build fixes from 2.2 (this will undoubtably need to be tested
before we can claim 2.3 works on that platform)
Updated config{guess,sub}


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-14 00:20:37 +00:00
Václav Slavík
b8c0528db3 better windows painting in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 22:49:57 +00:00
Václav Slavík
a9f994d915 fixed mouse capture release code -- it previously released capture of window that didn't gain it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 22:49:09 +00:00
Vadim Zeitlin
4403ced6fc changed some Remove()s into RemoveAt()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:34:08 +00:00
Gilles Depeyrot
da2b4b7a57 use MoreFiles under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:12:44 +00:00
Gilles Depeyrot
b9b7804a43 removed useless files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:07:25 +00:00
Gilles Depeyrot
777db7a5bf updated wxMac file list (use MoreFiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 21:05:56 +00:00
Gilles Depeyrot
5271933eeb corrected typo in conditional compilation for Darwin/Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 19:29:41 +00:00
Gilles Depeyrot
ed12f1dd6d strcasecmp is in the system libraries under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 18:54:28 +00:00
Gilles Depeyrot
13c0541d3c Added flat Carbon and MoreFiles headers to compile flags
Added MoreFiles to wxMac toolkit VPATH
Removed check for strings.h for wxMac (conflict with flat Carbon headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 12:26:50 +00:00
Gilles Depeyrot
dd8914bc51 added wxMac distribution target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 12:22:46 +00:00
Gilles Depeyrot
293e425d0e added MoreFiles sources to wxMac under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 08:52:34 +00:00
Robin Dunn
0220cbc169 Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-13 00:41:21 +00:00
Robin Dunn
0122b7e3fc Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:26:38 +00:00
Vadim Zeitlin
8754feb848 don't define wxUSE_OWNER_DRAWN for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 23:21:58 +00:00
Vadim Zeitlin
4eb438cf7c added base parameter to wxString::To[U]Long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 20:26:48 +00:00
Robin Dunn
758bce950b Added style parameter to wxPopupWindow ctors so they match the Create method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 18:11:46 +00:00
Vadim Zeitlin
337a001037 fix for Solaris realloc() which moves the memory block even when the block size is reduced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 17:29:19 +00:00
David Webster
8b530febd8 Added new cmdline parsing classes to wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 16:38:41 +00:00
David Webster
2d02117538 Cleaned up makedfile to handle setup.h better. Added command line parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 16:38:08 +00:00
Stefan Csomor
85f296a342 fixed memory leak and optimized GetSubBitmap (Kudos to Eric Lavigne)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 16:11:12 +00:00
David Webster
4cd411faee New wxUSE entries to support some new wx features.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 15:25:39 +00:00
David Webster
956797563c Not really needed in CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 15:24:39 +00:00
Vadim Zeitlin
c5b7bb59ec fix to avoid internal compiler error with gcc 2.95.2 on Alpha
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:16:20 +00:00
Vadim Zeitlin
735d1db6cb made wxString::assign() more efficient (don't force buffer reallocation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:09:54 +00:00
David Webster
f5643147a4 Some updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 14:01:11 +00:00
Gilles Depeyrot
62b1c48cd7 updated with latest morefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:51:32 +00:00
Vadim Zeitlin
28efed0faa make the main dialog resizeable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:16:12 +00:00
Vadim Zeitlin
b889a3a24b do *NOT* make the window of the size of its parent initially, fixes missing EVT_SIZE problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:15:30 +00:00
Vadim Zeitlin
a69103348f create wxNotebook without any extended style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 06:14:47 +00:00
Robin Dunn
b88c44e735 Moved client data stuff directly into wxEvtHandler, #if'd out
wxClientDataContainer for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-12 03:18:35 +00:00
Robin Dunn
a6ee08e16a fixed leaking wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 16:15:51 +00:00
Robin Dunn
3fa826301b add a newline to the log message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 16:15:19 +00:00
Ron Lee
1a40c31edf added DEFINE_LOCAL_EVENT_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-11 00:14:54 +00:00
Vadim Zeitlin
603fd22177 more missing WXDLLEXPORT(_DATA)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 23:58:18 +00:00
Stefan Csomor
5baa230d46 morefiles 1.5.2 adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 23:02:18 +00:00
Stefan Csomor
95e59663dc no precompiled MacHeaders anymore (guarantees synched headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 23:00:57 +00:00
Stefan Csomor
92622ef4c2 new version 1.5.2 for morefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:57:33 +00:00
Václav Slavík
a46935cb54 fixed menu navigation with mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:44:08 +00:00
Václav Slavík
1ac162ad06 FIXME so that I don't forget to implement this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:43:21 +00:00
Vadim Zeitlin
afadf3bc6a fix to allow code using EVT_END_PROCESS to compie with new wxEvtHandler declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:34:55 +00:00
Vadim Zeitlin
f417f1d53f added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:33:34 +00:00
Vadim Zeitlin
d2a533a059 added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 22:18:19 +00:00
Gilles Depeyrot
ad781c239e renamed global variable to avoid conflict with export from Mac OS X framework
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 21:55:40 +00:00
Gilles Depeyrot
683dccdaeb provide option to disable use of precompiled headers (Mac OS X)
this is useful for tinderboxes where the errors produced by the Apple
Developer Tools make it difficult to sort through the logs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 21:47:12 +00:00
Gilles Depeyrot
908381536e improved OpenGL related documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 18:48:59 +00:00
Vadim Zeitlin
8976cbbc48 don't add /MT to CFLAGS explicitely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 16:42:02 +00:00
Vadim Zeitlin
ec2995088d fixes for cube sample from Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 16:37:33 +00:00
Robin Dunn
00b2a97f34 Removed client data stuff from wxMenuBase since it now gets it from wxEvtHandler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 16:04:41 +00:00
Vadim Zeitlin
750b113f76 updated templates and regenerated project files for OpenGL samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 12:55:54 +00:00
Jouk Jansen
4878d85ccc Committing in .
Modified Files:
 	wxWindows/src/common/descrip.mms

 Updated OpenVMS makefiles.

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 12:18:45 +00:00
Vadim Zeitlin
654d905270 attempts to process non ASCII key strokes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 11:57:03 +00:00
Vadim Zeitlin
e111559956 [blind] fixes to the project file according to George's message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 09:36:55 +00:00
Jouk Jansen
0041d4b672 Committing in .
Added Files:
 	wxWindows/src/html/descrip.mms

 Compile support for OpenVMS
 (Thanks VZ for the help with removing my unsuccessfull checkin)

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 06:14:34 +00:00
Vadim Zeitlin
edb89f7e35 formatting changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 01:44:00 +00:00
Vadim Zeitlin
f85d862c23 ignore samples workspace files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 01:15:51 +00:00
Vadim Zeitlin
1944a74bb3 regenerated to include new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:44:48 +00:00
Vadim Zeitlin
c5627cd855 added wx*.dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:43:45 +00:00
Vadim Zeitlin
e0221ef7cb 1. new samples proejct files for VC++
2. a few fixes (mainly compilation warnings) to the code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:34:22 +00:00
Vadim Zeitlin
268766dd1f fixed crash in OnSize() handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-10 00:11:23 +00:00
Robin Dunn
16d38102e8 Fixed compile errors, warnings and other DSMs, and improved comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 23:09:41 +00:00
Vadim Zeitlin
e0d876d20c regenerated from .pro files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:59:06 +00:00
Vadim Zeitlin
ffc63dcae0 changed html and opengl project names to start with html/gl prefix to avoid conflicts inside samples.dsw workspace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:57:30 +00:00
Robin Dunn
88a9f974b8 Moved the [Set|Get]Client[Data|Object] and such out of wxWindowBase
and into a mixin class.  Mixed it with wxEvtHandler.  Regenerated
files lists and makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:50:33 +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
Václav Slavík
61bd618fe7 fixes to focus handling in menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:08:45 +00:00
Václav Slavík
4c7852186d a temporary hack to make testing wxTLW/Univ easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:08:30 +00:00
Václav Slavík
14dd645ee1 mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:08:14 +00:00
Vadim Zeitlin
31a06b07cc minor additions to wxCmdLineParser tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 22:07:34 +00:00
Ron Lee
aeb7499407 updated debian policy version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 20:44:00 +00:00
Václav Slavík
f001799009 fixed off by one error in wxXPMDecoder::ReadFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 17:05:22 +00:00
Vadim Zeitlin
3baaf31317 mention wx[Flex]GridSizer too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 15:32:20 +00:00
Vadim Zeitlin
29d18d6945 fixed results of strange cvs code merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 15:11:22 +00:00
Gilles Depeyrot
56cfd0d766 recompiled header support
removed doubled definitions (already in wx headers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:55:54 +00:00
Gilles Depeyrot
4040fe6eaf added missing close brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:49:28 +00:00
Gilles Depeyrot
594f0f5bf1 added wx/defs.h include to correct compilation issues under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-09 11:38:44 +00:00
Vadim Zeitlin
18a1f588e7 fix for wxFrame parent which somehow wasn't committed yesterday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:25:46 +00:00
Václav Slavík
45eb524957 hopefully fixes focus assertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:17:15 +00:00
Robin Dunn
a7ae8fea47 Removed call to SubclassWin since it is already done in
MSWCreateControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 22:12:44 +00:00
Gilles Depeyrot
4649b5eded added missing generic include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 21:08:16 +00:00
Robin Dunn
2431209ccd More changes for building the regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 18:05:58 +00:00
Vadim Zeitlin
b9989817f4 rearranged the samples alphabetically, please keep them this way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:46:04 +00:00
Vadim Zeitlin
f17393f199 normalized handling of Ctrl-x key presses and documented it clearly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:44:29 +00:00
Robin Dunn
9feee261c9 Fixed DLL linking. Was missing the regex lib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:39:20 +00:00
Vadim Zeitlin
1ce58dc6f3 allow disabling text events too; show Ctrl-x events correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:31:49 +00:00
Vadim Zeitlin
fb93b610c5 don't log mouse events by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:25:49 +00:00
Vadim Zeitlin
f783e7acf3 replaced C++ comments with C ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 17:24:32 +00:00
Vadim Zeitlin
e4b713a278 added and documented wxWS_EX_BLOCK_EVENTS flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 16:46:01 +00:00
Vadim Zeitlin
d11710cbb5 don't check for Meta key in wxKeyEvent::HasModifiers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 15:58:52 +00:00
Vadim Zeitlin
a8d20c57ae another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 15:42:07 +00:00
Vadim Zeitlin
85da9c3e35 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 15:01:27 +00:00
Vadim Zeitlin
37fa909534 refresh the current item when the focus is gained/lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 12:43:52 +00:00
Vadim Zeitlin
02cbc27a34 fix menubar sizing (at least under windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-08 01:03:52 +00:00
Václav Slavík
ead60ec54b more active frame stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:58:34 +00:00
Vadim Zeitlin
b225f65995 changed/centralized window creation code to allow wxTLW work in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 22:17:24 +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
Gilles Depeyrot
d497dca475 include wxWindows headers using "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 18:45:17 +00:00
Gilles Depeyrot
9b86543d92 added automatic generation of files.lst for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 16:48:43 +00:00
Gilles Depeyrot
61e8948797 AppleScript that finds and rebuilds all the CodeWarrior projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 16:46:16 +00:00
Václav Slavík
553dce51e9 fix to wxMGL's wxBitmap(wxImage) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:34:21 +00:00
Václav Slavík
31ae546e16 fixed yet another bug in wxActivateEvent handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:34:07 +00:00
Václav Slavík
bc6abe52a7 FloodFill not in MGL, either
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:56 +00:00
Václav Slavík
bd73ba41f9 moved MGL initialization to earlier stage (crashes otherwise...) and implemented wxApp::Initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:44 +00:00
Václav Slavík
bd20dac196 use Arial if available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:37 +00:00
Václav Slavík
917afc7b81 give focus to show top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 14:33:30 +00:00
Václav Slavík
15678bec37 fixed maximization handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 09:46:49 +00:00
Václav Slavík
d46330c586 active next window in Z-order when a frame is deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 09:46:26 +00:00
Václav Slavík
a08afcce1c reverted my previous check in, it was nonsense
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-07 09:46:07 +00:00
Václav Slavík
3bfba010c7 no, wxComboBox is really NOT a low-level class (neither is wxChoice, for that matter, but filelist.txt pretends it is so that wxUniv can in turn pretend in can do wxChoices...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:49:14 +00:00
Václav Slavík
7cdbf02cd4 more wxMGL fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:46:30 +00:00
Václav Slavík
a26e0bc1fd wxUniv tries to release mouse capture from menu bar instead of menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:46:06 +00:00
Václav Slavík
6821401b1b modified wxFrame/Univ to send wxSizeEvent when adding/removing bars (because client area changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:45:51 +00:00
Václav Slavík
0aa236cddc fatal bug in wxMGL that caused hard to track crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:44:47 +00:00
Vadim Zeitlin
b7f4f35038 adding wxUniv project/workspace files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:12:10 +00:00
Vadim Zeitlin
c6b0ee9abd removed y_tab.c from wxUniv project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 22:02:43 +00:00
Václav Slavík
11d13ed03b you meant pragma interface, not pragma implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 13:39:51 +00:00
Vadim Zeitlin
ff18659103 fixed the bug with the order of 2 size events when the scrollbar[s] (dis)appear in wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 02:22:26 +00:00
Vadim Zeitlin
2aabc7da6a allow setting the wxWin directory explicitly using WXDIR option, ..\.. by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-06 01:53:02 +00:00
Václav Slavík
e07f9efa03 an (blind) attempt to fix wxGTK frame activation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 22:08:35 +00:00
Václav Slavík
f5e6ed7cc8 wxHTML now outputs unrecognized entities verbosely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 22:05:45 +00:00
Václav Slavík
470252df3c 1) wxHTML now outputs unrecognized entities verbosely
2) added string preallocation to the parser


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 22:03:58 +00:00
Vadim Zeitlin
a350a48841 fixed the problem with the ampersand [mis]handling in the generic wxMessageDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 19:55:19 +00:00
Gilles Depeyrot
bf44306ebc correction for memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 19:01:13 +00:00
Robin Dunn
76bfdc7816 Added wxPyLog so log targets can be created in Python with the
appropriate callbacks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 18:29:29 +00:00
David Webster
72594e90b2 Some OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 16:30:20 +00:00
Jouk Jansen
13d068d93e Committing in .
Modified Files:
 	wxWindows/include/wx/thread.h wxWindows/src/unix/threadpsx.cpp

 Changed for OPenVMS only
 problem: The compiler complained about the fact that some pointer were
  assigned to a smaller integer. Maybe this problems also holds for
  other 64-bit OS's
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 11:10:29 +00:00
Jouk Jansen
3f38e38ba5 Modified Files:
wxWindows/descrip.mms
 Added Files:
 	wxWindows/src/html/DESCRIP.MMS

 Added html files to OpenVMS compilation

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-05 11:04:31 +00:00
Vadim Zeitlin
cdbe233029 fixed spurious assert failure in wxMenuBar::Insert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 23:05:53 +00:00
Václav Slavík
f7b2395841 fixed unimportant typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 22:58:47 +00:00
Gilles Depeyrot
ea48aa7c2d standard settings for wxMac compilation using CodeWarrior
theis file needs to be copied to setup.h in the appropriate directory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:46:21 +00:00
Gilles Depeyrot
8cbc39e803 use wxWindows zlib.h instead of Mac OS X system zlib.h directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:39:06 +00:00
Gilles Depeyrot
bc297519b8 first automatic generation using tmake!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:34:34 +00:00
Gilles Depeyrot
2b03b51b8c added automatic generation of files.lst for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 21:33:22 +00:00
Robin Dunn
39178e3bdf Workaround for Ctrl-A giving a keycode of 1 in EVT_KEY_DOWN on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 20:46:47 +00:00
Robin Dunn
32c988a34d Fixed duplicate definition of wxWindow::SetAcceleratorTable, more swig
code regenerated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:19:56 +00:00
Robin Dunn
8366ae934a Fix for missing -g from wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:16:53 +00:00
Robin Dunn
2beb01db00 Don't create a bitmap with dimensions <= 0...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 19:15:17 +00:00
Gilles Depeyrot
1650623133 applied SourceForge patch #467884 (Paul Thiessen)
addes wxGLApp for wxMac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 18:40:22 +00:00
Robin Dunn
65fe3842bf Regenerated some swig code, added some missing WXK_ constants, etc...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:13:28 +00:00
Robin Dunn
f32afe1c2c Fixed Ron's fix
Upped version number (beta)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:12:27 +00:00
George Tasker
c0881dc32e Spelling typos in comments fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:05:38 +00:00
George Tasker
32d77178d8 Added documentation for the wxDb::SQLColumnName() and wxDb::SQLTableName() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:02:56 +00:00
Robin Dunn
d6582821b6 Changed how EVT_CHAR and EVT_KEY_DOWN are sent to Scintilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 17:00:26 +00:00
George Tasker
243d4b3603 Added code to handle SQLSERVER, ACCESS, and MSDE allowing spaces in table names and column names (ARRRRGH! -> MS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 16:44:08 +00:00
George Tasker
4f92cd25f1 Removed a bunch of unreachable BREAK statements that BCC compilation complains about.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 16:32:10 +00:00
George Tasker
ac2834ab04 Changed code in unzip.c/.h for #including zlib.h to use the same code as is found in zstream.cpp
#include <zlib.h> changed to #include "zlib.h"


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 16:29:05 +00:00
Vadim Zeitlin
da63acebda renamed project files for 3rd party libs from FooVC.dsp to foo.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 13:27:15 +00:00
Vadim Zeitlin
a111f2b216 removed obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:39:10 +00:00
Vadim Zeitlin
8b6e6947fc new VC++ workspace file for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:37:09 +00:00
Vadim Zeitlin
e17978953a trying to add wxBase project file from Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:33:56 +00:00
Vadim Zeitlin
93d2bf4406 reverted the fix for Unicode compilation with VC++ as it breaks other ports (and shouldn't be necessary anyhow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 12:32:24 +00:00
Vadim Zeitlin
9b985798bc ignore build directories
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 02:10:41 +00:00
Vadim Zeitlin
89fcec9514 overwrote with src\wxBase.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:51:24 +00:00
Vadim Zeitlin
d8ac90031d regenerated from the template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:50:49 +00:00
Vadim Zeitlin
80806624f8 fixes for compilation with wxUSE_PALETTE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:50:17 +00:00
Vadim Zeitlin
50563ef1bd Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:46:30 +00:00
Vadim Zeitlin
17d5cf65bd new project files for wxBase apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:46:06 +00:00
Vadim Zeitlin
5e46051f91 added Unicode configurations to the library project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 01:35:59 +00:00
Vadim Zeitlin
7c8253236f added Unicode configurations to the library project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 00:46:26 +00:00
Vadim Zeitlin
5f8dc32401 removed templates which are unneeded any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-04 00:30:38 +00:00
Vadim Zeitlin
9aee09a34b Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 23:36:47 +00:00
Vadim Zeitlin
124193837f warning in Unicode compilation fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 23:34:25 +00:00
Vadim Zeitlin
477243897a fix for focus event sending
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:44:56 +00:00
Julian Smart
25db1b74f1 Made mkdir more UNC path-friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:12:33 +00:00
Vadim Zeitlin
bde9072f68 reduced flicker when switching focus to/from the report list ctrl under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 17:01:29 +00:00
Julian Smart
32bc74c034 Removed duplicate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 16:51:18 +00:00
Robin Dunn
bae170097e Minor tweaks and some typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 14:52:20 +00:00
Vadim Zeitlin
b3ca11f706 fixed DLL naming scheme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 14:20:44 +00:00
Jouk Jansen
283e4f282a Committing in .
Modified Files:
 	wxWindows/setup.h_vms

 update VMS compile support

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 14:08:56 +00:00
Ron Lee
1bc3fa0180 bump date on 'easter egg' dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 08:38:02 +00:00
Robin Dunn
3576334ead Checked wxConfig on Linux, added filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 06:14:25 +00:00
Robin Dunn
085f07e2c8 Fixed a potential python version problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 06:13:26 +00:00
Robin Dunn
65191ae8f2 Refactored Python shadows to use wxControlWithItems where appropriate.
Implememted SetClientData for wxControlWithItems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 06:12:49 +00:00
Robin Dunn
900d98862d Refactored Python shadows to use wxControlWithItems where appropriate.
Implememted SetClientData for wxControlWithItems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 03:32:37 +00:00
Ron Lee
a068364f32 removed obsolete samples/univ from SAMPLES_SUBDIRS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 01:33:24 +00:00
Vadim Zeitlin
17533c89d2 new VC++ templates and project files generated from them: now use only one
project file for wxWin itself and allow choosing the configurations to be
built from the sample projects


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 01:22:10 +00:00
Ron Lee
fc26f4abde Diabled wxToggleButton for wxUNIVERSAL builds too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-03 01:19:29 +00:00
Ron Lee
1a4f0015e4 diable MDI for wxUNIV builds for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 23:52:10 +00:00
Václav Slavík
985520bc47 client<->screen coords conversion fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 22:22:41 +00:00
Václav Slavík
2ec3892d77 added at least some stderr support to wxMGL which suffers badly from MGL's hostile takeover of stdin and stderr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 22:21:05 +00:00
Václav Slavík
7995616276 removed unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 22:20:30 +00:00
Ron Lee
4fcd60c72f added missing -univ package control files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 21:37:12 +00:00
Ron Lee
7b7a763758 Added UNIV_DIST target.
Fixed hp-hpux lib build targets.
Enabled cygwin cross compilation for 2.3 too.
Fixed SONAME_FLAGS for solaris.
Fixed PIC_FLAG for mingw.
Added first draft of wxUNIV debs.
Removed obsolete src/makeenvs/*


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 21:36:16 +00:00
Vadim Zeitlin
e8106239b2 missing extern "C" added to fix linking problems with some GTK+ versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 19:28:23 +00:00
Vadim Zeitlin
447f908aff fixed the exit code detection for async processes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 19:22:24 +00:00
Gilles Depeyrot
334f0d2c11 corrected VPATH for wxMotif toolkit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 17:03:50 +00:00
Vadim Zeitlin
85f7ec579e fix for using debug extra libs in release build and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 16:28:14 +00:00
Gilles Depeyrot
d9e4c43beb Added wxTopLevelWindow related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:59:59 +00:00
Gilles Depeyrot
8c03f242ce conditional include for Darwin related to statfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:57:20 +00:00
Gilles Depeyrot
cba5db5ff0 include wx headers using "..." instead of <...>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:56:03 +00:00
Gilles Depeyrot
077c564202 reverted unwanted change to -MMD compilation option in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:54:21 +00:00
Gilles Depeyrot
d08b457ba8 corrected static library configuration for Darwin/Mac OS X
Mac OS X resource related corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:48:50 +00:00
Gilles Depeyrot
8eee02518d added Darwin related defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 15:45:26 +00:00
Gilles Depeyrot
fedad417ce added missing include file and conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 12:26:22 +00:00
Vadim Zeitlin
89d25d58c5 first new sample project file - comments welcome
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-02 02:22:18 +00:00
Václav Slavík
f8e3449ceb added wxSystemSettings::HasFrameDecorations (anybody knows a better name?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:11:56 +00:00
Václav Slavík
2343d81ba2 wxMGL update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:09:58 +00:00
Václav Slavík
544c782d76 wxPopupWindow for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 22:09:14 +00:00
Vadim Zeitlin
8c8fb2f6f6 fixes for RPM generation after Ron's changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 17:39:31 +00:00
Robin Dunn
c19d0121f6 Updated the wxSTC makefile for Borland, and tweaked the sample a
little.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 17:19:36 +00:00
Vadim Zeitlin
018e2f1300 cleaned up the waitpid() result processing mess
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 12:39:42 +00:00
Vadim Zeitlin
dbd25330c5 fix for running csh scripts using wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 12:32:07 +00:00
Jouk Jansen
9e4e191af3 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms

 Update VMS-compile support
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 10:04:48 +00:00
Vadim Zeitlin
bb48ed2caa restored #include "chkconf.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-10-01 09:37:15 +00:00
Václav Slavík
b22d16ad20 implemented wxTLW::InteractiveMove and mostly finished wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:09:24 +00:00
Vadim Zeitlin
b11e8fb666 fixes for wxUSE_PALETTE=0 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:05:30 +00:00
Václav Slavík
bff995bf71 implemented wxTLW::InteractiveMove and mostly finished wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:01:15 +00:00
Václav Slavík
7cd955997c fixed wxDialog creation (created window wasn't transient)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 23:00:12 +00:00
Václav Slavík
b4819fcaea fixed wxColour bug that broken wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:59:34 +00:00
Vadim Zeitlin
660cc2a5f9 ignore directories created during MSW build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:32:51 +00:00
Vadim Zeitlin
7f9510b24e give (hopefully) more clear error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:30:59 +00:00
Vadim Zeitlin
2d1e89de65 template for VC++ dsp for building wxUniv static lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:30:26 +00:00
Vadim Zeitlin
edae85724d regenerated configure from latest configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:27:07 +00:00
Vadim Zeitlin
0406324575 project files update to use the same compilation options as the new project files for wxWin itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:26:43 +00:00
Vadim Zeitlin
7ee7c43f7e temp [non] fix for wxTLW [non] creation under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:25:32 +00:00
Vadim Zeitlin
be71e18af4 new VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:23:57 +00:00
Vadim Zeitlin
0797afee60 updated templates for creation of VC++ 6.0 project files for wxBase/wxMSW/wxUniv static and DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:22:58 +00:00
Vadim Zeitlin
56029a746e compilation fix for !wxUSE_HELP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:20:35 +00:00
Vadim Zeitlin
c7b3563e24 compilation fixes for the compilers with old headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:20:03 +00:00
Vadim Zeitlin
d275c7eb84 added wxUSE_PALETTE and fixed compilation with it set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 22:06:39 +00:00
Stefan Csomor
f1c1831fc5 toplevel fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 18:30:36 +00:00
Stefan Csomor
a15eb0a5c8 toplevel fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 17:34:51 +00:00
Vadim Zeitlin
752b40b1da moved WXUNUSED_UNLESS_DEBUG after wx/debug.h include to fix debug compilation with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 17:26:28 +00:00
Vadim Zeitlin
8b0bd21b3d handle _DEBUG/NDEBUG correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 17:15:14 +00:00
Vadim Zeitlin
b584b7d24a added GUI_LOWLEVEL_OBJS to src/msw/files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 14:53:57 +00:00
Vadim Zeitlin
4965c3d7f6 fix for wxCalendarCtrl::Create() (bug 458167)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 14:46:30 +00:00
Stefan Csomor
08b6f23906 mac toplevel window added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 09:54:17 +00:00
Stefan Csomor
fe08e59704 mac toplevel window added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 09:16:31 +00:00
Stefan Csomor
93b4dc4b14 mac added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 09:12:14 +00:00
Vadim Zeitlin
379ff23b1c DLL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-30 00:09:02 +00:00
Václav Slavík
3deeefebd7 fixed assertion failures with invalid icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:41 +00:00
Václav Slavík
9c3cc136fc removed superfluous backslash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:17 +00:00
Václav Slavík
bbb7a9314d reverted my previous commit to this file; was done by Ron in parallel with me
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 22:15:11 +00:00
Václav Slavík
ea5c1679ad added support for animated GIFs to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 16:23:09 +00:00
Václav Slavík
e4b7b2b052 oops, reverted wrong code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 10:46:25 +00:00
Vadim Zeitlin
8dc52d208e templates for VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-29 00:47:52 +00:00
Václav Slavík
813edf09b3 input handling in wxTLW/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:39:55 +00:00
Václav Slavík
e8c12a53e8 implemented wxActivateEvent properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:37:52 +00:00
Václav Slavík
2545022c72 compilation fixes for MSW+Univ+Mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:36:25 +00:00
Ron Lee
655b7383d2 Fixed new lintian warnings.
Removed .cvsignore files from cp -R 'd examples.
(Please don't use -R in install targets -- we don't need CVS cruft installed on
 peoples machines..)
Added extra contrib libs to contrib-dev package.
Removed 'shell' line from some non executable .py scripts.
Updated lintian overrides.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 23:16:03 +00:00
Václav Slavík
496beb3fc0 fixed client area origin handling in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:20:21 +00:00
Václav Slavík
cff7ef893d compilation fixes for MSW+Univ+Mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:19:43 +00:00
Václav Slavík
ea1b0d6ccb proper fullscreen handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 19:18:46 +00:00
Václav Slavík
82f2d91978 fixed wxGTK fullscreen mode, broken by my previous change to gtk/toplevel.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 17:54:31 +00:00
Julian Smart
4c97e02448 Now uses GetFileAttributes for wxPathExists and wxFileExists under Windows,
so it copes with network paths.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 16:13:11 +00:00
Vadim Zeitlin
d13fd3e468 applied fix for 8 bit displays (already in the 2.2 branch since almost a year)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:41:07 +00:00
Vadim Zeitlin
bed118ca9e applied patch for regex building with BC++ (patch 463140)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:35:17 +00:00
Vadim Zeitlin
6c5ac6e1f1 yet another fix for wxTextCtrl bg colour (patch 462838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:33:54 +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
Vadim Zeitlin
afb74fdd76 removed .d files when doing make clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:25:09 +00:00
Vadim Zeitlin
a308135449 applied (slightly modified) wxGLApp patch for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 14:01:34 +00:00
Vadim Zeitlin
a6f5aa49cf applied wxGLApp patch (#464500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:53:55 +00:00
Vadim Zeitlin
b3e8d00ab0 1. made description of some options in configure [hopefully] more readable
2. got rid of --enable-wcsrtombs option, configure can find it out itself


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 13:34:12 +00:00
Ron Lee
3a922bb4bd More build system polishing.. mostly. Some stuff ported over from
recent changes to the 2.2 branch.

Rationalised the autoconf scripts again, removed lots of stuff that
shouldn't be there anymore and pounded the rest into an even tighter
furball. (There's more work to be done here, but we're getting there..)

Implemented the library naming scheme outlined in tn0012.txt -- introduced
'toolchain' and 'widget set' into the autoconf scripts, obsoleted the
top level wx/setup.h and much of the mess associated with it.

More changes for cross compiling and 2.3 debs.

s/burnt_name/soname/g ; s/CC/CXX/g ; s/CCC/CC/g ;  Just because it's Right.
(Thanks Vadim for already doing *FLAGS..)

Fixed libfl Makefile to actually work.

Removed *_DEPS from tmake templates, in every case they can be determined
from the relevant *_OBJS

Added BASE_MSW_OBJS, a couple of missing #includes, some missing files to
the 'dist' targets, and fixed some compile warnings.

Changed setup.py to use wx-config --gl-libs instead of hard coded constants.

 Modified Files:
 	Makefile.in configure configure.in setup.h.in wx-config.in
 	wxBase.spec wxGTK.spec wxMotif.spec
 	contrib/include/wx/applet/window.h contrib/src/Makefile.in
 	contrib/src/applet/appletwindow.cpp contrib/src/fl/Makefile.in
 	debian/changelog debian/control.in debian/libwxbase-dbg.dirs
 	debian/libwxbase-dbg.links debian/libwxbase-dbg.postinst
 	debian/libwxbase-dbg.prerm debian/libwxbase-dev.dirs
 	debian/libwxbase-dev.files debian/libwxbase-dev.links
 	debian/libwxbase-dev.postinst debian/libwxbase-dev.prerm
 	debian/libwxgtk-dbg.dirs debian/libwxgtk-dbg.links
 	debian/libwxgtk-dbg.postinst debian/libwxgtk-dbg.prerm
 	debian/libwxgtk-dev.dirs debian/libwxgtk-dev.files
 	debian/libwxgtk-dev.links debian/libwxgtk-dev.postinst
 	debian/libwxgtk-dev.prerm debian/rules
 	distrib/msw/tmake/base.t distrib/msw/tmake/gtk.t
 	distrib/msw/tmake/mgl.t distrib/msw/tmake/motif.t
 	distrib/msw/tmake/msw.t distrib/msw/tmake/os2.t
 	distrib/msw/tmake/univ.t docs/motif/install.txt
 	include/wx/msw/private.h include/wx/os2/SETUP.H
 	include/wx/os2/SETUP0.H samples/ipc/Makefile.in
 	samples/sockets/Makefile.in src/files.lst src/make.env.in
 	src/makelib.env.in src/makeprog.env.in src/common/strconv.cpp
 	src/gtk/files.lst src/mgl/files.lst src/motif/files.lst
 	src/msw/files.lst src/msw/gsocket.c src/msw/gsockmsw.c
 	src/msw/toplevel.cpp src/msw/utils.cpp src/os2/files.lst
 	src/univ/files.lst wxPython/setup.py
 Added Files:
 	debian/libwxbase-msw-dev.dirs debian/libwxbase-msw-dev.links
 	debian/libwxbase-msw-dev.postinst
 	debian/libwxbase-msw-dev.prerm debian/libwxmsw-dev.dirs
 	debian/libwxmsw-dev.links debian/libwxmsw-dev.postinst
 	debian/libwxmsw-dev.prerm debian/wxwin-doc.doc-base
 	debian/wxwin-headers-msw.dirs
 Removed Files:
 	debian/wxwin-doc.doc-base.in include/wx/setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-28 07:00:13 +00:00
Vadim Zeitlin
0e300ddd7d fix for wxExecute(subprocess which produces a lot of output) bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 14:12:23 +00:00
Robin Dunn
74b1c2658a fixed compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 06:07:14 +00:00
Robin Dunn
ecc08ead91 Various updates, changes for wxTopLevelWindow, fixes for
wxPen.SetDashes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:11:47 +00:00
Robin Dunn
34a1d7328f Added MSW toplevel.cpp and regenerated makefiles and such.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:05:45 +00:00
Robin Dunn
c8bc33d5b5 If a shape has client data, it deletes it when the shape is deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:04:19 +00:00
Robin Dunn
5bf2abe348 Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:02:44 +00:00
Robin Dunn
361128cbf7 Added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 02:02:19 +00:00
Robin Dunn
edd971741e Fixed problem with wxPen::SetDashes. (An array of bytes was typcast
to an array of DWORDs.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 00:35:24 +00:00
Robin Dunn
217cb2fab8 Add some Pen dashes tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-27 00:27:46 +00:00
Václav Slavík
12bba77343 removed wxBusyCursorSuspender use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:21:42 +00:00
Václav Slavík
9b9cab370f temporary stubs for fullscreen functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:18:43 +00:00
Václav Slavík
134677bde9 Use wxGetInstallPrefix() instead of wxINSTALL_PREFIX (makes relocatable packages possible)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:17:05 +00:00
Václav Slavík
c8e8ae85c8 oops, forgot do add fullscreen stuff to wxTLWBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 22:10:42 +00:00
Vadim Zeitlin
bcbf288197 reverted last accidental commit, added comment about About item being special under Mac, use _T() around the literal strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 13:11:40 +00:00
Vadim Zeitlin
c50536396d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 12:56:38 +00:00
Vadim Zeitlin
2e9f62dafb compilation/build fixes for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-26 00:47:52 +00:00
Vadim Zeitlin
55fb2c6cc2 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-25 14:34:29 +00:00
Vadim Zeitlin
f427e0d634 compilation fix for other (than GTK/MSW) ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-25 14:33:50 +00:00
Vadim Zeitlin
8191741f68 pass correct key code in TREE_KEY_DOWN event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 22:52:18 +00:00
David Webster
75ad8febf6 patch fix for a constant definition under OS/2 VA V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 19:17:16 +00:00
Vadim Zeitlin
23d8bb2c66 fixed wxUniv menus under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:46:54 +00:00
Vadim Zeitlin
b231914f6a added workaround for GTK+ focus_out bug (and removed Vaclav's mouse capture stack - sorry!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:46:13 +00:00
Václav Slavík
cc1e14d625 implemented captured windows stack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:02:11 +00:00
Václav Slavík
d08e6e59ed statusbar handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 18:01:13 +00:00
Mattia Barbon
37d0bdff98 Fixed wxToolbar95::FindToolForPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 17:30:42 +00:00
Vadim Zeitlin
b09bda689c added wxTreeEvent::GetKeyEvent() to allow to retrieve the key event flags from EVT_TREE_KEY_DOWN event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 16:39:49 +00:00
Vadim Zeitlin
82c9f85ce5 added wxTLW for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 00:34:14 +00:00
Vadim Zeitlin
c2fd78b10f ~wxToolBar() checks if the frame is being deleted in a better/more clear way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-24 00:16:48 +00:00
Václav Slavík
24a23c3573 partial implementation of wxTLW's decorations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:42:57 +00:00
Václav Slavík
038072e2f1 better learn the operators...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:38:25 +00:00
Václav Slavík
e6adf05834 fixed serious bug in wxFont::operator== (ignored weight)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:37:42 +00:00
Václav Slavík
db0aec831d added wxBitmap::CopyFromIcon to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:36:17 +00:00
Vadim Zeitlin
fb1a41cd75 reverted change to the best checkbox size calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 22:04:05 +00:00
David Webster
9e9140114e Latest OS/2 build file updates to include the toplevel stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 18:36:45 +00:00
David Webster
d50d561a05 FALSE, not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 18:34:35 +00:00
Mattia Barbon
a8945eeff6 * Fixed wxToolbar95 and wxToolbarGTK to emit TOOL_ENTER event with id==-1 when the mouse
leaves a tool.
* Fixed wxToolbar95::FindToolForPosition to take into account dummy spacers inserted
  together with a control for comctl32.dll versions < 4.71


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 15:38:01 +00:00
Mattia Barbon
a8bf5281df Forgot to update the template.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-23 15:28:07 +00:00
Vadim Zeitlin
79c3b7b216 fixed yet another bug in wxRegConfig::SetPath() - SetPath(../..) didn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 23:23:04 +00:00
Václav Slavík
5b60dec5c1 oops, we definitely DON'T want to reset m_renderer here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 22:39:29 +00:00
Václav Slavík
21f4383ae7 wxTOPLEVEL_EX_DIALOG is a better name than wxTLW_EX_DIALOG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 22:39:03 +00:00
Václav Slavík
f819b4a3ab evaluate window style in Create, not later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 22:38:02 +00:00
Václav Slavík
c981cbe951 configure now defines _WIN_IE if w32api is at least 1.1 (1.0 is not complete enough for wxWin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:17:09 +00:00
Václav Slavík
38189fd599 mingw compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:15:45 +00:00
Václav Slavík
5145e34f09 w32api 1.1 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 16:15:28 +00:00
Václav Slavík
67e49a98bb wxInputConsumer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 12:04:47 +00:00
Václav Slavík
a9152a05f8 fixed client area handling for wxFrame/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 11:56:23 +00:00
Václav Slavík
23645bfa01 wxInputConsumer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 11:56:04 +00:00
Václav Slavík
d6eaea2845 (blind) fix for wxMotif compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 11:52:48 +00:00
Václav Slavík
98ffddb1db added wxInputConsumer to wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-22 00:21:41 +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
Stefan Csomor
eb71219dd0 added wxSTD macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 05:43:21 +00:00
Mattia Barbon
e1b435afad wxTextDataObject now uses Unicode if compiled with wxUSE_UNICODE.
Fixed wxURLDataObject in MSW.
Added GetSizeFromBuffer, SetSizeInBuffer, GetBufferOffset to wxDataObject
 as per Vadim's suggestion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-21 00:58:32 +00:00
Mattia Barbon
e355628241 Make easier to compile with MSVC5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:10:00 +00:00
Mattia Barbon
b72a54d1a5 MinGW compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:08:10 +00:00
Mattia Barbon
f63e248ec1 Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:07:21 +00:00
Mattia Barbon
b2a9ee3025 Re-enabled long long for MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 22:05:28 +00:00
Vadim Zeitlin
dd4f7467b2 fix for shared library build under SGI with native compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 19:28:20 +00:00
Robin Dunn
6ee2116be1 bug #463146
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-20 16:32:33 +00:00
Václav Slavík
b9f2926155 fixes to client area origin handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 22:45:14 +00:00
Václav Slavík
0cecad314c fixed problems with HTML printing w/o using wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 22:44:17 +00:00
Vadim Zeitlin
297e4185cc better fix for MIPSpro warnings: removed unneeded calls to floor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 16:47:23 +00:00
Vadim Zeitlin
11e82c1ba3 compilation fixes for MIPSpro SGI compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 16:06:20 +00:00
Jouk Jansen
e752575a1f Committing in .
Modified Files:
 	wxWindows/src/common/descrip.mms wxWindows/src/gtk/descrip.mms

 Update of OpenVMS makefile.
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-19 08:51:31 +00:00
Václav Slavík
c5257cab15 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:50:22 +00:00
Václav Slavík
0f1bf77d3d partial implementation of wxTopLevelWindow for wXUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:37:08 +00:00
Václav Slavík
a200c35efa moved AdjustToClientAreaOrigin to wxWindowBase, needed worldwide for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:36:18 +00:00
Václav Slavík
45eb404791 wxUniversal doesn't need wxDialog and wxFrame from base port anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:34:23 +00:00
Václav Slavík
19008b7bb8 made wxLocalFSHandler public and added Chroot to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:34:10 +00:00
Václav Slavík
d9d4df0e42 minor changes to wxFrame/Univ
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:33:54 +00:00
Václav Slavík
b85a6d855b wxFrame for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:33:48 +00:00
Václav Slavík
0e0de6b8aa wxDialog for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 22:33:38 +00:00
Gilles Depeyrot
563c260640 corrections related to wxDialog inheritance changes (wxTopLevelWindow)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 21:00:05 +00:00
Vadim Zeitlin
1d8dd65e62 compilation warning fix for Intel C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 18:22:44 +00:00
Vadim Zeitlin
55e80573e2 changes to shared library options code and to allow building them with Intel compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 18:17:11 +00:00
Robin Dunn
d28516c7c4 version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 16:10:49 +00:00
Vadim Zeitlin
8db6ac55e6 test for long long directly instead of testing for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 15:03:00 +00:00
George Tasker
8a46f0a21d Fix for bug 462533, spelling typo in docs "wxAGJUST_MIN" should be "wxADJUST_MINSIZE"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 13:28:34 +00:00
Vadim Zeitlin
993cfa8757 fix for event processing in wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-18 12:39:18 +00:00
Ron Lee
85d4fc42e9 use 'local' quoting for wx headers in lib source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 23:30:57 +00:00
Ron Lee
ae332f7c0a fixed c++ style comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 23:12:47 +00:00
Robin Dunn
401d3cc731 minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 22:42:20 +00:00
Robin Dunn
ce32af5d96 Regenerated from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 22:20:28 +00:00
Robin Dunn
cefd71d783 Fixed compile error.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 22:08:35 +00:00
Robin Dunn
059a841c96 Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a
multi-processor machine.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 21:47:20 +00:00
Gilles Depeyrot
80823340ab added missing destructor for Darwin/Mac OS X (wxGtk, wxMotif, wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 20:37:33 +00:00
Stefan Csomor
bd2aeb7ab6 added carbonaccessors.o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 19:53:32 +00:00
Stefan Csomor
6dbaf73491 added toplvlcmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 19:51:31 +00:00
Ron Lee
0cefee80e7 added tn0012.txt -- detailing library name conventions as discussed
on -dev


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-17 04:56:32 +00:00
Václav Slavík
97c70a028e added toplevel.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 22:10:21 +00:00
Václav Slavík
faac85bf09 updated generated file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 22:09:49 +00:00
Robin Dunn
19a97bd6f9 Significantly changed how the Python interpreter lock and thread state
are managed, which should fix the problem of running on a
multi-processor machine.

Some fixes for some of the contributed library modules.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-16 01:51:13 +00:00
Václav Slavík
72fa862b04 wxMGL update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 22:13:20 +00:00
Václav Slavík
7d9f12f3b9 wxTopLevelWindow (only for wxGTK for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 22:13:08 +00:00
Stefan Csomor
280df08533 changed FindControl to FindControlUnderMouse and use ControlRef != NULL instead of ControlPart = noPart , we had false ControlPart = 0 returned under Carbon in MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 20:39:46 +00:00
Václav Slavík
244531bc96 compilation (hot)fixes for Mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 10:39:22 +00:00
Václav Slavík
210e3a3a50 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-15 10:39:10 +00:00
Robin Dunn
ce68e8d061 Updates to contributed library stuff, a new version of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:15:46 +00:00
Robin Dunn
a3fbed81b2 A better way to handle the OOR wxPyListCtrl --> wxLIstCtrl thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:14:56 +00:00
Robin Dunn
b1cfebd9f4 some little demo tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-14 16:13:57 +00:00
Gilles Depeyrot
3f288b12cc added missing object files (sorted alphabetically for easier updating)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 19:38:04 +00:00
Gilles Depeyrot
ec8ecff48c added missing object files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 19:15:04 +00:00
Gilles Depeyrot
87445c2f5c corrected aggregate initializer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 18:56:23 +00:00
Gilles Depeyrot
1f603d3d9e removed inexistant object file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-12 18:41:36 +00:00
Vadim Zeitlin
a4a6984d5e don't try to translate the standard encoding names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-11 17:04:41 +00:00
Robin Dunn
9968ba85be Removed font point size adjustment since wxWindows already does it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 21:57:26 +00:00
Gilles Depeyrot
d11ec3df93 added missing defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 20:44:10 +00:00
Vadim Zeitlin
3ad252c96a VC++ compilation fix (hopefully)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-10 10:43:50 +00:00
Gilles Depeyrot
610c6dedc1 added CodeWarrior 5 project
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 22:26:44 +00:00
Gilles Depeyrot
89ce51d52e updated helper for changing types/creators of files based on the file extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 22:23:35 +00:00
Gilles Depeyrot
f36e7ad877 added dependency handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 22:14:54 +00:00
Gilles Depeyrot
af2c734bc4 added dependency handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 18:06:52 +00:00
Gilles Depeyrot
b57b228b84 getpid is in unistd.h under Solaris, Linux, FreeBSD and Darwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 18:06:25 +00:00
Gilles Depeyrot
faed65f610 added dependency handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:58:35 +00:00
Gilles Depeyrot
0ad0dc5760 added virtual destructor (for Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:58:11 +00:00
Gilles Depeyrot
8252c9ca38 use wxBitmapType instead of int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:57:31 +00:00
Gilles Depeyrot
52b5ab7edc use wxBitmapType instead of int
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:42:06 +00:00
Gilles Depeyrot
84553c516c corrected files.lst path which is in src dir and not in build dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 17:40:38 +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
Vadim Zeitlin
e72aa7f5ac wxUniv compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-09 11:56:33 +00:00
Václav Slavík
88dcf47c56 oops, HTML entities were parsed twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-08 22:39:06 +00:00
Gilles Depeyrot
7335c5a588 corrected creation of wxWizard (wxWizardBase::Create class function is
hidden by wxWizard::Create object method)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-08 19:15:26 +00:00
Gilles Depeyrot
70c1945c6a renamed CodeWarrior 5 projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-08 11:50:21 +00:00
Kendall Bennett
505710ca37 Merged in latest wxApplet code from SciTech Perforce tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-07 20:08:05 +00:00
Robin Dunn
cdf14688f5 Fixed an OOR related bug that happened when a class has been renamed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-07 16:28:24 +00:00
Robin Dunn
431f4c161d Added pySketch sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 21:19:48 +00:00
Vadim Zeitlin
651d7a1ff8 set mouse position for COL_CLICK event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 20:07:32 +00:00
Julian Smart
a23c00470e Added simple UNIX implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 19:27:52 +00:00
Gilles Depeyrot
977bf6ff42 removed copystring function already defined in common wx utilities
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 19:14:46 +00:00
Gilles Depeyrot
58782f84f8 replaced CPPFLAGS with CXXFLAGS following corrections in auto-configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 19:07:57 +00:00
Vadim Zeitlin
59078e629d applied patch from Xavier Nodet implementing better handling of subexpressions array in wxRegEx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 17:21:00 +00:00
Julian Smart
567f21d2cd Doc edits to fix formatting problems in Word/PDF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 15:04:23 +00:00
Julian Smart
8d07927991 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-06 12:09:24 +00:00
Julian Smart
97f1fb1987 Cured a bug in wxSplashScreen whereby frame wasn't sized correctly,
because SetClientSize doesn't seem to work right unless you pass a reasonable
size to the frame constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-05 10:33:43 +00:00
Robin Dunn
fea018f801 A couple little fixes for wxSTC
Updated to 0.6 of PyCrust


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 23:44:17 +00:00
Robin Dunn
8de28db94f A couple little fixes for wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 23:42:13 +00:00
Jouk Jansen
33381c829b Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms

 Update of VMS compile support

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 09:38:11 +00:00
Robin Dunn
1edab6e3d8 more little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 06:35:05 +00:00
Robin Dunn
3ae53c3153 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 06:00:45 +00:00
Robin Dunn
6d8b4f8d2b Added wxNativeFontInfo and wxFontMapper.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 05:00:15 +00:00
Robin Dunn
53fe40bac2 Added more contribs from Lorne White, and updated some of the existing ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-04 04:17:38 +00:00
Robin Dunn
ddcb3d8378 Added wxGenBitmapTextButton contrib from Lorne White.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 23:23:47 +00:00
Václav Slavík
93cd80d63c forgot to commit some XRC files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 23:07:23 +00:00
Robin Dunn
4309759886 Updated wxColumnSorterMixin to also be able to place sort icons on the
column headers, and updated the wxListCtrl demo to show it off by
using wxColumnSorterMixin.

Other odds and ends...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 22:47:34 +00:00
Robin Dunn
6d19860fe8 Updated wxColumnSorterMixin to also be able to place sort icons on the
column headers, and updated the wxListCtrl demo to show it off by
using wxColumnSorterMixin.

Other odds and ends...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 22:41:18 +00:00
Vadim Zeitlin
0188c70233 added Set/ClearColumnImage() helpers to wxListView
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 16:57:16 +00:00
Vadim Zeitlin
0a816d9581 implemented column images for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-03 15:09:56 +00:00
Vadim Zeitlin
6f806543a4 added support for column images under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 23:47:42 +00:00
Václav Slavík
5707316c9c applied utf-8 fix patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 22:44:00 +00:00
Václav Slavík
f3d6a60294 added id handling to html cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:45 +00:00
Václav Slavík
50da928bbd added id handling to image cells
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:35 +00:00
Václav Slavík
8938133dbc added wxHtmlCell::Get/SetId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:25 +00:00
Václav Slavík
d168485fcf comment clarification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 20:07:13 +00:00
Robin Dunn
949853a49c Added AssignImageList to wxNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-02 00:55:17 +00:00
Václav Slavík
dafa49256d fix for wxStatusBar wrongly reporting field rects inside EVT_SIZE handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 21:47:49 +00:00
Václav Slavík
0b52d3cf4d mingw compilation fix, added some defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 21:47:29 +00:00
Václav Slavík
dcbd7ce2d7 compilation fix for mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 21:47:13 +00:00
Václav Slavík
0beefa20dc fixed memory leaks when parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 12:59:41 +00:00
Václav Slavík
06069dda0d helpbest.patch - makefiles regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 12:59:33 +00:00
Václav Slavík
3d285623a7 finally applied the helpbest patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 12:59:08 +00:00
Robin Dunn
65ec6247df Upgraded to version 1.39 of Scintilla, and upated wxStyledTextCtrl
accordingly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 03:06:33 +00:00
Robin Dunn
b8fbf1a035 Added classinfo macros for wxTreeEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 03:00:17 +00:00
Robin Dunn
55c020cf64 Cleaned up some and started using path joins and normalization instead
of string concatenation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 02:35:31 +00:00
Vadim Zeitlin
11358d3976 added a bunch of new wxListCtrl messages: column right click and
start/continue/end dragging column divider


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-09-01 01:01:51 +00:00
Robin Dunn
aa2a5b8696 Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky.

Added wrappers for the default ctor and the Create methods for most
window classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:51:07 +00:00
Robin Dunn
09f3d4e679 Added XRCed to the wxPython Tools directory, contributed by Roman
Rolinsky.

Added wrappers for the default ctor and the Create methods for most
window classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:38:03 +00:00
Vadim Zeitlin
f6010d8fad implemented and documented wxHtmlWindow::OnCellMouseHover() and OnCellClick()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 21:19:23 +00:00
Vadim Zeitlin
e2f9212c00 applied a patch to remove spurious constrains unsatisifed warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 19:07:59 +00:00
Julian Smart
7900c71c73 Remove _all_ borders if that's what we specify to ShowFullScreen.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-31 10:29:40 +00:00
Václav Slavík
2049d9b54b helpbest docs update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-30 23:26:28 +00:00
Václav Slavík
8c5b1f0faf minor fix that was part of helpbest.patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-30 23:25:56 +00:00
Julian Smart
619e52bf45 Fixed cache-related bug in DoBlit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-30 10:57:36 +00:00
Václav Slavík
a9a8c02ff3 oops, forgot to check in a wxMGL define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 21:14:01 +00:00
Gilles Depeyrot
4d5a0f67c6 commented help references to OnXXX functions that are not documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 19:39:14 +00:00
Gilles Depeyrot
619e0d43b1 conditional compilation corrections for Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:49:19 +00:00
Gilles Depeyrot
49e95e1d80 added missing include for compilation with Apple Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:47:47 +00:00
Gilles Depeyrot
ae13baff25 added common and generic files implementing wxFindReplaceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:46:56 +00:00
Václav Slavík
2f0bac123b non-recursive destructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:31:51 +00:00
Václav Slavík
d7b1d73c92 fixed my favorite bug (delete foo; call foo->Something())
and non-recursive destructors as an add-on :)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 18:31:40 +00:00
Julian Smart
c556f19843 Isolated the 'error' case which I ignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 12:20:36 +00:00
Vadim Zeitlin
cf30ae1309 fixed refreshing listctrl on focus change when it only has one item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 11:35:14 +00:00
Julian Smart
09d68ec1c3 Removed wxLogSysError call in wxHandleProcessTermination, and ensured
the cleanup always happens. I hope this is right... but if processes
are killed elsewhere, we don't want this function to generate an error
and not do the correct cleanup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 11:24:50 +00:00
Stefan Csomor
e126b44d22 added error message in case older apple header files are used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 07:26:43 +00:00
Stefan Csomor
fb606749b3 corrected shutdown proc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-29 07:25:39 +00:00
Václav Slavík
135ace6d7b make it possible to open files from XRC in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 22:12:44 +00:00
Václav Slavík
150e58d8ae compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 22:11:54 +00:00
Václav Slavík
abe4a4f120 fixed a bug in wxListCtrl: SetColumnWidth didn't set wxListHeaderWindow::m_dirty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 22:11:11 +00:00
Gilles Depeyrot
c6d1e23287 replaced CPPFLAGS with CXXFLAGS following corrections in auto-configuration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:48:55 +00:00
Gilles Depeyrot
e33ef6614e generalized fix for clipboard code compilation configuration check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:45:52 +00:00
Robin Dunn
00b6c4e33b Added a new sample app that is a style editor for wxSTC.
Some other tweaks and fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 19:21:45 +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
f20f656963 another compilation fix for whitespace-averse compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 15:43:06 +00:00
Vadim Zeitlin
277d672a9d compilation fix: ifdef instead of if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 14:41:31 +00:00
Vadim Zeitlin
1357a7dd5c implemented wxDir::HasSubDirs() optimization for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-28 13:48:53 +00:00
Robert Roebling
7e410431f3 Probably fixed wxBeginBusyCursor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 19:35:05 +00:00
Vadim Zeitlin
b0d3640289 attempt to optimize wxDirData::Read() - made absolutely no difference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 18:27:42 +00:00
Vadim Zeitlin
2a4dbd8197 fixed bug with directory expansion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 17:41:39 +00:00
Vadim Zeitlin
82008c2601 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 15:29:02 +00:00
Vadim Zeitlin
5549e9f76f added support for polygons to wxRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 14:56:55 +00:00
Vadim Zeitlin
673f4220ba fix for wxGTK clipboard code compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 14:29:34 +00:00
Vadim Zeitlin
0cb9cfb22f send right click events for the URLs too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 13:51:20 +00:00
Vadim Zeitlin
b3dc8a3e61 fixed y position of the drop point in HandleDropFiles() (patch 455658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-27 12:20:04 +00:00
Václav Slavík
026d1fac66 tables code fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-26 14:50:20 +00:00
Václav Slavík
af035b26c4 fixed HTML parsing in regard to spaces between tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-26 14:49:09 +00:00
Václav Slavík
79d6c01818 beginnings of HTML4 tables layouter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 23:14:21 +00:00
Vadim Zeitlin
bb0e27ee5a compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:51:58 +00:00
Stefan Csomor
46cdeb741e added quantize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:15:04 +00:00
Stefan Csomor
518af45bee added disk space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:57 +00:00
Vadim Zeitlin
2b9bdf7146 don't try compile wxClipboard without OLE support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:45 +00:00
Vadim Zeitlin
44d5b352ae warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:13:14 +00:00
Vadim Zeitlin
ebb0781f91 are there still versions of gcc around which require casting WndProc to long? I don't think so...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:12:58 +00:00
Vadim Zeitlin
b94e73ae6a no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 20:08:48 +00:00
Václav Slavík
a42aa5d7be fixed a canonical example of Stupid Bug(tm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 19:51:55 +00:00
Vadim Zeitlin
519dc37faf fixed return value of HandleEndSession to return true only if the message was really processed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 17:56:34 +00:00
Vadim Zeitlin
52e8b69060 statfs() detection for wxGetDiskSpace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:55:06 +00:00
Vadim Zeitlin
eadd7bd2cb added wxGetDiskSpace for Win/Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:54:14 +00:00
Vadim Zeitlin
3a994742ab added wxLongLong::ToString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 16:42:11 +00:00
Vadim Zeitlin
6dc34ebbd8 added test for HitTest(m_dragPoint) bug to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:41:46 +00:00
Vadim Zeitlin
8d1d22845a use raw (physical) coords in LIST_(R)DRAG events (patch 444912)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:41:17 +00:00
Stefan Csomor
0baac61e4f corrected OWNER_DRAWN Remove to RemoveAt in Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:40:52 +00:00
Vadim Zeitlin
fc4f1d5f6b fixed crash in HitTest() with y position below the last line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:37:17 +00:00
Vadim Zeitlin
1971d23c57 applied patch 432814: saving BMP in 1, 4 and 8 bpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 15:30:49 +00:00
Vadim Zeitlin
6e711d5c09 applied patch 446836: removed qt headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 14:52:26 +00:00
Vadim Zeitlin
27b92ca4e2 added \#if wxUSE_GRID around the whole file (patch 455225)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 14:43:43 +00:00
Vadim Zeitlin
0800a4ba40 typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 12:07:45 +00:00
Vadim Zeitlin
7009f411aa refresh the tree ctrl when its back/foreground colour changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-25 12:06:53 +00:00
Vadim Zeitlin
de7f086027 fix for calling GetWindowLong(NULL hwnd)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 22:16:42 +00:00
Stefan Csomor
c638c3cd12 added new calling conventions for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 20:44:02 +00:00
Robert Roebling
6464f4cbe0 Patch (partially back) so that images work in wxHTML.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 20:12:18 +00:00
Stefan Csomor
62e83765c2 decremented timeout, we have to find a better algorithm for knowing when we don't have to wait further for data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:55:57 +00:00
Robert Roebling
51a229c65f Fixed apparent typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:55:38 +00:00
Stefan Csomor
ad8b849872 added connect sequence for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:42:13 +00:00
Stefan Csomor
79da309276 added late init and setup timeout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 19:27:17 +00:00
Vadim Zeitlin
70426fba08 fix for the short locale name construction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 18:19:54 +00:00
Vadim Zeitlin
a329180411 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 18:14:06 +00:00
Vadim Zeitlin
66dfed9b9d generate wxEVT_ACTIVATE_APP events for wxMSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 16:12:40 +00:00
Vadim Zeitlin
00b4a13e0c declared private wxString::operator=(int) to prevent code like "str = 17;" from compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 14:37:30 +00:00
David Webster
bcd3d8d9e2 New module definition file for the ever chaning treectrl class interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 14:18:00 +00:00
Vadim Zeitlin
adac097759 removed extra wxSTD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 12:21:50 +00:00
Vadim Zeitlin
2b004197c8 added missing wxSTDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 12:21:27 +00:00
Vadim Zeitlin
a90ec4ab31 added missing wxSTD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 12:20:07 +00:00
Julian Smart
7a4f484f1d Small correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-24 08:58:11 +00:00
Vadim Zeitlin
ad4297f34e always pass WM_DESTROY to DefWindowProc() - this fixes memory/resource leak for wxListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 23:27:06 +00:00
Vadim Zeitlin
4770df95a0 fixes for rotated text drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 22:08:58 +00:00
Vadim Zeitlin
56c4a88b3b added possibility to filter out some messages - there are too many of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 21:55:43 +00:00
Václav Slavík
77b2f9b185 ProcessPlatformProperty should not be a member of wxXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 18:57:19 +00:00
Václav Slavík
2978621101 wxHtmlEasyPrinting indentation changes + CreatePrintout,DoPrint and DoPreview virtual and protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 18:56:41 +00:00
Stefan Csomor
b838cfc915 added conversion to mac native filenames from local filesystem handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-23 13:38:05 +00:00
Václav Slavík
ba0b7b3238 fixed yet another bug in wxStream classes
(This time, the braindead wannabe coder who wrote the original code created
wxStreamBase instance and then casted it to wxInputStream and hapilly used the stream,
which could of course never work. Anybody knows a cheap hitman?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 22:13:22 +00:00
Václav Slavík
a3e377a31f compilation fix for genericTreeCtrl-only stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 22:13:06 +00:00
Vadim Zeitlin
eacb91fc20 added wxDynamicSashWindow (patch 441518)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 15:02:40 +00:00
Vadim Zeitlin
9787a4b6ad added UnregisterWindowClasses() (patch 447443)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 14:42:54 +00:00
Vadim Zeitlin
b6e5eaa597 minor clean up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-22 14:24:23 +00:00
Vadim Zeitlin
ebb987b77b double click handling is finally correct in the treectrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 15:17:48 +00:00
Vadim Zeitlin
15248e43a9 removed assert from wxColour::InitFromName() as there is no way to bypass it (see comment there)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 11:55:38 +00:00
Robert Roebling
c9c4b3a009 Fixed focus event problems with control derived
from wxScrolledWindow.
  If wxTreeCtrl has no +/. button, toggle branch,
    otherwise send activate event upon double-click.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 11:12:42 +00:00
Julian Smart
decb3a6a16 Added Net library to contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-21 09:11:20 +00:00
Vadim Zeitlin
c48926e149 fixes for Raise() to work correctly with both top level and child windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 23:02:27 +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
Vadim Zeitlin
68eb5f6337 allow user code to override key handling in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 19:25:00 +00:00
Stefan Csomor
a0f8388258 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 18:56:11 +00:00
Vadim Zeitlin
ba7bd90150 fixed refresh problem after adding some items and calling Ensurevisible()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 16:08:11 +00:00
Vadim Zeitlin
49ecb02984 fix for refreshing the current item in the list ctrl when the focus is gained/lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:46:50 +00:00
Vadim Zeitlin
de57703a0c fixed text fg colour for selected but unfocused items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:22:15 +00:00
Vadim Zeitlin
dbcbe22962 made GetColourFromGTKWidget() more general, it is now used for all colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 15:19:37 +00:00
Vadim Zeitlin
3523b9cf8d fix for wxSYS_COLOUR_LISTBOX colour detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:46:09 +00:00
Vadim Zeitlin
b771aa29dd draw the selected items in another colour when the control doesn't have focus, a bit like MSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:13:34 +00:00
Vadim Zeitlin
643ccf6203 extracted 4 copies of identical code into a function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 14:13:04 +00:00
Vadim Zeitlin
783d4c8931 fixed the wrong examples of CalcScrolled/UnscrolledPosition() usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:18:52 +00:00
Vadim Zeitlin
677a9f0c61 fixed bug with calling Destroy() on the NULL wxSocket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:10:17 +00:00
Vadim Zeitlin
06b781c7c6 fixed clipping of items with icons text in report mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 13:09:18 +00:00
Julian Smart
bcbe86e592 Fixed GetLongPath bug -- should use GetFullName and not GetName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-20 09:04:54 +00:00
Václav Slavík
7af284fda7 nicer version compilation fix for wxUSE_WCHAR_T=0 (why should we duplicate definitions in all #ifdef branches???)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 22:22:59 +00:00
Robert Roebling
76fcf0f239 Various changes for simplification of focus event
code in wxGTK. It will also work for wxComboBox
    now, but not for GTK's other composite controls
    such as wxListBox and wxChoice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 21:36:25 +00:00
Stefan Neis
73a89308a4 Fix for wxUSE_WCHAR_T == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 18:31:10 +00:00
Stefan Csomor
9cf99fc093 added carbonaccessors.o
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 17:18:03 +00:00
Robert Roebling
f72124dbe5 We use native paths now in wxWindows. On the Mac, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 16:39:14 +00:00
Václav Slavík
c48792de4a fix for bug in wxEditableListBox in connection with new wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 12:54:37 +00:00
Václav Slavík
80372768e4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 12:54:26 +00:00
Stefan Csomor
3d2791f12c added a few encoding convenience methods for pc-mac encoding and string handling, put message box buttons under translation, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-19 08:38:14 +00:00
Václav Slavík
211cc8dc90 better focus handling (blind fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 23:13:03 +00:00
Robert Roebling
eeca3a4697 The Scale() code in the 2.3 tree turned out to
be wrong.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 18:17:23 +00:00
Robert Roebling
08a092f9f4 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 17:17:13 +00:00
Robert Roebling
618a5e382a Applied Greg's patch to tree control and related.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-18 13:09:26 +00:00
Vadim Zeitlin
a8973b121d warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 17:52:02 +00:00
David Webster
bcb7cc7693 New module definition file to keep .dll build compilable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 14:26:45 +00:00
Julian Smart
213ba43b70 Added doc for 2-step initialisation and wxWIZARD_EX_HELPBUTTON style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 09:38:53 +00:00
Julian Smart
77436c4cba Added possibility of 2-step initialisation, and wxWIZARD_EX_HELPBUTTON style.
Also added & to Cancel button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-17 09:38:19 +00:00
Vadim Zeitlin
444ad3a719 added wxURLDataObject which unfortunately doesn't seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 23:46:56 +00:00
Václav Slavík
2b260bc3e2 finished wxWindow for MGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 22:53:43 +00:00
Robin Dunn
5e08014381 new version of PyCrust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 17:48:52 +00:00
Vadim Zeitlin
6ea1323aa0 fixed bug/assert failure when refreshing items in non report mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 14:29:34 +00:00
Vadim Zeitlin
5949fba636 documented SetMaxLength(0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 13:58:56 +00:00
Vadim Zeitlin
f2616db567 added new text event macros description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 13:35:38 +00:00
Vadim Zeitlin
ce2f50e34a added sending of EVT_TEXT_MAXLEN to wxGTK, suppressed sending of dummy
EVT_TEXT_UPDATED events when the text doesn't really change


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 13:18:51 +00:00
Vadim Zeitlin
d5f005cc93 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-16 11:30:13 +00:00
Václav Slavík
ef344ff862 bugfixes, bugfixes, bugfixes...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 23:48:31 +00:00
Vadim Zeitlin
9b588fe10c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 15:37:05 +00:00
Vadim Zeitlin
5716a1abb1 compilation fixes for VC++ in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 15:26:27 +00:00
Vadim Zeitlin
9cb9fdb372 fixed bug with loading standard icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 14:54:56 +00:00
Vadim Zeitlin
c5639a8767 traces of my debugging session, no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 14:27:22 +00:00
Vadim Zeitlin
d7eee191c5 implemented, tested and documented wxTextCtrl::SetMaxLength()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 12:45:53 +00:00
Vadim Zeitlin
2cefcb34d2 compilation warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-15 11:47:39 +00:00
Robin Dunn
cd09615235 updates for swig generated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 23:03:59 +00:00
Robin Dunn
c7e7022c2c Deprecated PyShell and PyShellWindow, added a snapshot of PyCrust.
Added the new virtual list capabilities to wxListCtrl.

Other odds and ends.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 19:19:48 +00:00
Robin Dunn
6443de0263 Fixed the drawing of the HRules so they don't try to iterate over all
the zillions of items in a large (or virtual) list control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 18:48:37 +00:00
Robin Dunn
625cb8c0b1 Fixed a bug so wxLC_VRULES works by itself.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 18:34:18 +00:00
Vadim Zeitlin
b0ee47ff76 1. reset default item in ~wxWindow (better to be safe)
2. blind fix for Motif compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 14:59:44 +00:00
Vadim Zeitlin
75c9da2562 unsuccessful attempts to fix wxMenuBar positioning under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 12:57:32 +00:00
Vadim Zeitlin
70541533c8 reduce flicker in header window when deleting items and let space select items even in single selection mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 11:51:24 +00:00
Vadim Zeitlin
c40ce5ce77 removed redundant InitDialog methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 11:24:03 +00:00
Robin Dunn
7946d7deaa A fix for attribrute sorting, but it's still broken if there are
duplicate sort keys...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 09:02:37 +00:00
Robin Dunn
19230604c4 Moved fix from 2.2 branch that allows the attributes in MSW wxListCtrl
to move with their items when the list is sorted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 05:35:09 +00:00
Robin Dunn
abb69c6c82 fixed the last of the off-by-one errors (some are refixed, again...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-14 03:09:59 +00:00
Stefan Csomor
0e32fdb872 added translation of mac system into language, adaption of search paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 19:13:08 +00:00
Vadim Zeitlin
349efbaa89 implemented (untested) work around for wxScrolledWindow painting bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 15:42:29 +00:00
Vadim Zeitlin
88b792af94 added missing refresh when changing focus in wxListCtrl, added test for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 15:41:18 +00:00
Vadim Zeitlin
2387541fc3 moved wxNO_FULL_REPAINT_ON_RESIZE to wxControl from wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 15:01:25 +00:00
Vadim Zeitlin
4087064a38 don't try to refresh the menu bar before showing it, fixes crash on startup with wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 14:59:08 +00:00
George Tasker
8f974c520a Replaced /'s with \'s as BCC requires \'s for path names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-13 00:59:40 +00:00
George Tasker
52b51c2791 Replaced 'erase' with $(RM) so that the default file deletion program can be overriden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 23:56:07 +00:00
George Tasker
b9f6a1abbf Makefile submitted by Markus G. for G95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 23:50:40 +00:00
George Tasker
3b50432abf Added regex to WXINC line (patch from Markus G)
Added definition of RM for use in makefiles so that 'erase' can be overridden with a different file deletion program (like 'rm')


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 23:49:18 +00:00
Václav Slavík
b9f246f7d9 added wxEventLoop::GetActive()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 22:10:20 +00:00
George Tasker
e8e4fa12f2 Removed semi-colons off the end of two macro statement lines so that compilation would be possible for BCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 21:45:41 +00:00
Gilles Depeyrot
5e998a336a corrections for Mac OS compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:45:42 +00:00
Gilles Depeyrot
d062e17fca added missing methods/removed duplicated base methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:43:02 +00:00
Gilles Depeyrot
a99c96b0ff bitmap mask corrections for Mac OS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:39:20 +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
Gilles Depeyrot
60149370ac applied SourceForge patch #440594 which corrects ListBox related errors
in Carbon applications under Mac OS X
the LDEF resource is no longer used in Carbon applications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:15:03 +00:00
Gilles Depeyrot
050f7ffbd1 added CodeWarrior 5.3 projects for working demos
corrected CodeWarrior project target names and generated application names


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 15:07:12 +00:00
Gilles Depeyrot
125c389e1b added missing return value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 10:39:26 +00:00
Gilles Depeyrot
6c41903ced added container class files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 10:38:50 +00:00
Václav Slavík
fd495ab3ea wxMGL bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 00:13:37 +00:00
Václav Slavík
2d2c394b59 fixed fl makefiles that Julian didn't fix correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 00:11:55 +00:00
Václav Slavík
40091824f1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 00:11:45 +00:00
Václav Slavík
5984c7f71b fixed wxUniv compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-12 00:11:31 +00:00
Gilles Depeyrot
6a54cc2a11 added container class source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-11 11:04:21 +00:00
Stefan Csomor
2af9ef13a7 corrected a bug in the masking code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-11 09:43:26 +00:00
Robert Roebling
d45fb985c4 Message dialog crashes when calling ::Move() etc. Better
do nothing than crash. MacOS 9.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-10 18:31:15 +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
Václav Slavík
f9a3f576cc wxMGL support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 22:43:32 +00:00
Václav Slavík
4fcf2d94aa added evtlooop.cpp for mgl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 22:42:38 +00:00
Václav Slavík
7bdc18790e wxMGL wxWindow and wxApp mostly complete, now hunting bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 22:40:39 +00:00
Václav Slavík
2cb980c58d added std icons to wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 22:39:08 +00:00
Vadim Zeitlin
b48da8024d Define _GNU_SOURCE instead of _XOPEN_SOURCE (which breaks libtiff compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 01:20:12 +00:00
Vadim Zeitlin
ea8628fb74 changed CPPFLAGS to CXXFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-09 00:26:53 +00:00
Vadim Zeitlin
06dda230f6 fixed wxINSTALL_PREFIX setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:59:41 +00:00
Vadim Zeitlin
7e67ed0df4 moved wxINSTALL_PREFIX from CPPFLAGS to setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:46:39 +00:00
Vadim Zeitlin
776862b497 1. fixed test in configure for gettimeofday() argument
2. portability fixes in wxSingleInstanceChecer (use S_IRUSR, not S_IREAD)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:35:17 +00:00
Václav Slavík
f23e92e72a fix for nbsp problem and minor parsing flow change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:19:02 +00:00
Václav Slavík
61b50a43aa made some wxHtmlEntitiesParser's methods public -- turned out they are useful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:18:39 +00:00
Václav Slavík
455df0f450 updated wxTextFile docs; some typo corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:18:24 +00:00
Václav Slavík
dce5c1dbe1 wxEraseEvent docs corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 23:18:01 +00:00
Vadim Zeitlin
a3cb1afc37 1. next attempt to fix RH 7.1 build
2. CPPFLAGS are the flags for cpp, not for c++ compiler!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 22:52:53 +00:00
Robert Roebling
53bad206de Probably fixed listbox crashes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 20:08:07 +00:00
Vadim Zeitlin
2389f33bb4 fixed errors in glibc test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 16:44:05 +00:00
Vadim Zeitlin
c39c53e9fc oops, last check in undone - there is a problem somewhere there...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 16:41:57 +00:00
Vadim Zeitlin
ab252f7b29 attempts to fix recursive mutex initialized detection under RedHat 7.1 (new glibc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 16:38:37 +00:00
Julian Smart
81177b12cd Corrected my typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 10:59:46 +00:00
Julian Smart
d1110a74ea Added container class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 06:43:28 +00:00
Vadim Zeitlin
d0debf520a drastically reduced flicker in RefreshItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-08 00:10:01 +00:00
Václav Slavík
3ca2209e61 merged wxMGL cursors from wxUniversal branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 23:22:41 +00:00
Václav Slavík
ed88f3ab34 native theme for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 23:16:11 +00:00
Vadim Zeitlin
38bcbd474c removed Robert's message box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 19:03:06 +00:00
Vadim Zeitlin
c1c4c5516c fixed unwanted owner data accesses in virtual list ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 18:18:17 +00:00
Vadim Zeitlin
93488eee91 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 15:12:33 +00:00
Stefan Csomor
71789654c7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 06:54:30 +00:00
Vadim Zeitlin
91a62137b1 don't process enter as tab, there are many controls which want to process it themselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-07 00:14:45 +00:00
Vadim Zeitlin
9948d31f4e changed wxControlContainer to avoid triggering tons of warnings from VC++ at
warning level 4 ("'this' : used in base member initializer list" is really
the stupidiest warning I've ever seen)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 22:50:28 +00:00
Václav Slavík
adfed1ca92 Unicodification of wxTextFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 22:40:57 +00:00
Václav Slavík
1facd32a75 Unicodification of wxTempFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 22:40:09 +00:00
Václav Slavík
6dabdbb43a why was generic wxNativeFontInfo code disabled for wxMGL?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 22:39:11 +00:00
Václav Slavík
fc1f212528 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 22:38:53 +00:00
Robert Roebling
159b66c02a Applied patch for wxComboBox and wxListBox to
prevent "hanging" in single selection mode.
    Also removed call to AddPendingEvent and
    changed wxLB_EXTENDED mode so that no changes
    to the listbox go unnoticed.
  I do wonder what the difference between multiple
    and extended list boxes actually are.
  Not suer what I changed in the other files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 21:06:13 +00:00
David Webster
1bcfc0e1b9 Some Updates for latest CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 20:40:31 +00:00
Vadim Zeitlin
cdebf9851e use item colour when drawing the focused item if we don't highlight it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 19:49:37 +00:00
Vadim Zeitlin
837f2b6872 don't draw the focused item rect around the image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 19:29:47 +00:00
Vadim Zeitlin
c25f61f16a don't draw the selected item background if we don't have the focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 19:27:08 +00:00
Vadim Zeitlin
cdb3cffe0e don't draw the selected item background if we don't have the focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 19:12:13 +00:00
Vadim Zeitlin
42f96a884e don't allow TABbing to wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 18:59:57 +00:00
Vadim Zeitlin
0013a77bd1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 18:53:55 +00:00
Stefan Csomor
c1fb8167e9 corrected mac src due to new api changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 15:57:14 +00:00
Vadim Zeitlin
6b55490abd 1. slightly changed how wxControlContainer is used
2. use it now for wxSplitterWindow too
3. don't compile wxIdleEvent in !wxUSE_GUI mode (why was it done?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:55:04 +00:00
Vadim Zeitlin
a86253375b added another small test for wxTimeSpan::Format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:24:29 +00:00
Vadim Zeitlin
cbca994306 added wxUSE_SPLASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:19:35 +00:00
Vadim Zeitlin
dd0705221e wxBase compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:18:03 +00:00
Vadim Zeitlin
47606d3612 added wxUSE_SPLASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:13:48 +00:00
Vadim Zeitlin
24a7a1980f fixed infinite recursion in SetFocus()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 12:12:32 +00:00
Vadim Zeitlin
003d347f8d regenerated to include src/common/containr.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 11:58:42 +00:00
Vadim Zeitlin
1f8b8785bf bug in SetLastFocus corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 11:58:05 +00:00
Vadim Zeitlin
6285be7223 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 11:57:23 +00:00
Vadim Zeitlin
5314ac16c5 compilation fix (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 11:48:00 +00:00
Vadim Zeitlin
dad5f99acb pragma fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 11:43:04 +00:00
David Webster
8d7ddd0264 Updates to fix statusbar and menu errors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 02:37:13 +00:00
Vadim Zeitlin
456bc6d9b8 moved knd handling logic from wxPanel to wxControlContainer (sorry for
the dull name Julian ;-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-06 00:49:59 +00:00
Vadim Zeitlin
ec4f95c40f added empty and unused wxTLW - to be used later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 22:40:41 +00:00
Robert Roebling
cf19b0bd25 Patch that should prevent problem with interference
between dragging the scrollbat thumb and normal
    mouse events. Also, thumb-release event are now
    sent from wxScrollWindow. Neither has been tested,
    but the same code works in wxWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 21:40:30 +00:00
Gilles Depeyrot
fbb24934df removed useless include (already in glcanvas.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 16:39:03 +00:00
Gilles Depeyrot
b3c406a529 added include for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 16:37:32 +00:00
Gilles Depeyrot
c107c21e73 corrected includes for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 16:34:37 +00:00
Gilles Depeyrot
581acb9180 corrected conditional compilation for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 16:32:48 +00:00
Vadim Zeitlin
a37d422a66 fixed processing of the implicit wxTextCtrl accelerators (Ctrl-C/V/X)
without breaking all the others by using a new MSWShouldPreProcessMessage()
function


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 15:07:28 +00:00
Vadim Zeitlin
2a3caeb594 fixed kbd handling in wxFindReplaceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-05 14:13:28 +00:00
Václav Slavík
fe6b43a36e reverted my Set/getTitle change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-04 22:36:19 +00:00
Václav Slavík
b496583bb1 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 20:26:24 +00:00
Václav Slavík
9d59f1fc2e once again forgot about this OS/2 strangeness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 20:26:04 +00:00
Vadim Zeitlin
572aeb7789 fix for infinite recursion in UpdateFontIfNeeded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 17:19:55 +00:00
Vadim Zeitlin
46c87a9a8a compilation error fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 16:26:05 +00:00
Stefan Csomor
5291a2bc63 added gaugecmn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 16:02:09 +00:00
Julian Smart
72c094d9d3 Added missing Makefile names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 15:20:35 +00:00
Vadim Zeitlin
0ebdf9fa8b no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 14:50:41 +00:00
Vadim Zeitlin
9f39393d9e failed attempt to change the default action for GTK dnd (nothing changed finally)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-03 13:24:23 +00:00
Václav Slavík
a467ac36a5 Set/GetTitle out of wxWindowBase, forked and put to gtk/window.h and mgl/window.h (and no, we can't get rid of them completely unless Vadim stops using them in wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 23:46:38 +00:00
Václav Slavík
a264ece2c5 Set/GetTitle out of wxWindowBase, forked and put to gtk/window.h and mgl/window.h (and no, we can't get rid of them completely unless Vadim stops using them in wxUniv)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 23:32:27 +00:00
Václav Slavík
a643192e96 fixed docs to accomodate more strict wxHTML Help controller
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 23:31:49 +00:00
Robert Roebling
4f5fffcc74 Fix tree control invalid pointer after drag bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 21:37:15 +00:00
Vadim Zeitlin
208c51418f compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 20:15:33 +00:00
Vadim Zeitlin
3e7fb236ea remember unknown charsets in the config too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 19:20:47 +00:00
Vadim Zeitlin
bf9b6266fa applied patch 446014 (misc mingw fixes from Mattia)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 19:02:17 +00:00
Vadim Zeitlin
4acb6ca672 applied patch 446010 (unicode compilation fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 18:59:50 +00:00
Vadim Zeitlin
18dbb1f630 applied patch 446009 (DLL cross compilation using mingw32)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 18:58:52 +00:00
Vadim Zeitlin
f1c03ec955 removed wxYield call from wxBusyCursorSuspender
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 18:26:06 +00:00
Julian Smart
aaab8586fe Corrections to the VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 17:20:38 +00:00
Julian Smart
5648c0ad51 Removed memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 17:16:56 +00:00
Vadim Zeitlin
733e8cf36e compilation fix for cygwin/old mingw32 (patch 446700)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 14:57:02 +00:00
Robin Dunn
7ba5a665ac Don't send a focus event if the window is a wxTextCtrl, since it sends
it's own focus event later on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 03:06:24 +00:00
Robin Dunn
ab93a576f4 Don't send a focus event if the window is a wxTextCtrl, since it sends
it's own focus event later on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 03:01:14 +00:00
Robin Dunn
c0ce1b0339 compilation fix for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 02:48:01 +00:00
Robin Dunn
ddab9f80c8 changed Replace and Remove to always use EM_REPLACESEL instead of
going through the clipboard


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-02 02:34:44 +00:00
Václav Slavík
3034199797 documented changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 23:07:08 +00:00
Václav Slavík
6b076b4034 SHARED_LD must be CXX, not CC, otherwise we get unresolved
externals (at least with gcc3) if app binary wasn't linked with CXX. This may
happen for instance when dynamically loading wxPython module.
(Let's change it for all platforms, not only Linux, and see what happens.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 23:06:46 +00:00
Václav Slavík
ff292c7b5b fixed MGL files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 23:06:01 +00:00
Václav Slavík
a4bbc9f720 wxMGL update (no, it still doesn't work, I'm backuping it just in case my disk burns)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:57:11 +00:00
Václav Slavík
57d677d15e more tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:56:40 +00:00
Václav Slavík
27523ad052 added tracing of strconv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:56:24 +00:00
Václav Slavík
3a0d76bc6f hopefully fixed bytesex issues in strconv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:56:12 +00:00
Václav Slavík
83c9da455a fixed <pre> handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:56:02 +00:00
Václav Slavík
7a0166faad fixed mgl.t to not include paletteg.o (hey, reading these templates is better than Cryptonomicon...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:55:02 +00:00
Václav Slavík
04d34b6782 fixed MGL files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:54:54 +00:00
Václav Slavík
5620d8de24 added mgl.t to makeall.sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:54:43 +00:00
Václav Slavík
a04eec8792 added bmpbase.cpp (forgotten during merge?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:54:24 +00:00
Václav Slavík
2119e28084 fixed overrestrictive test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:50:49 +00:00
Václav Slavík
2b92b572ac compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:50:31 +00:00
Václav Slavík
94fa33a0ed compilation fix (Vadim, is this correct?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 22:50:20 +00:00
Julian Smart
ed45cddc9a This time, changed the correct release script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 16:59:09 +00:00
Julian Smart
99ed18be8a Added progress dialog to project files; changed version in release script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 16:58:20 +00:00
Vadim Zeitlin
e09bdfbea6 applied patch 432202 (allow installing in already existing directories)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 15:29:30 +00:00
Vadim Zeitlin
d84d25dd93 applied patch 441270 (fix cygwin wxSplashScreen compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 15:03:04 +00:00
Vadim Zeitlin
6788ecb8a9 applied patch 444915 (warning fixes for gcc 2.95.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 15:00:33 +00:00
Vadim Zeitlin
baff4ae246 added wxUSE_FINDREPLDLG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:57:32 +00:00
Vadim Zeitlin
8db37e0699 added generic implementation and documentation for wxFindReplaceDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:55:03 +00:00
Vadim Zeitlin
22670da422 added tests for ScrollLines/Pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 14:53:59 +00:00
Vadim Zeitlin
d71c52c471 removed KLB mods - but I'm doing this for the last time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 11:45:20 +00:00
Vadim Zeitlin
9ac1d38b32 removed duplicate typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 11:24:30 +00:00
Vadim Zeitlin
761989ffb5 Vain attempts to make kbd navigation work inside find/replace dialog - it
still doesn't. But at least the dialog itself does work now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-08-01 02:29:35 +00:00
Václav Slavík
711c76db49 wxWindowBase remembers title/label now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 22:44:30 +00:00
Václav Slavík
b2a19d941d wxMGL compilation fix that I forgot to chekc in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 22:36:29 +00:00
Václav Slavík
3d474bbc2a friend class fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 22:36:00 +00:00
Václav Slavík
c7e9e7584f fixed friend class declaration (why the hell did somebody fix it only for his compiler?!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 22:34:52 +00:00
Robin Dunn
8215f84b5c Fixed "Failed to set clipboard data. (error 1418: thread does not have
a clipboard open.)" error when using wxTextCtrl::Replace


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 21:30:30 +00:00
Vadim Zeitlin
c41b00c9f5 started applying patch 410826
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 21:29:36 +00:00
David Webster
834999c248 Added regex to the build. New .def file for .dll builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 20:57:01 +00:00
David Webster
03d32695dd TRUE instead of true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 20:56:17 +00:00
Vadim Zeitlin
817ec43a71 fixed compilation [warning]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 17:58:21 +00:00
Vadim Zeitlin
ad0bae85d8 declare and define wxEVT_COMMAND_TEXT_UPDATED even if wxUSE_TEXTCTRL == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 17:56:45 +00:00
Kendall Bennett
d699f48ba3 Latest updates from SciTech code tree including numerous warning fixes for
the Watcom and other compilers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-31 17:50:16 +00:00
Robin Dunn
ac6f6ffccf Applied patch #445873
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 21:37:56 +00:00
Vadim Zeitlin
9cd6d737d5 1. made ScrollLines/Pages return bool indicating if we scrolled till the
end or not
2. implemented them for wxGTK text ctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 15:22:38 +00:00
Vadim Zeitlin
68a9ef0ef0 eliminated flicker when selecting items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 13:47:22 +00:00
Vadim Zeitlin
78bcfcfcb6 compilation fixes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-30 11:18:12 +00:00
Vadim Zeitlin
c0cdd6ccd0 implemented ScrollLines/Pages; fixed bug in Thaw()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 23:00:27 +00:00
Vadim Zeitlin
70e8189368 documented ScrollLines/Pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:51:06 +00:00
Vadim Zeitlin
b9b3393e48 added ScrollLines/Pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:47:40 +00:00
Vadim Zeitlin
c57e33394c 1. added wxTE_AUTO_URL style and support for it under Win32 (and brief
mention in docs and tests in the sample)
2. moved wxTextCtrl-specific stuff from defs.h/event.h to textctrl.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:40:21 +00:00
Vadim Zeitlin
94589c3f4f compilation fix for recent commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 22:20:50 +00:00
Vadim Zeitlin
a0e449ff41 added Freeze/Thaw implementation for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 21:22:12 +00:00
Robin Dunn
4f3449b432 Added context help stuff to wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-29 03:06:02 +00:00
Václav Slavík
d32cad2cce wxMGL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 22:40:02 +00:00
Václav Slavík
386c70583a wxMGL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 22:39:51 +00:00
Robin Dunn
10be44acb0 Various tweaks, fixes, and additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:29:34 +00:00
Robin Dunn
3a0958b165 Various tweaks, fixes, and additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:12:32 +00:00
Robin Dunn
5597b61e54 Fixed resource leak for wxListItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:10:39 +00:00
Robin Dunn
30cd05ed0e The installer should also check HKCU for the python install dir, since
ActivePython will use that key.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:07:18 +00:00
Robin Dunn
2f9be7879e A couple fixes for the demo, and some code to show a bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 03:06:02 +00:00
Robin Dunn
afc2b641d3 A couple off-by-one fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-28 02:57:53 +00:00
Vadim Zeitlin
82dfea7723 mingw32/cygwin compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-27 20:05:07 +00:00
Vadim Zeitlin
71ec83d2fd don't crash when invalid colour is set as fg/bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-27 13:30:16 +00:00
Julian Smart
b6b85bdccb Added fix to send scroll messages from mouse wheel instead of scrolling directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-27 10:07:46 +00:00
Robin Dunn
f35719ef1d Added some WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-27 02:54:19 +00:00
Vadim Zeitlin
6d477bb459 (bad) fix for asserts and OnIdle events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 18:40:25 +00:00
Vadim Zeitlin
c0f8674c79 forgotten method declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 18:39:36 +00:00
Vadim Zeitlin
0b165ed6b2 made the log dialog resizeable (again?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 16:45:41 +00:00
Vadim Zeitlin
0e980f9109 highlight the focused item in non report mode too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 16:33:19 +00:00
Vadim Zeitlin
a95cdab85c fix for (re)positioning the main window when the style changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 16:19:27 +00:00
Vadim Zeitlin
69c916e921 avoid nested modal log dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 15:26:02 +00:00
Vadim Zeitlin
9fe52545f5 test for wxLog interaction with wxYield better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 15:09:35 +00:00
Vadim Zeitlin
406a6f6b65 *really* suppress log messages from inside wxYield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 13:21:34 +00:00
Robert Roebling
ec7482df8b Fixed problem with missing refresh in wxScrolledWindow::
SetScrollbars().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 11:32:03 +00:00
Vadim Zeitlin
1ff4714de0 respect SetFont/SetXXXColour in wxTextCtrl even when using styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 09:58:19 +00:00
Vadim Zeitlin
1f4774338e don't do anything in SetBackgroundColour() if colour is invalid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 09:24:36 +00:00
Vadim Zeitlin
3a57b93d37 timestampt trace/debug messages under Unix too, this is useful for debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 09:06:35 +00:00
Vadim Zeitlin
eff005236d added demo of the difference Freeze/Thaw makes in wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 08:59:00 +00:00
Vadim Zeitlin
0cc7251efe added wxWindow::Freeze/Thaw(), implemented them for wxGTK::wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-26 08:33:53 +00:00
Vadim Zeitlin
d6ddcd574b fix for focus handling when deleting the items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-25 16:13:32 +00:00
Julian Smart
37dd872003 Tweaks to fl project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-25 13:17:35 +00:00
Vadim Zeitlin
2b96d0fb4b compilation warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-24 19:33:55 +00:00
Vadim Zeitlin
6853365e97 reverted my previous change to WINVER - it is already defined elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-24 17:08:28 +00:00
Vadim Zeitlin
974e72ccbb fixed compilation problem with multiple Update()s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-24 16:19:46 +00:00
Julian Smart
8e08b761b0 Added fl (frame layout) to wxWindows, from source tidied by Hans Van Leemputten <Hansvl@softhome.net>.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-24 15:27:12 +00:00
Gilles Depeyrot
3c85ada9db renamed Number method (should be GetCount)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 20:11:12 +00:00
Vadim Zeitlin
cc4a1ce1f5 fixed bug with wxPathExists('c:\') yet again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 18:17:28 +00:00
Vadim Zeitlin
f925f24de8 don't process VK_OEM_XXX key presses
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 18:13:36 +00:00
Vadim Zeitlin
2dace059ee use Windows standard icons instead of our own (patch 443856)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 18:06:13 +00:00
Vadim Zeitlin
aba4387c4c added test for writing empty value to the config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 17:46:15 +00:00
Vadim Zeitlin
0516e0e8ec 1. fixed bug with empty value not being written to the file
2. moved ConfigEntry/Group into .cpp from .h and renamed them to wxXXX


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 17:45:56 +00:00
Vadim Zeitlin
34bbbc276d don't call wxYield() from EnsureVisible(), this is too dangerous - and unnecessary as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 15:54:41 +00:00
Vadim Zeitlin
91c6cc0e71 fixed bug with deletion of several last items in wxListCtrl, added tests for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 14:57:01 +00:00
Vadim Zeitlin
d9ff0f91fb added and documented wxDir::HasFiles/SubDirs(), use the latter in wxDirDialog - it is several orders of magniture faster than wxFindFirstFile!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-23 13:28:39 +00:00
Gilles Depeyrot
8f99a08fc0 correction for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 20:26:08 +00:00
Gilles Depeyrot
e177af73aa corrected pragma interface/implementation (clash with wxWindows library)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 20:25:27 +00:00
Gilles Depeyrot
d7d38ea412 fixed wxListBox inheritance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 20:05:15 +00:00
Gilles Depeyrot
24176f2c11 added property sheet option
corrected tree layout option
corrected samples list configuration


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 19:36:05 +00:00
Gilles Depeyrot
bfde68e43f added tree layout define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 18:07:19 +00:00
Gilles Depeyrot
d8eccedebe corrected conditional compilation tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 18:06:09 +00:00
Gilles Depeyrot
f2828b3910 post wxUniv merge fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:21:59 +00:00
Gilles Depeyrot
249af79837 post wxUniv merge fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:15:14 +00:00
Gilles Depeyrot
8073eb4044 post wxUniv merge fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:09:23 +00:00
Gilles Depeyrot
b142515e79 corrected pragma interface/implementation for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:03:06 +00:00
Gilles Depeyrot
5af4b77ff3 added missing conditional compilation test for MSW specific events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 17:00:57 +00:00
Gilles Depeyrot
721a4a08bc added dependency handling to Makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 15:05:53 +00:00
Gilles Depeyrot
cb71207424 corrections for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:57:47 +00:00
Gilles Depeyrot
73486557c0 ignore files produced by CodeWarrior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:50:50 +00:00
Gilles Depeyrot
e195c8c95f correction for Mac OS compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:23:55 +00:00
Gilles Depeyrot
1197380cfa added dependency handling to Makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:19:42 +00:00
Gilles Depeyrot
a132a1c810 correction for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:10:45 +00:00
Gilles Depeyrot
0147a7c140 post wxUniv merge fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:09:23 +00:00
Gilles Depeyrot
685aded8fd corrections for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:08:55 +00:00
Gilles Depeyrot
8b2a4e0c1a added dependency handling to Makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 14:06:10 +00:00
Gilles Depeyrot
1297ecfe31 removed inexistant header files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 13:52:52 +00:00
Vadim Zeitlin
7ba166dd9e compilation fix for old broken Borland compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 12:06:46 +00:00
Vadim Zeitlin
d7926e0b76 backported fix for proper tree ctrl refershing after changing item colour/font from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-22 01:28:18 +00:00
Gilles Depeyrot
39e808c3a1 replaced hardcoded wxgtk_gl library with appropriate configure macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 06:51:11 +00:00
Gilles Depeyrot
a46ccc25b4 added WX_TARGET_LIBRARY_GL to recursive configure substitutions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 06:48:40 +00:00
Gilles Depeyrot
9df06f5b69 added wxWindows shared library to link of OpenGL wxWindows shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 06:47:48 +00:00
Gilles Depeyrot
7b6058cd87 corrected bad Darwin related configure test
implemented OpenGL configuration for Mac OS X
added WX_TARGET_LIBRARY_GL to config cache


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 06:45:33 +00:00
Gilles Depeyrot
689471fc3a added DEP_INFO_FLAGS to compilation options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 06:42:20 +00:00
Gilles Depeyrot
1d8729431c corrections for wxGtk compilation under Darwin/Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 05:32:09 +00:00
Gilles Depeyrot
057d323c63 added missing conditional compilation test for wxUSE_PROPSHEET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 05:23:06 +00:00
Gilles Depeyrot
4b6480c8eb minor changes to correct compilation warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-21 05:19:25 +00:00
Vadim Zeitlin
5fe143dfdf fix for rather mysterious problem when deleting the list ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 20:54:17 +00:00
Gilles Depeyrot
2350e91520 post wxUniv merge fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 18:46:55 +00:00
Gilles Depeyrot
a6c1aa9027 post wxUniv merge fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 18:44:10 +00:00
Vadim Zeitlin
32a87ae7b5 applied numpad keys patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 14:35:39 +00:00
Václav Slavík
eaf1a1d902 fixed entities parsing under win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 12:33:32 +00:00
Václav Slavík
0d58bb6578 oops, forgot to fix wxHtmlTag dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 12:32:50 +00:00
Vadim Zeitlin
0510b4bbee test for __WIN95__ in the main header, not platform-sepcific one for consistency with the other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 11:59:46 +00:00
Vadim Zeitlin
3f0f016135 define WINVER for mingw32 cross compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 11:58:54 +00:00
Vadim Zeitlin
ff3d11a0ab implemented EVT_LIST_CACHE_HINT support: send this message from OnPaint() now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 11:12:34 +00:00
Vadim Zeitlin
e3c7fd79d0 fixed three new warnings after the last warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 08:56:27 +00:00
Vadim Zeitlin
3c8c8da2aa fixed a warning and detabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 08:55:08 +00:00
Vadim Zeitlin
f7ba097de4 made 2 column list wider to accomodate all entries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 08:48:41 +00:00
Vadim Zeitlin
6465d4013d replaced literal backslashes with backslash TeX macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 08:47:48 +00:00
Vadim Zeitlin
8a5b9745fb fixed crash in XPM decoder when reading non XPM files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 01:18:08 +00:00
Vadim Zeitlin
e623926d63 filter out garbage Windows sends us via LVN_ODCACHEHINT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 01:00:21 +00:00
Vadim Zeitlin
614391dc08 added EVT_LIST_COMMAND_CACHE_HINT, implemented it for MSW and test in the sample; briefly documented virtual list control fucntionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-20 00:25:09 +00:00
Vadim Zeitlin
481c879b8e VC++ warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 23:43:40 +00:00
Václav Slavík
211dfeddfc new wxHtmlParser core and changes implied by it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 22:31:00 +00:00
Václav Slavík
6c62a62bf7 new wxHtmlParser core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 22:30:22 +00:00
Vadim Zeitlin
0f2ecc913b FreeBSD compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:54:49 +00:00
Vadim Zeitlin
cd0401c85e fixed some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:52:26 +00:00
Vadim Zeitlin
850ed6e7b0 1. don't delete item attributes in the virtual list control (=> crash)
2. refresh the window after deleting all items


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:50:40 +00:00
Vadim Zeitlin
2131b89d2c added test for THREADS if JOYSTICK is set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:49:55 +00:00
Vadim Zeitlin
dc38e51504 don't remove lib/wx when making clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:48:59 +00:00
Vadim Zeitlin
7737c485f3 made SetPriority docs more clear
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:47:12 +00:00
Vadim Zeitlin
6ff77d3395 fix for missing wxUSE_DARWIN definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 20:44:34 +00:00
Vadim Zeitlin
2f919f9988 fixes to version string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 13:51:29 +00:00
Vadim Zeitlin
a7adaedae8 1. compilation fixes
2. don't quote special characters inside verbatim environment


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 13:44:57 +00:00
Vadim Zeitlin
dee5b92f9c fix for custom bitmap setting for the first page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 12:29:02 +00:00
Vadim Zeitlin
5ef298b3c7 minor fixes, added an example
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 01:07:56 +00:00
Vadim Zeitlin
2d290a9237 fixed compilation problem inwith ^
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-19 00:44:11 +00:00
Václav Slavík
6bedf83dec removed debug printfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:01:54 +00:00
Václav Slavík
9eeca6dfe8 fixed ugly stupid piece of code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:01:43 +00:00
Václav Slavík
00393283ff Unicode complation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:01:31 +00:00
Václav Slavík
cd99221a57 - fixes warnings with mingw crosscompilation
- fixes for missing _t functions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:00:30 +00:00
Václav Slavík
8079468d4d Mingw Unicode fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:00:17 +00:00
Václav Slavík
a5940c66c7 Mingw Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 23:00:02 +00:00
Václav Slavík
55b2b0d80a Unicode fixes to wxCmdLineParser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 22:59:51 +00:00
Václav Slavík
031d8228bb (1) removed -lcrtdll from Mingw build
(it was plainly wrong thing, gcc is supposed to link against C library
automatically... and it broke binaries produced with MSVCRT version of Mingw)
(2) fixed typo in MS_HTML_HELP check
(3) added (back?) WXHTML_HELP checks to configure


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 22:58:33 +00:00
George Tasker
a43e748a70 Fixed some "\_"s in verbatim blocks so they are no longer quoted with backslashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 22:00:03 +00:00
George Tasker
e4941e3d12 Fixed closing of program to work properly if PASS #1 failed for some reason. Before this fix, you could not exit the GUI version of the program under windows without using CTRL-ALT-DEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 21:04:36 +00:00
George Tasker
1156efc1c4 Fixed mismatched curley brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-18 20:47:23 +00:00
Vadim Zeitlin
63617fb55d initialize gs_pFrame to NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 22:21:01 +00:00
Vadim Zeitlin
2feed0044e blind fix for wxScrolledWindow problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 22:01:00 +00:00
Vadim Zeitlin
32a2fbc868 fixed regex bug in ProcessFamiliesFromFontList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 18:14:04 +00:00
Julian Smart
b642d4570d Correction to icon index code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 16:27:36 +00:00
Julian Smart
ff9aab3c75 Added support for extracting icon using specified index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 15:49:43 +00:00
Vadim Zeitlin
b121fa31ec added wxOPEN/SAVE flags to wxDefaultFileSelector
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 09:03:30 +00:00
Vadim Zeitlin
8d75348894 don't use static box as a parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 08:27:42 +00:00
Vadim Zeitlin
f763782968 renamed wxDynamicThisCast to wxDynamicCastThis, removed 1st parameter, and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 08:25:43 +00:00
Robin Dunn
8e673075f6 Added rules to build the regex library from the main makefile, if
needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-17 00:18:51 +00:00
Vadim Zeitlin
11ec1f16f8 wxRegEx docs I forgot to add before (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 22:54:14 +00:00
Robin Dunn
2c8a649d7a Some tweaks and generated core sources for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 22:52:01 +00:00
Vadim Zeitlin
1255525b5a compilation fix I had forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 18:07:30 +00:00
Robin Dunn
6fea4a7a22 fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 17:48:14 +00:00
Vadim Zeitlin
f1d7cbac43 speed up font list processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 15:23:04 +00:00
Vadim Zeitlin
53997bc265 removed assert which could be provoked by correct code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 15:17:09 +00:00
Robert Roebling
f0d53ebfb2 Added missing methods. Now tested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 14:27:16 +00:00
Robert Roebling
c4c1fab955 Added missing methods. Not yet tested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 09:42:37 +00:00
Robert Roebling
1348e1a5d9 Added symptomatic fix to wrong height in wxStaticText.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 08:20:13 +00:00
Robert Roebling
23d416bfc4 Tried to make button events interceptable in generic wxSpinCtrl. No luck.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 07:58:15 +00:00
Robert Roebling
0d9e47578e Fixed small prob with wxSpinButton orientation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-16 07:38:44 +00:00
Gilles Depeyrot
f5c6eb5c17 modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 21:12:31 +00:00
Gilles Depeyrot
0cbb929795 modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 21:07:34 +00:00
Gilles Depeyrot
6e040042ba modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 21:04:44 +00:00
Robert Roebling
2cc7838931 Up-ported code to make tree item visible when programmatically
selected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 19:36:25 +00:00
Gilles Depeyrot
f11bdd03b9 modified configure to allow configuration of wxMotif under Darwin/Mac OS X
wxWindows can be configured as wxMac or wxMotif under Mac OS X
replaced __WXMAC_X__ define by __DARWIN__ (general Darwin related issues)
moved dlopen/dlerror code to dynlib.cpp to make it available for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 18:47:13 +00:00
Gilles Depeyrot
ee65598f95 added common regex
added missing dependency files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 10:45:31 +00:00
Stefan Csomor
626094e251 committed - just to be sure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 10:11:49 +00:00
Stefan Csomor
954fc50b6e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 10:06:50 +00:00
Stefan Csomor
acc0ebd7a8 added new project file having the new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-15 10:02:38 +00:00
Vadim Zeitlin
dccde0c023 bug fix to the recent wxConvertFromMSW change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 21:18:23 +00:00
Vadim Zeitlin
8dff2b5cf8 use LVM_SETITEMSTATE instead of LVM_SETITEM for virtual controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 21:01:43 +00:00
Vadim Zeitlin
784164e176 blind fix for clearing font attributes in SetStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 20:39:26 +00:00
Vadim Zeitlin
bb6e7c1833 removed obsolete comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 20:38:56 +00:00
Robert Roebling
9aad97fdcc Minor beautification of wxToolBar under Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 18:49:06 +00:00
Robert Roebling
c10f20703e Corrected wxScrolledWindow's OnSize behaviour.
Formated code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 18:12:40 +00:00
Robert Roebling
9a26801874 Corrected wxScrolledWindow's OnSize behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 18:11:52 +00:00
Vadim Zeitlin
11eff56a7a merged NULL wxFrame parent HWND fix from 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 17:41:40 +00:00
Vadim Zeitlin
84c5b38d57 merged MapBitmap() from 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 17:37:55 +00:00
Vadim Zeitlin
706c2ac9da use wxRegEx if available in wxString::Matches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 16:41:55 +00:00
Vadim Zeitlin
8fb2999a85 added wxRegEx docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 16:41:18 +00:00
Vadim Zeitlin
765624f735 rewrote wxRegEx::Replace() to do something useful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 16:13:32 +00:00
Robert Roebling
dcf0fce44b Restored wxFileName::GetFullPath()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 14:29:09 +00:00
Robert Roebling
2985ad5dee wxIsAbsolutePath was correct.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 14:28:28 +00:00
Robert Roebling
ef70f0ecdb Mac-ify wxTreeCtrl further.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 14:27:25 +00:00
Robert Roebling
53e46b61bb Fix HTML help on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 14:26:27 +00:00
Robert Roebling
057b55b016 AddBook ignores wxMac paths (still won't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 11:29:26 +00:00
Robert Roebling
678c48b37d wxIsAbsolutePath is strange under wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 11:28:26 +00:00
Julian Smart
b6eefb739d Reverted my bad <> -> "" fix, sorry; updated project files.
Probably regex should have it's own .dsp file :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 09:02:42 +00:00
Robin Dunn
0adbc1660e Number() to GetCount() and other changes needed for wxPython to
compile with current CVS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 03:37:47 +00:00
Robin Dunn
257ed895d5 Made a couple Number() to GetCount() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 03:27:03 +00:00
Robin Dunn
ea37d8580d Added wxUSE_WAVE to setup0.h and checked for it in wave.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 03:25:40 +00:00
Robin Dunn
b342f8f0a6 Added RTTI macros to wxToolTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 03:23:30 +00:00
Vadim Zeitlin
d935f23cef fixed VC++ warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 02:03:40 +00:00
Vadim Zeitlin
a7f560a2cb implemented RefreshItem(s) under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 02:03:23 +00:00
Vadim Zeitlin
f008af1635 fixed setting/attaching menubar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 02:02:58 +00:00
Vadim Zeitlin
491c9920d0 fixed crash in ~wxHtmlCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-14 02:02:09 +00:00
Vadim Zeitlin
4d01e58361 documented wxInitialize and wxUnitialize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 23:43:49 +00:00
Robin Dunn
edd03296af fixed missing package dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 23:29:13 +00:00
Vadim Zeitlin
2bb1aac768 added regex to all the templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 23:16:12 +00:00
Vadim Zeitlin
d2be31386c added popupcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 21:09:20 +00:00
Stefan Csomor
9f92f6fbab corrected check string handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 20:58:14 +00:00
Vadim Zeitlin
6fe8b15355 popupcmn is needed by wxGTK too, why was it excluded?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 20:54:06 +00:00
Vadim Zeitlin
ec2182c646 corrected object file extension in the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 20:40:31 +00:00
Vadim Zeitlin
1a6cb56fb5 added RefreshItem(s) methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 20:09:44 +00:00
Julian Smart
770dba7a7b Changed <> to "" to help inclusion; added regex files to VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 19:34:06 +00:00
Vadim Zeitlin
491b5be830 added wxListView class: this is going to be a wxListCtrl with human (inter)face
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 19:26:44 +00:00
Vadim Zeitlin
6a6fd3e2b7 removed forgotten debugging printf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 19:14:28 +00:00
Vadim Zeitlin
02595b2825 renamed main.c to re_main.c to avoid clashes with main.cpp in VPATH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 19:08:59 +00:00
Vadim Zeitlin
208750a561 added wxUSE_REGEX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 18:59:12 +00:00
Vadim Zeitlin
2bda9cc854 regenerated the makefiles to include regex.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 18:56:33 +00:00
David Webster
893758d507 OS/2 fixes for this week.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:42:49 +00:00
David Webster
2e57a9efc5 true vs TRUE again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:42:16 +00:00
David Webster
6835592c5c OS/2 Updates for this week.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:41:54 +00:00
Vadim Zeitlin
08e0d1cc8b changes for building wxRegEx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:35:05 +00:00
Vadim Zeitlin
c88597ef26 added some makefiles (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:30:55 +00:00
Vadim Zeitlin
a553cb8bc6 added notes about wxRegEx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:15:10 +00:00
Vadim Zeitlin
07a56e452b added tests for wxRegEx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:12:23 +00:00
Vadim Zeitlin
f94d2a3718 added regex.h/.cpp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:11:50 +00:00
Vadim Zeitlin
0b2effe954 fixes for wxBase build with configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:10:54 +00:00
Vadim Zeitlin
c540684f0f fixed yet another typo, now it finally works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:10:20 +00:00
Vadim Zeitlin
00e6c2bd41 added wxRegEx::GetMatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 17:10:00 +00:00
Vadim Zeitlin
e7208277c1 wxRegEx class added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 16:17:43 +00:00
Vadim Zeitlin
96969ad7e5 incorrect warning fix fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 14:35:30 +00:00
Julian Smart
4624defaf9 Fixed typo in cache management code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 14:21:42 +00:00
Vadim Zeitlin
f7ba889914 fixed back compilation with REDEBUG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 14:17:15 +00:00
Vadim Zeitlin
f8fea431d2 more warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 14:13:20 +00:00
Vadim Zeitlin
1f0db2d994 a couple of warnings removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 14:02:05 +00:00
Vadim Zeitlin
8b70ca2666 added headers needed for wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:52:19 +00:00
Vadim Zeitlin
8ca28fb797 fix for wxBase compilation (misplaced #if wxUSE_GUI)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:51:57 +00:00
Vadim Zeitlin
831b3152e8 fixed wxBase makefile generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:51:32 +00:00
Vadim Zeitlin
5a41989248 Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:31:22 +00:00
Vadim Zeitlin
3e44f09d77 added detection of regex support to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 13:13:59 +00:00
Vadim Zeitlin
4d24ece719 removed incorrect 'static' keyword from var declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 12:32:48 +00:00
Julian Smart
c7b3692e2b Updated BC++ patch URL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-13 10:09:20 +00:00
George Tasker
e262868d43 ::Catalog() function was failing against several databases as the PRECISION and LENGTH values returned were larger (more bytes) than the variable that was bound for holding the returned value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 19:22:49 +00:00
Vadim Zeitlin
2c40e41c4e fixed crash in wxRegion::Empty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 16:23:58 +00:00
Jouk Jansen
0f02d3d0ec Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/appcmn.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/propform.cpp
 	wxWindows/src/gtk/descrip.mms
 	wxWindows/utils/dialoged/src/winstyle.cpp

  -Fixed VMS compile support
  -added some include's
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 15:02:40 +00:00
Julian Smart
f0a6b1cd6c Corrected DoBlit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 10:37:27 +00:00
Vadim Zeitlin
93d4c1d03b fixed VC++ warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 00:08:53 +00:00
Vadim Zeitlin
63166611fb implemented attributes support for native virtual list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 00:06:48 +00:00
Vadim Zeitlin
6beb85c0d3 menu bar wasn't set properly internally after my previous change - fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-12 00:06:07 +00:00
Vadim Zeitlin
7d29741468 don't refresh the scrollbars unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 23:21:10 +00:00
Václav Slavík
29fd3c0cc1 fixed windows.h check and added checks for MS HTML Help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 22:30:12 +00:00
Václav Slavík
0aa366f726 fixes for broken records
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 22:28:59 +00:00
Julian Smart
30b25d4e65 Compilo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 21:25:46 +00:00
Stefan Csomor
9453cf2bd7 several mac fixes (Mark Newsams patches)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 20:33:12 +00:00
Julian Smart
aef94d6860 Made DC cacheing less obstrusive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 20:22:44 +00:00
Julian Smart
2774804745 Removed cacheing option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 17:27:23 +00:00
Vadim Zeitlin
6c02c32922 added support for item attributes in virtual list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 16:22:12 +00:00
Vadim Zeitlin
a5f1fd3e33 added and documented wxApp::OnAssert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 15:19:32 +00:00
Vadim Zeitlin
1e4d446b99 oops, restored the postpone-redraw-if-dirty test which was somehow left out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 13:40:32 +00:00
Vadim Zeitlin
b84839aea9 (much) more efficient report mode redrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 13:35:07 +00:00
Vadim Zeitlin
4a20e7568e documented wxLogChain and wxLogPassThrough classes and wxLog::DoLog/DoLogString methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 13:34:42 +00:00
Vadim Zeitlin
6c0e8b4ea5 moved some headers inside #ifndef WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 12:35:33 +00:00
Václav Slavík
0cd7d9b235 mingw compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 12:28:39 +00:00
Vadim Zeitlin
4e3ace6595 fixed hit testing for non report modes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 12:10:49 +00:00
Julian Smart
0cbff1201a Added wxUSE_DC_CACHEING and associated code to wxMSW
Added EnableCache, CacheEnabled to wxDCBase
Added mask source args to DoBlit, Blit
Added cache testing code to dragimag sample
Added wxSystemOptions, regenerated makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 10:07:06 +00:00
Vadim Zeitlin
03147cd08e added wxLogChain and wxLogPassThrough classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 09:43:40 +00:00
Vadim Zeitlin
86313763ba compilation fix for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-11 07:37:06 +00:00
Václav Slavík
8f0db49cd2 compilation fix for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:48:27 +00:00
Václav Slavík
c9cdd31d81 #ifdefed wxPopupComboWindow to be used only in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:46:27 +00:00
Václav Slavík
a8132cd4b1 1. #ifdefed wxPopupComboWindow to be used only in wxUniv
2. compilation fix for wxPopupWindowHandler::OnLeftDown (somehow I doubt this will work w/o wxUniv...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:46:18 +00:00
Václav Slavík
d4158b5d93 added check for w32api.h to configure (so that libjpeg works when cross-compiling)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:39:58 +00:00
Václav Slavík
b0bdbbfe11 fixes for tables renderer: now recognizes missing border property correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 22:38:21 +00:00
Robin Dunn
e83991bf89 little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 18:12:27 +00:00
Vadim Zeitlin
fd7718b28c made wxLog::Set/GetVerbose() static back again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 17:33:53 +00:00
Vadim Zeitlin
bf188f1add added cmd line parsing support to wxApp and --theme option to wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 17:28:19 +00:00
Vadim Zeitlin
a5bb60ce35 added wxUSE_CMDLINE_PARSER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 16:46:54 +00:00
Vadim Zeitlin
2407b388de added #if wxUSE_CMDLINE_PARSER around the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 16:44:15 +00:00
Vadim Zeitlin
89e7a223c2 more combobox appearance fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:42:51 +00:00
Vadim Zeitlin
085a1f3cd9 oops, missing semi colon added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:18:47 +00:00
Vadim Zeitlin
cc7343106d fix for crash when clicking below the items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:16:55 +00:00
Vadim Zeitlin
24e78d272a moved WX_USE_THEME macros inside IMPLEMENT_APP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:14:57 +00:00
Vadim Zeitlin
e4606ed9d0 wxComboBox appearance fixes, looks fine now but doesn't really work under GTK
yet


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 15:07:52 +00:00
Vadim Zeitlin
1b4651028a respect wxBU_EXACTFIT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 14:03:49 +00:00
Vadim Zeitlin
1b488c0eeb don't set min width for the buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 14:00:26 +00:00
Vadim Zeitlin
7ef8bfc4c7 added wxBU_EXACTFIT style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 13:44:04 +00:00
Vadim Zeitlin
2b0ba7ee71 made the button of correct size again (Robert, why did you comment this out??)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:59:48 +00:00
Vadim Zeitlin
16bdba2cd2 use system colours under Windows (patch 439286)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:58:11 +00:00
Vadim Zeitlin
bcc0da5ce3 argh, another for GetVisibleLinesRange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:50:40 +00:00
Vadim Zeitlin
ae167d2ffb fix for incorrect assert in GetVisibleLinesRange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:47:38 +00:00
Vadim Zeitlin
152c57f206 fix for visible lines calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:45:47 +00:00
Vadim Zeitlin
8000ae7f7c added untested implementation of wxEvtLoop for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:27:10 +00:00
Vadim Zeitlin
6522713c75 wxUniv compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 12:25:46 +00:00
Vadim Zeitlin
7c36b6a2a1 added missing menu.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 11:55:47 +00:00
Vadim Zeitlin
6b4a8d9387 fixes for crashes after DeleteItem and DeleteAllItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 11:32:31 +00:00
Vadim Zeitlin
23a46cb4f9 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 00:50:37 +00:00
Vadim Zeitlin
a85c155217 fixed scrollbar refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 00:48:54 +00:00
Vadim Zeitlin
fba82cc079 wxFrameNative is now defined in wx/frame.h itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-10 00:47:41 +00:00
Vadim Zeitlin
cd4453e588 detabified some more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 23:35:24 +00:00
Vadim Zeitlin
d0a3d10946 detabified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 23:31:00 +00:00
Vadim Zeitlin
938b652b11 wxListCtrl in report/virtual modes seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 23:26:32 +00:00
Vadim Zeitlin
8a73bf3d98 more scrolling tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 22:54:26 +00:00
Vadim Zeitlin
3febfc6bd7 fix for backwards selection in text ctrl (patch 439730)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 22:47:32 +00:00
Vadim Zeitlin
e18e17f9ed fixes to my previous errors in stack/vector (patch 439378)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 22:44:26 +00:00
Vadim Zeitlin
7db91489d6 set m_itemIndex in the list events for key down event too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 22:03:55 +00:00
Vadim Zeitlin
b016a65b3e simplified RTTI chain: wxFrame base class is now directly wxWindow, not wxFrameMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 21:45:59 +00:00
Vadim Zeitlin
af8964c4c3 simplified RTTI chain: wxFrame base class is now directly wxWindow, not wxFrameMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 21:41:19 +00:00
Vadim Zeitlin
8d813b20f7 more wxListCtrl drawing fixes - scrolling still doesn't work under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 18:37:34 +00:00
Vadim Zeitlin
e26be42b5c added wxDCClipper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 18:37:03 +00:00
Vadim Zeitlin
6c975af106 documented wxDCClipper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 18:31:53 +00:00
Robin Dunn
0c7dcb7fd2 fixed off by one error in GetText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 18:28:47 +00:00
Václav Slavík
5dab6765c0 added all data files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 18:24:18 +00:00
Václav Slavík
f3ecfad192 added wxUSE_POPUPWIN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 18:24:08 +00:00
Vadim Zeitlin
5cd891743e more wxListCtrl fixes: inserting/deleting items now works again (tested in the sample) but I somehow broke the scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 15:58:24 +00:00
Vadim Zeitlin
371684d3f7 Mattia's temp fix for cross-compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 13:26:19 +00:00
Julian Smart
9806a47c30 Various wxMotif fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 13:14:28 +00:00
Julian Smart
43bb528818 Removed helpxlp.cpp. I really don't think we need that any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 12:25:41 +00:00
Vadim Zeitlin
39c869a6cd scrolling with kbd generates scroll events too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 12:23:53 +00:00
Vadim Zeitlin
05dcbb8e9e one more check: for wxUSE_HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 12:23:19 +00:00
Vadim Zeitlin
e9d9f136ee compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 12:21:43 +00:00
Robert Roebling
1629fb3b72 Removed wxPopupWindow from normal (non-wxUniv) build
as it expects a non-native combobox (which is a bug,
  of course).
  Minor compile thing for wxUniv branch.
  The library currently does not build due to problems
  in wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 12:20:04 +00:00
Julian Smart
45f22d48cd Various fixes for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-09 11:07:10 +00:00
Václav Slavík
bf7d7ee706 Trying to hide evidence of my negative programming skills...
(Why the hell did I write wxHTML in so strange way -- it used recursion a la Lisp
instead of normal loop when it needed to iterate over cells...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 22:54:33 +00:00
Václav Slavík
5f4cd605aa wxHTML fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 22:54:22 +00:00
Václav Slavík
9165395fd1 added wxUSE_OLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 22:54:13 +00:00
Václav Slavík
4f11a3437b 1. configure now checks first for timezone, then _timezone and
then __timezone, so that we don't use glibc's internal variable whenever possible
2. added wxUSE_OLE so that MSW compiles with Mingw32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 22:52:59 +00:00
Gilles Depeyrot
f6045f99ba added missing includes after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 19:03:21 +00:00
Gilles Depeyrot
6abe4b6540 configure without popup windows under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 18:58:53 +00:00
Gilles Depeyrot
5051902e56 added missing destructor for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 15:36:31 +00:00
Gilles Depeyrot
3ef585df0c use RemoveAt instead of Remove
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 13:47:31 +00:00
Gilles Depeyrot
31523f511c copied wxMac and wxMotif faq from wxWebSite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-08 13:23:59 +00:00
Vadim Zeitlin
51f5cff35c applied patch 428750 (abs paths in vc makefile)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 23:29:26 +00:00
Vadim Zeitlin
83ac6a4ea3 oops, I didn't mean to commit this testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 23:22:43 +00:00
Vadim Zeitlin
733b8ed3f9 use wxTextFile::Eol() in wxEndL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 23:20:05 +00:00
Vadim Zeitlin
3c648a82a5 added vector and stack classes (UNTESTED)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 23:16:38 +00:00
Vadim Zeitlin
5438a5665e applied patch 439186 (mingw and VC5 fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 23:02:09 +00:00
Vadim Zeitlin
7bf1474ab6 applied some minor patches from chuckm to wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:55:49 +00:00
Vadim Zeitlin
e2c271239b applied patch 436908 (warning fix in serialization code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:46:53 +00:00
Vadim Zeitlin
b54e41c529 1. fixed typo ('&' instead of '|') in wxNotebook
2. changed wxTC_MULTILINE to be equal to wxNB_MULTILINE and != 0
3. much more efficient selection handling in virtual wxListCtrl,
   we can now select 1000000 items without problems
4. kbd/mouse selection (ctrl/shift handling) fixed in wxListCtrl
5. added wxSortedArray::IndexForInsert() and AddAt(), remove Remove(size_t),
   use RemoveAt() instead


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:42:35 +00:00
Václav Slavík
dfdd617b4b safe macro expansion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 22:42:06 +00:00
Robert Roebling
9f41d60156 Added wxPopupWindow to GTK port, wxComboBox had to
be adapted a little but basically works not under
  GTK/Univ.
  I am pretty sure I forgot some file...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 21:42:30 +00:00
Vadim Zeitlin
776a33cfd3 made switching from/to multiple selection mode work better (doesn't require recreating the control any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 16:52:27 +00:00
Stefan Csomor
4d4d8bbfad mac filter routine for nav services
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 15:33:38 +00:00
Stefan Csomor
012409e9ef mac fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 14:48:50 +00:00
Stefan Csomor
fc0daf8400 corrected log error after initialize when in release mode, window inheritance (generated incorrect classinfo trees)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 14:43:10 +00:00
Gilles Depeyrot
d030b2aaca corrections after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 13:31:38 +00:00
Gilles Depeyrot
8bc3617742 corrected wxGauge to inherit from wxGaugeBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 13:20:12 +00:00
Gilles Depeyrot
ad08ef4478 corrected friend declaration for CodeWarrior compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 13:16:34 +00:00
Stefan Csomor
4176fb7d0f added mac l&f for rules and headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 13:16:03 +00:00
Gilles Depeyrot
1d79bd3eaf corrected WXWIN_COMPATIBILITY conditional tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 11:23:24 +00:00
Gilles Depeyrot
4c41981b8e corrected file list for Mac OS X compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 11:04:16 +00:00
Vadim Zeitlin
30a72e6297 check for LVS_OWNERDATA availability at compile and run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-07 00:39:05 +00:00
David Webster
0367c1c0e8 Fixes for OS/2 wxUniv merge.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 21:47:52 +00:00
David Webster
537760597b Missing LINKAGEMODE on static declaration (for OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 21:47:21 +00:00
David Webster
210a651b4f OS/2 update for wxUniv merge.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 21:45:11 +00:00
Vadim Zeitlin
cf1dfa6b8f virtual wxListCtrl support (UNTESTED)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 21:18:15 +00:00
Gilles Depeyrot
ba7499ef2f added missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 20:21:10 +00:00
Robin Dunn
462622b27f make sure all the files are removed when uninstalled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 20:15:35 +00:00
Robin Dunn
b659a82889 updated email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 20:02:55 +00:00
Vadim Zeitlin
328bfc2224 compilation fix for broken OS/2 compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 18:09:08 +00:00
Robin Dunn
7e3a5de30f some minor tweaks for the VTK demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 17:35:48 +00:00
Robin Dunn
749e08b9d1 changed the base class to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 17:31:06 +00:00
Robin Dunn
cb74f8d703 a bit of simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 17:25:53 +00:00
Julian Smart
46d0e4b2e6 ReadMe updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 16:25:30 +00:00
Václav Slavík
5fe8354960 fixed a design flaw in wxFontMapper that prevented automatic creation of wxConfig instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 16:23:37 +00:00
Stefan Csomor
ffc93a32d8 first impl (needs extending)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 16:10:17 +00:00
Julian Smart
98363307d3 Implemented input disabling for disabled windows since MicroWindows doesn't do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 13:18:11 +00:00
Julian Smart
9aa80360d1 Added WS_POPUP for MicroWindows dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 11:18:23 +00:00
Julian Smart
a9c04289c8 Added missing file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 10:25:30 +00:00
Julian Smart
4638d697a3 Added animation classes to contrib hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 10:24:54 +00:00
Robin Dunn
286e2db69c Fixed img2py to work correctly with Python 2.1.
Added enhanced wxVTKRenderWindow by Prabhu Ramachandran


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-06 04:11:34 +00:00
Julian Smart
68cb30154e Added a file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 20:55:55 +00:00
Julian Smart
a6a193a08d #ifdefed out some redundant base classes so DLL version compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 20:55:06 +00:00
Robin Dunn
7326dbf8ab Checked in temporarily munged copy before...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 19:32:19 +00:00
Robin Dunn
cfe766c352 Some tweaks for building the RPMs for multiple different versions of Python
all with a single command.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 18:54:09 +00:00
Vadim Zeitlin
04dbb6467b removed/replaced include 'wx/wx.h'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 18:48:48 +00:00
Robin Dunn
2734d68772 added new files to be included in the installer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 17:46:57 +00:00
Robin Dunn
b166c70307 Fixing some demos to look and act better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 17:27:59 +00:00
Julian Smart
8cd3898690 Updated MicroWindows patch file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 16:34:33 +00:00
Julian Smart
1f752a2282 Released menubar capture before menu popup was captured.
Process menu command AFTER menu is dismissed (or it stays there).
Still some problems but menus and message box beginning to work in MicroWindows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 15:49:18 +00:00
Vadim Zeitlin
1370703e03 more steps toward virtual listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 13:40:52 +00:00
Julian Smart
54800df8d8 Misc fixes, now menus are almost working on MicroWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 13:35:53 +00:00
Vadim Zeitlin
24b9f05515 use type safe list instead of wxList for m_columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 13:14:41 +00:00
Vadim Zeitlin
2c1f73eecf added virtual list control functions (but not implemented them yet) to the native wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 13:08:37 +00:00
Julian Smart
018d679e79 Corrected cleanwx target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 10:57:27 +00:00
Vadim Zeitlin
b11a23f38f check that we don't try to compile in GUI mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 10:52:10 +00:00
Robin Dunn
9a08cd12bd odds and ends
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 03:15:08 +00:00
Robin Dunn
edf2f43ead odds and ends...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 02:16:20 +00:00
Vadim Zeitlin
98ec9dbebc added virtual listctrl support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 01:27:38 +00:00
Vadim Zeitlin
3abf2c720b fixed ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 01:27:19 +00:00
Vadim Zeitlin
7cdb542c4d added wxUSE_COLOURDLG to the header too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-05 01:26:15 +00:00
Robin Dunn
8577c05a58 updated version number
fixed a sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 23:34:51 +00:00
Vadim Zeitlin
a2c0a9c5ca added wxUSE_COLOURDLG setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 23:34:44 +00:00
Stefan Csomor
e766c8a9ad wxMac: wxUniversal integration steps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 20:11:26 +00:00
Vadim Zeitlin
db73732184 removed obsolete comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:28:50 +00:00
Vadim Zeitlin
dcb99cd3ac added wxUSE_LOG_DIALOG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:28:21 +00:00
Vadim Zeitlin
8ca01ec651 fixed another pragma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:27:58 +00:00
Vadim Zeitlin
4234ea8be0 use fontdlgg.cpp under wxUniv/GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:27:43 +00:00
Vadim Zeitlin
7aa5864467 make it possible to use wxToolBarSimple as wxToolBar with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:21:47 +00:00
Vadim Zeitlin
a3870b2ff5 reverted Julians changes to the pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:07:15 +00:00
Vadim Zeitlin
196cc38b26 reverted Julians changes to the pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 18:02:05 +00:00
Vadim Zeitlin
879df07384 fix to include correct files.lst for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 17:25:04 +00:00
Julian Smart
7190821305 Changed the pragmas to allow debugging under Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 17:12:37 +00:00
Vadim Zeitlin
70f3fad609 corrected progress dialog appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 16:45:14 +00:00
Vadim Zeitlin
801bb685b0 testing tree ctrl with wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 16:17:14 +00:00
Vadim Zeitlin
b9cc8004c0 made filelist.txt more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 16:07:51 +00:00
Julian Smart
21b6ad64da Corrected imaglist addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 13:37:56 +00:00
Julian Smart
6d6a67a70a Added UnivDebug, UnivRelease configurations to project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 13:18:28 +00:00
Julian Smart
c338426040 Added correct imaglist.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 12:59:36 +00:00
Vadim Zeitlin
0d59e20372 marked MSW imaglist.cpp as low level so that it is used for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 12:51:10 +00:00
Julian Smart
5adad46628 Don't complain under MicroWindows if a wxDC's HDC is NULL - it happens
during dragging. Small mod to makefile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 12:40:17 +00:00
Jouk Jansen
1a0d517ea4 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/caret.h
 	wxWindows/include/wx/dynlib.h wxWindows/include/wx/hash.h
 	wxWindows/include/wx/gtk/window.h
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/unix/dialup.cpp

 -Removed some redundant ;'s from the .h files
 -Updated wxGTK for OpenVMS
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 12:23:32 +00:00
Julian Smart
8a46f9b187 Getting wxMicroWindows compiled again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 11:59:35 +00:00
George Tasker
d4af841d3b Added some #includes that were needed in not using precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 11:01:52 +00:00
Julian Smart
3e6e2754a6 Added some missing tests; replaced scrolwin.cpp with scrlwng.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 10:08:44 +00:00
Julian Smart
7ecf5ac7cd Fixed HRGN leak in DoSetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-04 06:37:57 +00:00
Gilles Depeyrot
f9bcc6d152 corrected according to file name change for generic scrolled window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 20:06:57 +00:00
Václav Slavík
ee19c32471 more intelligent behaviour of wxHtmlWindow history: does not remember same page several times anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:44:56 +00:00
Vadim Zeitlin
3379ed3789 tons of fixes for wxGTK/Univ - seems to work, more or less, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:38:19 +00:00
Julian Smart
67d95e11cf Updated project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 19:18:02 +00:00
Gilles Depeyrot
6326010ca0 replaced obsolete Number() calls with GetCount() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 18:59:43 +00:00
Vadim Zeitlin
3a8c693aea renamed scrolwin file - no other way to make wxGTK/Univ compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 18:14:22 +00:00
Stefan Csomor
7756141b6e added nbkbase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 18:10:04 +00:00
Julian Smart
fa494c4010 Added nbkbase.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 14:02:43 +00:00
Julian Smart
bd52bee106 MSW fixes; added wxUSE_XPM to wxUniv's setup.h so now widgets sample works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-03 10:03:13 +00:00
Stefan Csomor
748fbf95a8 changed Refresh to take Rect as client coordinates not window coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 20:52:06 +00:00
Gilles Depeyrot
8facbb759c removed useless PM_USE_SESSION_APIS define (it must be defined in MacHeaders
to be of any use)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 19:58:48 +00:00
Gilles Depeyrot
09e48f0b19 added common notebookbase source file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 19:55:50 +00:00
Vadim Zeitlin
442b35b53b changed copyright to SciTech one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 19:42:27 +00:00
Vadim Zeitlin
10199e27d5 fixed deleting pages from the notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 19:37:51 +00:00
Vadim Zeitlin
07b8d7ecc3 1. fixed wxGTK notebook which was completely broken by the merge
2. added a new file for commno notebook code (nbkbase.cpp)
3. removed 'include "wx/wx.h"' from html files as I got tired of
   recompiling them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 18:34:13 +00:00
Vadim Zeitlin
d1a8d972ea define WXGTK12 for GTK+ 1.2.7+ as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 18:01:24 +00:00
Vadim Zeitlin
48ff57aed8 backported crash fix for wxFrame::Iconize() from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 16:07:32 +00:00
Vadim Zeitlin
6c01ec02a8 incremented version to 2.3.2 in configure as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 15:42:14 +00:00
Vadim Zeitlin
a45a98fbb9 fix (?) for error in wxCSConv::LoadNow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 15:38:33 +00:00
Vadim Zeitlin
dee9ba58f5 regenerated with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 15:26:40 +00:00
Vadim Zeitlin
f33f19dd2e set wxUSE_WIZARDDLG by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 15:26:32 +00:00
Vadim Zeitlin
403aced8ed missing WXDLLEXPORT_DATA added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 15:19:03 +00:00
Julian Smart
fac3b4232c More wxMicroWindows fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 14:20:32 +00:00
Vadim Zeitlin
d1c8069261 process WM_ACTIVATEAPP in wxMSW too, not only wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 13:45:53 +00:00
Vadim Zeitlin
ae0eb25f8d added russian language to the list of choices
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 13:44:26 +00:00
George Tasker
2f8f7c77d3 Changes required after wxUniv merge wxListBox::Number() changed to wxListBox::GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 13:28:14 +00:00
Julian Smart
8cb172b4f1 Various wxUniversal/wxMicroWindows fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 13:22:19 +00:00
Václav Slavík
367c84b903 oops, fixed fatal bug in new HTML parsing code (I wonder why it didn't crash when I played with it yesterday...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 13:01:30 +00:00
Vadim Zeitlin
b1f5d087c7 respect wxUSE_WIZARDDLG setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 12:57:56 +00:00
Vadim Zeitlin
4ba4821431 regenerated with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 12:53:36 +00:00
Vadim Zeitlin
9a4232dcb7 fixed bug in wxString::Matches() - backtrack now if \* mismatched
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 12:42:46 +00:00
Julian Smart
0fd734af37 Added microwin doc directory, readme and patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 12:10:47 +00:00
Julian Smart
f0b22b4a03 Updated MicroWindows makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 12:06:19 +00:00
Vadim Zeitlin
6e169cf31a crash in wxAppBase::SetActive fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 11:00:01 +00:00
Vadim Zeitlin
c6dda38fee create directory for russian files, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:49:12 +00:00
Vadim Zeitlin
fa8dca8dd1 changed wxUSE_DRAGIMAG to wxUSE_DRAGIMAGE and use it everywhere now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:45:16 +00:00
Vadim Zeitlin
9e39ee2f89 updated makefile to include russian translations and not refer to obsolete wxstd.po files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:44:21 +00:00
Vadim Zeitlin
6ef022bdff compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:43:08 +00:00
Vadim Zeitlin
4f9db74e98 added default values for SetSizeHints() arguments, as in wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:41:39 +00:00
Vadim Zeitlin
0c39421228 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:40:34 +00:00
Vadim Zeitlin
24fd6d87e9 changed wxUSE_DRAGIMAG to wxUSE_DRAGIMAGE and use it everywhere now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:39:00 +00:00
Vadim Zeitlin
d73be7149f define wxUSE_LOGGUI/WINDOW by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:35:58 +00:00
Vadim Zeitlin
ee993c7410 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:30:40 +00:00
Vadim Zeitlin
6ba68e8852 minor doc fixes (bug 433229)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:27:07 +00:00
Vadim Zeitlin
4c05b807a5 compilation fixes for wxUSE_WAVE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:12:40 +00:00
George Tasker
d373d379ae Fixed doc issue not showing correct header definition (const function)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:08:23 +00:00
Julian Smart
809e8e443f Fix to minimal sample project file; changed protected -> public in wxGIFDecoder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:06:51 +00:00
Vadim Zeitlin
11dfaa5f1d typo in GTK version caching code fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 10:00:17 +00:00
Vadim Zeitlin
c4c928018d fix for compilation without WXWIN_COMPATIBILITY_2_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:53:59 +00:00
Vadim Zeitlin
32d50c82ec fix for compilation with wxUSE_MENU_CALLBACK=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:51:19 +00:00
Vadim Zeitlin
138be25346 fix for GTK+ version check caching (now it actually works)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:49:34 +00:00
Vadim Zeitlin
62e2654261 minor WXWIN_COMPATIBILITY_2_2 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:38:35 +00:00
Vadim Zeitlin
463abc6470 fixed --with-libjpeg=sys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:38:06 +00:00
Vadim Zeitlin
54276ccf5b added WXWIN_COMPATIBILITY_2_2 option (disabled by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:23:59 +00:00
Vadim Zeitlin
8168de4c79 1. added --enable-gtk2 option, check for GTK+ 2.0 disabled by default
2. added caching of gtk-config checks


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-02 09:10:37 +00:00
Václav Slavík
5704d2504b added generic/accel.h to filelist.txt so that wxGTK installs it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 23:17:26 +00:00
Václav Slavík
e143745693 (hopefully) fixed wxGTK wxScrolledWindow::GetClientSize bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 23:17:04 +00:00
Stefan Csomor
ef7c5bd22a refresh during window delete (if root window deleted) removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 20:57:09 +00:00
Stefan Csomor
49a91764b5 added generic color dialog to setup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 20:56:01 +00:00
Václav Slavík
8bd72d9065 added convenience accessors to wxHtmlTag and modified wxHTML code to use them; improved colours parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 18:07:33 +00:00
Václav Slavík
fef8557d30 post-merge fix: added chkconf.h to filelist.txt so that make install will install it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 18:06:56 +00:00
Julian Smart
e6ba3fd4b7 Removed arbitrary window-shrinking code; corrected log message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 17:24:42 +00:00
Václav Slavík
daa616fca0 new HTML tags parser and entities substitution code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 15:09:35 +00:00
Václav Slavík
ec7c3e898a fixed AC_MSG_RESULT output of toolkit name to work with both autoconf 2.50 and older
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 15:09:07 +00:00
Václav Slavík
9731a5fe6c added #ifdef wxUSE_XPM around XPM handler initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 15:08:46 +00:00
Václav Slavík
cccc045f61 fixed charset names in message catalogs to be in iso-8859-x form, not iso8859 (gettext 0.10.37+ complains about non-portable encodings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 15:08:36 +00:00
Václav Slavík
d361bbff17 fixed handling of HTML tables with empty row(s)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 15:07:26 +00:00
Václav Slavík
942285dcfa 1) fixed handling of 48bit colors in XPMs
2) re-added #if wxUSE_IMAGE && wxUSE_XPM


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 15:07:14 +00:00
Václav Slavík
cc6e1950f5 docs updates and typos and lies fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-07-01 15:07:00 +00:00
Vadim Zeitlin
6dab3ba7e5 fixed xpm colour parsing bug due to case sensitive colour name comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 23:52:22 +00:00
Julian Smart
1a77875bed More fixes for wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 13:43:34 +00:00
Gilles Depeyrot
83661a1347 include xpm files for Mac OS after correction of wxICON macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 11:07:42 +00:00
Gilles Depeyrot
b698c8e9bf corrections for Mac OS X after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 10:14:48 +00:00
Gilles Depeyrot
cdad5e204b added missing common cmdproc files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-30 09:34:30 +00:00
Gilles Depeyrot
293d3988da corrected virtual function prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 20:42:17 +00:00
Gilles Depeyrot
820477cb34 implemented Carbon printing for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 20:40:22 +00:00
Gilles Depeyrot
92ed97b709 added include for Print Manager Session APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 20:37:12 +00:00
Julian Smart
217099990c Further wxUniv fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 19:18:30 +00:00
Václav Slavík
8f7b34a878 fixed copyrights in MGL files (finally...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 19:03:13 +00:00
Julian Smart
6e264973e6 Added project files for wxUniv under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 17:23:05 +00:00
Julian Smart
3808e19142 Added some more files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 17:21:17 +00:00
Vadim Zeitlin
c02ee97f96 2 more files added on wxUniv branch I had forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 17:18:47 +00:00
Julian Smart
feb85348c3 Added popupwin.h to trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 17:16:04 +00:00
Julian Smart
24ce4c1875 Some wxUniv compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 17:07:54 +00:00
Vadim Zeitlin
a5b3669d76 define wxWindowNative for wxUniv compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 16:51:05 +00:00
Julian Smart
cbf656555e Corrections to config checking; tweaking wxUniv's setup.h; added fix to makeb32.env
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 16:30:51 +00:00
Stefan Csomor
1eb9ac3c66 post wxUniv fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 16:25:21 +00:00
Stefan Csomor
90b959aee4 post wxUniv merge fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 16:19:53 +00:00
Julian Smart
bf7b3e2b9d Added extra MicroWindows functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 11:31:34 +00:00
Julian Smart
04ef50df3a First pass at adding MicroWindows support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 10:58:59 +00:00
Vadim Zeitlin
7ed4fab7be fixed 2 year old bug in wxBaseArray::operator=() (who the hell is/was RO who introduced it?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-29 09:13:34 +00:00
Gilles Depeyrot
a8562f5520 applied SourceForge patch #423536
removed obsolete xpm handling code
corrections after wxUniv merge


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 21:25:40 +00:00
Gilles Depeyrot
584bede061 corrections after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 21:23:41 +00:00
Gilles Depeyrot
7ef4c90b0a removed useless ; to allow smart preprocessing under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 21:19:28 +00:00
Julian Smart
2a365b7d3f Fixed some compilos. Things that still need fixing incl. logg.cpp compilation
and docvwmdi debugging


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 16:49:17 +00:00
Gilles Depeyrot
0bec761df7 implemented printing dialogs in Carbon with Sessions APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:33:35 +00:00
Gilles Depeyrot
f520d38155 corrected conditional compilation
added missing show for error message dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:32:37 +00:00
Gilles Depeyrot
4b7b750dd1 added missing return on error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:31:37 +00:00
Gilles Depeyrot
93f0fe75dd corrected conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:30:58 +00:00
Gilles Depeyrot
39348a9631 renamed port to session for Carbon printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:30:09 +00:00
Gilles Depeyrot
a842a96e24 corrected after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:28:32 +00:00
Gilles Depeyrot
6c0ba0d02d added missing dynamic class declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:27:53 +00:00
Gilles Depeyrot
0b140baaa6 corrected conditional include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:25:25 +00:00
Gilles Depeyrot
505af178e7 corrected control inheritance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:24:17 +00:00
Gilles Depeyrot
1e5e1c40e0 added wxMac conditional include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:23:26 +00:00
Gilles Depeyrot
1d53270b32 removed useless ; to allow smart preprocessing under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-28 06:22:47 +00:00
Gilles Depeyrot
d8c736e563 added missing includes after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 22:29:47 +00:00
Gilles Depeyrot
ac84e37d5f removed useless ; to allow smart preprocessing under Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 22:26:08 +00:00
Gilles Depeyrot
89963b7fd0 removed common duplicated definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 22:24:42 +00:00
Gilles Depeyrot
55d607461b added missing conditional compilation tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 21:35:29 +00:00
Gilles Depeyrot
c02ef0be2f removed common duplicated definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 21:34:15 +00:00
Gilles Depeyrot
5601914e98 removed common duplicated definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 21:33:41 +00:00
Gilles Depeyrot
f39d60ccc3 corrected include file path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 21:31:12 +00:00
Gilles Depeyrot
be7b32267e derived new setup.h include from wxMSW after wxUniv merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 21:19:47 +00:00
Julian Smart
9806a0e71e Updated version to 2.3.2 so apps can test for differences in new merged source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 20:36:30 +00:00
Gilles Depeyrot
9eee81a4cf reset preview bitmap variable to NULL after deleting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 19:44:56 +00:00
Gilles Depeyrot
0532484d0f corrected wxICON for Mac OS (Classic and X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 19:27:30 +00:00
Julian Smart
3a12b404f8 Now wxFrame derives from wxFrameMSW/GTK in non-wxUniv mode. Fixes RTTI problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 17:19:49 +00:00
Vadim Zeitlin
22bd93879d fix for wxBitmapType definition problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 13:55:28 +00:00
Vadim Zeitlin
83874e1547 wxSIZE_T_IS_UINT definition fix for mingw32 cross-compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 13:51:56 +00:00
Julian Smart
dd8b2f4a43 Added wxUSE_LOGWINDOW, wxUSE_LOGGUI settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 12:34:14 +00:00
Julian Smart
606b005fb2 More small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 12:31:16 +00:00
Vadim Zeitlin
4f55a07f9f linking fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 12:17:39 +00:00
Vadim Zeitlin
b90c32b486 yet another file I added on the wxUniv branch and forgot to merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 12:13:14 +00:00
Vadim Zeitlin
70050c82fe another file I added on the wxUniv branch and forgot to merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 12:04:21 +00:00
Julian Smart
ff8b6290e9 Added wxUSE_NUMBERDLG to setup.h; added some files to VC++ project files;
added missing virtual function from wxSliderMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 11:55:33 +00:00
Stefan Csomor
ba7eb0a5a7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 06:01:57 +00:00
Vadim Zeitlin
e421922f90 MSW compilation fixes - widgets sample runs!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-27 00:27:24 +00:00
Vadim Zeitlin
29149a6491 compilation fixes - wxGTK compiles but not links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 21:29:16 +00:00
Vadim Zeitlin
21aeca5e54 another file added on univ branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 21:09:16 +00:00
Vadim Zeitlin
32b8ec418a added more files (unchanged) from wxUniv branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 21:05:06 +00:00
Vadim Zeitlin
1e6feb95a7 first pass of wxUniv merge - nothing works, most parts don't even compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Stefan Csomor
aeb313f31c forced redraw before scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 18:47:51 +00:00
Stefan Csomor
9714ffa0c4 added tiered implementation (using draw paragraph) for stattext, corrected scrollbar paging, forced redraw before scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 18:45:16 +00:00
Stefan Csomor
0c05747a9d added tiered implementation (using draw paragraph)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 18:41:02 +00:00
Vadim Zeitlin
e446cd6783 reverting accidental commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 17:31:54 +00:00
Vadim Zeitlin
b6ca231f85 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 16:08:16 +00:00
Vadim Zeitlin
544421165f use GetText() instead of GetText(wxString&), made some methods inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 16:08:03 +00:00
Vadim Zeitlin
6b1a0f7a66 testing merging with -kk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 16:03:48 +00:00
Robin Dunn
60be92e035 removed debug code that got left in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-25 23:51:23 +00:00
Robin Dunn
6a1836a0a4 some fixes and a new mixin class added to the library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-25 23:46:28 +00:00
Vadim Zeitlin
bec0a26172 delete test added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 22:24:33 +00:00
Gilles Depeyrot
87df17a11b corrected use of Print Manager Session APIs for Carbon targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 20:38:12 +00:00
Gilles Depeyrot
4cb1706ae5 use Print Manager session APIs if PM_USE_SESSION_APIS is true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 19:49:02 +00:00
Gilles Depeyrot
e18bf7e7c6 correction for compilation with -cpp-precomp option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 19:39:46 +00:00
Gilles Depeyrot
0c451ef3bb added -cpp-precomp option for c++ compiler under Mac OS X so that
precompiled system headers are used (compilation is twice as fast!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:21:40 +00:00
Gilles Depeyrot
c60f15f01d remove PM_USE_SESSION_APIS setting so that wxMac can be compiled with
the -cpp-precomp compiler option


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:19:47 +00:00
Gilles Depeyrot
a689a4d09a use Print Manager session APIs if PM_USE_SESSION_APIS is true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:18:09 +00:00
Gilles Depeyrot
0ab2593768 use Print Manager session APIs if PM_USE_SESSION_APIS is true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:13:03 +00:00
Gilles Depeyrot
09b7e6184a removed dialup from list of files because of compilation problem with
-cpp-precomp option under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:02:37 +00:00
Gilles Depeyrot
6868c3eb8f corrected for compilation under Mac OS X with -cpp-precomp option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:01:43 +00:00
Gilles Depeyrot
6d5e730730 added missing cast for delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 17:00:58 +00:00
Gilles Depeyrot
2bd598aa16 corrected #ifdef for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 16:58:19 +00:00
Gilles Depeyrot
8d336833e8 added -cpp-precomp compilation problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 16:57:09 +00:00
Vadim Zeitlin
6ef415205f fix for configure under Solaris (don't use unportable test -L)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-23 16:20:03 +00:00
Gilles Depeyrot
1db61f2fa6 clarified listbox problems (related to the custom CDEF)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 18:30:21 +00:00
Robin Dunn
9d6da64a8b generated code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 16:53:59 +00:00
Vadim Zeitlin
b59893f3ef minor docs fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 15:04:06 +00:00
Stefan Csomor
f32e5dc5ca Raise and Lower implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 12:34:18 +00:00
Vadim Zeitlin
5da2c444ef 1. fixed wxBase RPM template
2. fixed several erros in filelist.txt
3. regenarated everything


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 01:31:45 +00:00
Vadim Zeitlin
2d3112adc9 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 01:28:42 +00:00
Vadim Zeitlin
7e05b755be some typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 01:28:01 +00:00
Vadim Zeitlin
53f5e875b2 fix for rpm uninstallation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 00:22:44 +00:00
Vadim Zeitlin
89b6217867 finally, wx/setup.h is not needed in the .spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-22 00:03:40 +00:00
Vadim Zeitlin
ead9b933bf regenerated again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 23:54:57 +00:00
Vadim Zeitlin
abf6bdb786 fixed bug in baserpm.t and regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 23:45:23 +00:00
Vadim Zeitlin
156da3a922 added missing files to the RPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 23:32:16 +00:00
Vadim Zeitlin
65fa237423 regenerated with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 23:30:47 +00:00
Vadim Zeitlin
d1f5f7a44b wxBase compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 18:37:33 +00:00
Vadim Zeitlin
a2e91a93a8 possible compilation problem fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 18:31:43 +00:00
Vadim Zeitlin
380fc80de0 enabled all tests for the release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 18:25:15 +00:00
Vadim Zeitlin
91bed19140 oops... fix for the fix for config.status
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 18:24:04 +00:00
Vadim Zeitlin
6fe273c192 removed obsolete files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 18:12:50 +00:00
Vadim Zeitlin
da38429d93 some warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 18:12:17 +00:00
Vadim Zeitlin
1457c9030c fixed warning about multiline comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 17:53:47 +00:00
Vadim Zeitlin
3a3400520a enable all tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 17:53:35 +00:00
Vadim Zeitlin
b5fa0a3e0f 1. use tar.bz2 as sources, not tar.gz
2. fix URL in the spec files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 17:53:19 +00:00
Vadim Zeitlin
991a575988 don't move the file to itself in AC_OUTPUT, this allows to run config.status after configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 17:52:21 +00:00
Vadim Zeitlin
16b0e4ac36 1. added erase and event samples to the distribution
2. tar.bz2 now unpacks into wxTOOLKIT-VERSION and not wxTOOLKIT as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 17:51:42 +00:00
Vadim Zeitlin
027c19bedb added ru files to the trunk, removed obsolete wxstd files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-21 17:18:26 +00:00
Václav Slavík
a914db0fb3 fixed yet another bug in wxHtmlTag's parameters parser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-20 13:16:15 +00:00
David Webster
2004cad1ed Some OS/2 catching up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-19 12:56:41 +00:00
Vadim Zeitlin
57fe5ed056 fixed <iostream> detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-19 12:12:27 +00:00
Vadim Zeitlin
d6e969f677 added [bzip-]dist-only targets to the makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-19 08:38:47 +00:00
Václav Slavík
17092e43e5 applied patch #432997 (wxHTML added to Watcom makefiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-18 22:37:42 +00:00
Vadim Zeitlin
17665a2b5c implemented text styles for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-18 17:41:33 +00:00
David Webster
58d5ad5e3c define this, wxSIZE_T_IS_UINT, for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-18 15:52:49 +00:00
Julian Smart
f45907a264 Reduced true colour icon (!) to 16 colours, updated project files and scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-17 22:41:45 +00:00
Julian Smart
35820dcb47 Makefile and other small corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-17 18:34:20 +00:00
Julian Smart
cb35465eec Canvas lib precompiled header fix; doc typos fixes; makefile.vc dbtable.cpp addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-17 13:32:53 +00:00
Vadim Zeitlin
8e0e4b1b64 more region tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-17 13:25:55 +00:00
Vadim Zeitlin
c4218a7403 fixed clip rect when logical coords != device ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-17 13:14:20 +00:00
Václav Slavík
78c1f5f1b8 fixed stream error handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-17 10:41:40 +00:00
Vadim Zeitlin
d9f9aa2d8f warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 22:57:20 +00:00
Vadim Zeitlin
e697316793 added GetSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 22:48:53 +00:00
Gilles Depeyrot
a45d7ab723 disable toggle button under Mac OS X (not yet implemented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 21:13:35 +00:00
Gilles Depeyrot
618351fe26 added listbox creation under Mac OS X and toggle buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 21:11:32 +00:00
Vadim Zeitlin
3ebcfb769f applied patch #428104 (SetSizeHints() for wxMDIChildFrame)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 01:36:35 +00:00
Vadim Zeitlin
6138e469c9 oops, compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 01:22:07 +00:00
Vadim Zeitlin
f407580407 applied patch 433505 (MDI parent activation fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 01:21:46 +00:00
Vadim Zeitlin
1f23a1c0f0 applied 2nd part of flicker reducing patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 01:17:55 +00:00
Vadim Zeitlin
1dbb34ec2a applied patch 427702 (remove flicker)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 01:14:22 +00:00
Vadim Zeitlin
fe31f91ccb applied (part of) patch 433176 (reduce flicker)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 01:09:30 +00:00
Vadim Zeitlin
50567b69d6 1. improved wxKill() implementation for Win32
2. added wxKillError output parameter to wxKill
3. added wxProcess::Kill() and Exists()
4. documented all the new stuff
5. updated the sample to show it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-16 00:59:07 +00:00
Vadim Zeitlin
b3d008dbd5 subclass status bar as any normal window to ensure that the events from the controls inside it are processed normally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 23:08:23 +00:00
Vadim Zeitlin
33a8563e66 compilation fixes and some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 22:55:11 +00:00
Václav Slavík
181b406894 added wxDynamicLibrary as suggested by Vadim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 22:05:31 +00:00
Robin Dunn
d56cebe7a4 Added ability to use xml resource files. Still need to add ability to
subclass wxXmlResourceHandler, etc...

Added wxGridAutoEditMixin to the mixins library package.

Made ColourSelect be derived from wxButton.

Fixed a few bugs here and there, added some missing methods, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 21:43:26 +00:00
Vadim Zeitlin
dd2c8b7c33 fix for brain dead egcs - this stupid compiler not only doesn't compile what it should but also compiles junk which it shouldn\'t!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 17:48:32 +00:00
Vadim Zeitlin
1c7e7d5b1e applied patch 433352 (fix for wxTextCtrl::SetForegroundColor())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 16:37:14 +00:00
Julian Smart
840bb34200 Added missing settings.h include (sorry)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 14:34:27 +00:00
Vadim Zeitlin
19af3b06be fixed size_t == uint detection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 14:27:05 +00:00
Julian Smart
b0c89ddf39 Moved metafile helpers from utilsexc.cpp to utils.cpp -- seemed more appropriate!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 13:34:06 +00:00
Julian Smart
e949bf13c5 Sync'ed show-window flag in MDI child constructor; added initial wxKill implementation
for wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 12:59:22 +00:00
Vadim Zeitlin
eaac8805cd applied patch 430963 (fix for wxRegConfig::SetPath("//foo")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 11:44:07 +00:00
Vadim Zeitlin
3892380ca1 applied patch 430961 (fix for wxHashTable::Put(key, value, object)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 11:37:56 +00:00
Vadim Zeitlin
6721fc3852 restored (and slightly improved) wxImage::Scale() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 01:30:21 +00:00
Vadim Zeitlin
4f53efae0f define wxSIZE_T_IS_UINT for Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-15 01:15:15 +00:00
David Webster
254ccb8c06 Add dbgrid to make.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 22:18:18 +00:00
David Webster
fd6d5c94f8 Add the options stuff to settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 22:17:56 +00:00
Kendall Bennett
d80207c344 Reverted wxFileSystem changes to image.cpp and dib.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 20:09:35 +00:00
Vadim Zeitlin
4a0b46a762 fixed warning about unused var
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:44:24 +00:00
Vadim Zeitlin
d014b8670e no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:43:38 +00:00
Vadim Zeitlin
8773bc76d8 regenerated from templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:38:17 +00:00
Vadim Zeitlin
8443e0d2cf forgot to commit - no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:37:49 +00:00
Vadim Zeitlin
d836ee960a hopefully finally fixed the problem with ambiguous overloads of wxString::operator[] for _all_ machines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 17:27:44 +00:00
Julian Smart
5c44cd0518 Fixed MDIS_ALLCHILDSTYLES bug (WS_VISIBLE needed to be added to child frame style)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 16:51:29 +00:00
Vadim Zeitlin
698dcdb687 regenerated again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 16:29:35 +00:00
Robert Roebling
f94fca1b74 I don't understand the SetIconState code in /src/frome.cpp, but
I know it is wrong. This also caused the splitter window bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 16:15:29 +00:00
Vadim Zeitlin
6c28fd3379 fixed indentation and warnings/bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 15:16:45 +00:00
Julian Smart
63dfa4e56c These add .mak (for BCB1) and .bpr (for BCB3 and 4) files for CBuilder in
each of the samples which will compile with Borland's compiler. They also
modify the start of the .cpp file so the Cbuilder IDE will accept it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 13:33:39 +00:00
Stefan Csomor
72a52d3f4e since somehow db does not compile properly anymore (was not tested anyway) now disabling wxUSE_ODBC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 10:20:51 +00:00
Julian Smart
d3211838bf Added SetOption,GetOption[Int] to wxSystemSettings. Made native MaskBlt optional.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-14 10:06:47 +00:00
Julian Smart
d0af5538d6 More contrib compilation fixes & makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-13 16:05:08 +00:00
Julian Smart
1a464ed91d Some BC++ fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-13 15:01:46 +00:00
Julian Smart
3f1802b55d Fixes to BC++ compilation in mem debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-13 14:49:26 +00:00
David Webster
c190ab22c0 Add USE_MENUS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-13 13:01:11 +00:00
Julian Smart
4d2c67a9da Added wxUSE_MENUS to setup0.h to make menu sample compile;
updated some makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-13 12:45:31 +00:00
Václav Slavík
35d764b08c fixed another bug in strconv
(Off by one error that did not demonstrate itself in poEdit before because
windows native convertion wasn't used due to wxLocale returning cp12xx instead
of windows-12xx. MultiByteToWideChar and WideCharToMultiByte return size of
needed buffer, not number of output characters. Author of the code didn't know
this, hence off by one.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 22:56:40 +00:00
Václav Slavík
93a20a27c3 more fixes for autoconf 2.50:
ac-2.50 does not use config.cache by default so we cannot use it
to pass arguments to subdirs configure scripts. Instead, we now
export some shell variables to make sure they are part of subdir
configure script's environment


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 22:55:23 +00:00
Václav Slavík
ecffe99226 standardized encoding names to windows-12xx and iso-8859-x forms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 22:53:38 +00:00
Vadim Zeitlin
b7fa390b64 removed warning about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 20:13:45 +00:00
Kendall Bennett
5ab8bd570e Updates to xmlres.h to allow compiling XML code into a DLL correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 19:49:51 +00:00
David Webster
f91de7da18 must delcare methods as inline if we are going to actually inline them after the declarations or else some compilers will error in a linkage mismatch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 18:57:26 +00:00
Kendall Bennett
716cd4107b Commited latest SciTech changes into CVS. This includes updates to the
applet code (with changes copyright headers) as well as updates to the
wxImage and dib.cpp modules to use virtual file systems so that we can
load these objects from ZIP files correctly. The dib.cpp module was
also extensively cleaned up (although the DIB writing code does not
presently use file streams as we couldn't figure out if it was possible
to write to a ZIP file stream). The code has been tested and functions
correctly for both regular files and ZIP files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 18:52:03 +00:00
George Tasker
dba2120c77 Fixed compile problems under MingW32 compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 17:20:10 +00:00
Julian Smart
4e5d213ac0 Removed fstream include which seemed unnecessary, and gave errors for BC++ 5.5 anyway.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 17:04:33 +00:00
David Webster
f8ed401c91 Got rid of VisualAge true/false defs with db class fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 13:42:44 +00:00
Julian Smart
b9e5acef4d Added geometry option to setup.h; added some missing make and project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 10:14:58 +00:00
Guillermo Rodriguez Garcia
7679ac6334 For all platforms except WXMAC, the wxGIFDecoder::dgif function was
allocating 3 arrays of 4096 ints in the stack (48K) which causes
problems with Watcom. Now all platforms behave like WXMAC, i.e. the
arrays are allocated (and freed) dynamically on the heap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-12 06:34:24 +00:00
Václav Slavík
1e48782762 fixed remaining bugs in configure.in that manifested themselves with ac-2.50; regenerated configure with ac-2.50
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 22:58:24 +00:00
Václav Slavík
9c904e251a fixed infinite loop when looking up nonexistent encoding in registry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 22:55:01 +00:00
Julian Smart
fd85b0640e Tex2RTF: underscores now only checked for if syntax checking is on.
Removed the MDIS_ALLCHILDSTYLES style again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 21:52:58 +00:00
Robert Roebling
33611ebbd9 Applied wxImage::Scale() patch,
Added testing code for wxSplitterWindow bug.
  Added testing code for OnEraseBackground things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 20:03:00 +00:00
George Tasker
a4054ad1cf Changed the 'true's and 'false's back to TRUE and FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 16:59:45 +00:00
George Tasker
a144affed2 Changed the 'true's and 'false's back to TRUE and FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 16:54:28 +00:00
Julian Smart
5524217904 Removed redundant sections from sizeevt.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 16:42:35 +00:00
Julian Smart
29acedff16 Added 'wx' prefix to a couple of functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 16:23:51 +00:00
Vadim Zeitlin
f47658bb79 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 16:17:47 +00:00
Vadim Zeitlin
7ae8ee141c fixed broken links to string functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 15:29:34 +00:00
Julian Smart
d9dd875f00 Updated manual date, removed underscore from label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 14:55:44 +00:00
David Webster
9aa3137d38 Needed a comment after last #endif and defined true TRUE and false FALSE for Visual Age.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 14:12:32 +00:00
David Webster
eae630f139 removed compiler warnings about assignments in logical expressions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 14:11:46 +00:00
George Tasker
04b9c5bb04 Changes to catch macros that are missing arguments - not perfect, but it will work with all our current TEX files.
Added cleaner ABORT handling in some situations
If \\end{document} is not found, then program auto-aborts after first pass to avoid hanging in some endless loop until all system resources are exhausted and the program crashes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 12:54:38 +00:00
Julian Smart
36e67c5cfc VC++ project file corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 12:26:25 +00:00
Vadim Zeitlin
eccf1b2c76 another attempt to fix strconv.cpp compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 12:19:06 +00:00
Julian Smart
ecf8dd3596 project file updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 10:14:35 +00:00
George Tasker
93a21d8885 Comment about wxDbGrid being added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 09:51:38 +00:00
Vadim Zeitlin
47f8e39828 extracted classes into their own files to fix alphabetic order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 09:41:54 +00:00
Julian Smart
264b3fc80f Project file updates; cast in strconv.cpp to compile with VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 07:49:38 +00:00
Ron Lee
c2c767d34c fingers crossed..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 07:15:41 +00:00
Ron Lee
16f27353bc last test, really!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 04:56:20 +00:00
Ron Lee
a888b8b891 oops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 04:43:06 +00:00
Ron Lee
c1ea7ffbdc this time the log stuff will work, really it will..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 04:39:27 +00:00
Ron Lee
27ef0d92ff cvs admin test..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 04:12:28 +00:00
Ron Lee
ae4c8c5613 log test..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 03:54:57 +00:00
Ron Lee
ca892a05f1 more admin tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 03:47:23 +00:00
Ron Lee
03161a30e3 testing, testing, lalala..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 03:31:10 +00:00
Ron Lee
22e0f69977 another (semi) gratuitous commit to test the mailer script.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 03:13:09 +00:00
Ron Lee
e0f33cf107 merged 2.2 /debian changes to 2.3
(and really test the new log mailer *after* committing
 CVSROOT changes :)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 03:02:05 +00:00
Vadim Zeitlin
703e0a6940 regenerated with autoconf 2.13
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-11 01:57:57 +00:00
Vadim Zeitlin
852768d9bd fix to alphabetic order of classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 23:44:19 +00:00
Vadim Zeitlin
9148009bed fixed doc bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 23:38:49 +00:00
George Tasker
b53dc7d661 Fixed compilation if wxUSE_NEW_GRID and wxUSE_GRID are both set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 23:20:31 +00:00
Vadim Zeitlin
14c90e0074 another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 23:15:02 +00:00
Václav Slavík
6232543b1b changes to work with autoconf 2.50
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 22:26:16 +00:00
Gilles Depeyrot
1f8ae82f59 corrected wxWindows library name under Mac OS X
corrected detection of wchar_t under Mac OS X
tweaked detection of pthread library under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 20:20:20 +00:00
Gilles Depeyrot
7b724ca70d corrected Mac OS X resource file name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 20:17:31 +00:00
Gilles Depeyrot
79af3d3898 corrected wchar handling for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 18:17:59 +00:00
George Tasker
f21b2fd89d Added code to show off wxDbGrid (contributed by Paul and Roger Gammans) in wxUSE_NEW_GRID is set to 1. If grid is not enabled, the program does not compile in the wxDbGrid portion of the sample
Fixed a bug in the SetColDef() descriptions that had the Contribs column defined as a UCHAR but the SQL data type was set to be SQL_C_SHORT when it needed to be SQL_C_UTINYINT to match the size of the UCHAR data variable
General code cleanup
TRUE/FALSE changed to true/false
Now uses new wxDbLogExtendedErrorMsg() function for reporting human readable ODBC errors


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:12:56 +00:00
George Tasker
fa464e825d Added wxDbGrid files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:09:16 +00:00
George Tasker
32a2907bd3 wxDbGrid additions contributed by Paul and Roger Gammans with additions/corrections from George Tasker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:08:42 +00:00
George Tasker
882fc8a922 wxDbGrid additions
Changed all TRUE/FALSEs to true/false
General code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:07:23 +00:00
George Tasker
2c257434c3 wxDbGrid additions
Changed all TRUE/FALSEs to true/false
Added wxDbLogExtendedErrorMsg() function to  retrieve human readable ODBC error information from the ODBC driver
General code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:06:09 +00:00
George Tasker
209875803d wxDbGrid additions
Changed all TRUE/FALSEs to true/false
Added wxDbLogExtendedErrorMsg() function to  retrieve human readable ODBC error information from the ODBC driver


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:05:25 +00:00
George Tasker
edca7a8205 wxDbGrid additions - Added support for ODBC date types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:04:00 +00:00
George Tasker
ffd98768ba Initialized m_startint in the constructor to avoid cloning of uninitialized value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:01:25 +00:00
Vadim Zeitlin
a3f2769e09 compilation fix for SIZEOF_WCHAR_T being undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 17:00:32 +00:00
Julian Smart
c862185052 Renamed project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 11:58:30 +00:00
Julian Smart
74f8d8ed0c Renamed XRC project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-10 11:52:51 +00:00
Vadim Zeitlin
bab1e72221 add #error for platforms with weird sizeof(wchar_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 23:22:44 +00:00
Václav Slavík
78d14f80e9 changed wxXML to XRC, wx/xml/*.h->wx/xrc/*.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 22:43:51 +00:00
Václav Slavík
999d9a9f79 changed wxXML to XRC, wx/xml/*.h->wx/xrc/*.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 22:18:45 +00:00
Vadim Zeitlin
447002a131 use SetForegroundWindow instead of BringWindowToTop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 21:38:00 +00:00
Gilles Depeyrot
aec73dbba4 added CodeWarrior 5 projects for samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:22:36 +00:00
Gilles Depeyrot
6099721bfb added OpenGL sample project for CodeWarrior 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:12:14 +00:00
Gilles Depeyrot
78c17f622d added dead-strip static initialization code option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:08:42 +00:00
Gilles Depeyrot
c00200b862 added dead-strip static initialization code option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 20:03:18 +00:00
Václav Slavík
298d865368 documented Kendall's change of wxHtmlWindow::LoadPage to virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 19:11:24 +00:00
Václav Slavík
75829d0c1b oops, forgot to add editlbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 19:11:16 +00:00
Vadim Zeitlin
478e6b717c applied patch 430835 (missing wxSTD breaking compilation for VC++ 5)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:57:06 +00:00
Vadim Zeitlin
4c5032ccd1 applied patch 428783 (fix B32 makefiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:55:09 +00:00
Vadim Zeitlin
0d8737fdcc applied patch 431596 (fixes some crashes in wxDocView classes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:51:20 +00:00
Vadim Zeitlin
ef2992354c applied patch 424550 (fix compilation of the notebook sample in tabbed dialog mode)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:48:20 +00:00
Julian Smart
bc00e7155e Updates for 2.3.1; fixed syntax error in makefile.b32 but this probably
means that the 'version' fix for BC++ doesn't work (misapplied?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:43:16 +00:00
Vadim Zeitlin
40a8907605 fixed bug 418496 (wxDC::SetClippingRegion doesn't clear the previous clipping region)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:40:44 +00:00
Vadim Zeitlin
638bc56cf9 fixed bug 418766 (elapsed time not initialized in wxProgressDialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:07:10 +00:00
Vadim Zeitlin
c7f9a482ec fixed bug 419079 (wxDateTime::ParseTime() didn't find am/pm)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 17:00:36 +00:00
Vadim Zeitlin
c4d305b7bd fixed bug 424212 (unworking close button in the progress dialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 16:49:56 +00:00
Vadim Zeitlin
ed582841a2 1. added wxAssertIsEqual() function to be used in wxASSERT()
2. made wxTrap() public, documented it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 16:35:38 +00:00
Vadim Zeitlin
749b01f037 src/common
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 16:34:54 +00:00
Vadim Zeitlin
c8f144761c fix for crash when pressing TAB in the tree text control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 15:57:51 +00:00
Stefan Csomor
9dd11f90ad delete now does remove the item in correct synch from m_datas and m_strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 09:11:45 +00:00
Vadim Zeitlin
53e3052c3c warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 02:01:54 +00:00
Vadim Zeitlin
b5299791f4 some fixes to wxSingleInstanceChecker error reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 01:56:00 +00:00
Vadim Zeitlin
7c4157904f added missing brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 00:27:50 +00:00
Vadim Zeitlin
7cbe4e7973 some missing c_str()s added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-09 00:21:47 +00:00
Vadim Zeitlin
9cfadba232 regenerated files with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:57:13 +00:00
Vadim Zeitlin
4f3c5f06ff implemented wxSingleInstanceChecker for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:42:59 +00:00
Vadim Zeitlin
fae9f59039 added tiny wxInitializer class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 23:11:15 +00:00
Kendall Bennett
38caaa61b1 Merged latest changes from SciTech code base into wxWindows CVS Tree.
Includes updates to remove Watcom compiler warnings and the latest
updates to the wxApplet code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 19:37:56 +00:00
David Webster
3febf6845f Enabling the Pop Menu fix to peek at all the command messages. Required adding a secondary DoMessage to wxApp. Some textctrl work as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:24:37 +00:00
David Webster
153b1416a4 Add support for the eventual inclusion of the single instance code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:23:14 +00:00
Julian Smart
ae090fdb7f Support for Cygwin 1.0 (thought it worked before, but...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 15:04:00 +00:00
Julian Smart
ee544c1741 Altered the message loop to process implicit accelerators correctly in controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 11:33:22 +00:00
Robin Dunn
6124f5c48c move the tech note to a correctly named file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 04:26:35 +00:00
Vadim Zeitlin
ed45e26357 replaced wxYield() call in PopupMenu() by a much safer wxYieldForCommandsOnly() - fixes tree ctrl bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 01:47:15 +00:00
Vadim Zeitlin
58b24a564c added wxSingleInstanceChecker test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 01:29:59 +00:00
Vadim Zeitlin
68a602fcd2 added wxSingleInstanceChecker class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-08 01:28:49 +00:00
Stefan Csomor
f0822896b3 implemented generic clipboard, corrected event handling for radiobutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 21:05:01 +00:00
Stefan Csomor
12d67f8ad0 removed duplicate definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 21:01:39 +00:00
Stefan Csomor
662899dd60 clipboard implementation generalized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 20:57:31 +00:00
Julian Smart
fd746d3050 Bug in wxDocument::Save logic corrected, whereby Save didn't save when not
first-time saved


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 13:30:54 +00:00
Vadim Zeitlin
b6b1d47f2c documented wxLog::Suspend/Resume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 11:12:11 +00:00
Julian Smart
0ddef74db4 Updates for version change to 2.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-07 10:57:58 +00:00
Robin Dunn
665bbe97a9 regenerated configure from configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 17:12:35 +00:00
Vadim Zeitlin
dd107c50be applied patch for compilation with gcc 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:51:53 +00:00
Robin Dunn
014e19de74 Updated version numbers to 2.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:50:48 +00:00
Robin Dunn
7ca4d1212e Added technote about where the version numbers are located.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:44:25 +00:00
Vadim Zeitlin
448450723a applied patch 429317 (PCH fix for BC++)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:29:51 +00:00
Vadim Zeitlin
83c22707a4 fixed slider value rounding once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 16:27:45 +00:00
Vadim Zeitlin
350ba193e5 another fix for enter processing in wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 14:54:29 +00:00
Julian Smart
9e3cb9eefc Fixed memory leak in textcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 11:17:30 +00:00
Julian Smart
fae5c45283 Correction to accelerator bug fix: add FVIRTKEY if ctrl, alt or shift
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 11:11:58 +00:00
Julian Smart
2317bff237 Only add FVIRTKEY if isVirtual is TRUE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 10:46:00 +00:00
Vadim Zeitlin
5b6d6b7008 fixed bug in determining the best listbox size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-06 00:05:42 +00:00
Robin Dunn
b5ff2fbd94 Fixed to recognise the FINAL=hybrid make flag and to then use the
right library.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 22:06:06 +00:00
Robin Dunn
0fb9cd0135 Added functions to initialize the local wxModules since it's possible
(normal in wxPython) for these modules to be loaded AFTER
wxModule::InitializeModules has been called for the rest of wx.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 22:05:05 +00:00
Robin Dunn
ea89ec1760 Changed WXDLLEXPORT's to WXXMLDLLEXPORT so the xmlres library can be
used from wx DLL without it being a DLL also.  Some work will still
need to be done for making xmlres be a DLL...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 22:03:02 +00:00
Stefan Csomor
a763ac036b unnecessary ClipRects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 21:23:32 +00:00
Stefan Csomor
fd2e20ff9c reverted some redrawing optimizations due to redraw errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 20:33:00 +00:00
Vadim Zeitlin
7f017c64bb applied patch 430452 (mingw32 compilation fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 20:32:09 +00:00
Gilles Depeyrot
0c71220c86 remove xpm files replaced with internal xpm decoder/handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 19:08:38 +00:00
Gilles Depeyrot
898844403e removed useless defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 19:03:37 +00:00
Gilles Depeyrot
f9e45bd7de corrected instructions for MacHeaders precompilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 18:53:41 +00:00
Vadim Zeitlin
f51a6f6a0c let wxSpinCtrl process the enter key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-05 17:10:33 +00:00
David Webster
39c26ef2d7 Size updates and new methods to export.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-04 19:03:35 +00:00
Václav Slavík
744442dd11 display file name correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 18:01:27 +00:00
Václav Slavík
5c3e299e08 added wxUSE_INTL around wxLocale::GetSystemEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 16:19:36 +00:00
Václav Slavík
030c0beade fixed stupid memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 16:19:17 +00:00
Stefan Csomor
c36f02449b added GetControlBounds for accessing contrl.rect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 10:29:00 +00:00
Václav Slavík
a92b8709d9 added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 09:43:52 +00:00
Václav Slavík
cc0c7cd8a5 fix for wxFrame's last focus bug (finally?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 09:43:36 +00:00
Vadim Zeitlin
161f4f7380 applied Unicode fixes for mingw32 (patch 429654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-03 02:58:56 +00:00
Václav Slavík
2ec6905c69 fixed new charset detection code (langinfo.h not included in intl.cpp; langinfo.h not neccessary in strconv.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-02 11:25:21 +00:00
Václav Slavík
c3d62ecf55 fixed bug #429351 (compilation broken in CJK environment (whatever it is) in 'agrave' definition)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 21:47:27 +00:00
Václav Slavík
938123ef4d added alignment style to wxStaticText handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 21:47:13 +00:00
Robin Dunn
be329a3de3 Allowed MSW wxTrextCtrl styling to also set the background colour,
added wxUSE_RICHEDIT2 so this can be disabled for compilers that don't
have the right structures.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 19:26:57 +00:00
Robin Dunn
4ceb1196bb Translated a double click into just a second click for Scintilla
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 18:42:09 +00:00
Vadim Zeitlin
3765e93695 fixed problem with HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 15:34:08 +00:00
Vadim Zeitlin
e80591b930 compilation fix for old mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 15:26:02 +00:00
Václav Slavík
a324685268 added wxBU_* styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 12:23:46 +00:00
Václav Slavík
4c584912b5 added wxNO_BORDER style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 12:23:37 +00:00
Vadim Zeitlin
82713003dc fix for last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-01 01:30:51 +00:00
Václav Slavík
dbae17a2e0 yet another attempt to wxFrame's last focus bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 23:02:06 +00:00
Vadim Zeitlin
803c553734 Unix compilation fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 21:41:44 +00:00
Vadim Zeitlin
dccce9eae1 added wxLocale::GetSystemEncoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 20:27:37 +00:00
Vadim Zeitlin
0d6ae333cd fixed right click handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 19:18:44 +00:00
Vadim Zeitlin
0731c594f4 oops... removed test code from the sample, what was it doing there for the last 7 months
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 14:33:17 +00:00
Vadim Zeitlin
3dd9b88ac2 we now send iconize events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 14:32:06 +00:00
Robin Dunn
bf7945cef1 Added EVT_GRID_EDITOR_CREATED and wxGridEditorCreatedEvent so the user
code can get access to the edit control when it is created, (to push
on a custom event handler for example.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 06:23:06 +00:00
Robin Dunn
2910484954 Forgot to check-in this change last week...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 06:21:30 +00:00
Stefan Csomor
e42eaa04de removed unnecessary ClipRect calls, refresh on MacActivate with eraseBkgnd false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 05:44:07 +00:00
Stefan Csomor
493c9f6bb2 adapted to new sending for radiobutton events for unselecting too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-31 05:42:50 +00:00
Vadim Zeitlin
8d8bd2496e fixed wxFrame::SetClientSize() with toolbar bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-30 21:05:23 +00:00
Stefan Csomor
fdaf613add rewrite to avoid unnecessary redraws
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-30 20:46:00 +00:00
Robert Roebling
87dde0b5fc Forgot ! in wxTreeCtrl flag test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-30 15:53:35 +00:00
Stefan Csomor
8803596043 corrected update upon activate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 21:15:27 +00:00
Stefan Csomor
9eed87190a adapted background color for mac for listcontrols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 21:12:26 +00:00
Stefan Csomor
ed4ddd3393 adapted background color for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 21:11:26 +00:00
David Webster
030c24fb9a Add gridctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 18:59:46 +00:00
David Webster
1ec46a5b35 Lots of OS/2 Updates mirroring msw updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 18:59:17 +00:00
David Webster
30bc4a8fc0 New grid control OS/2 compile issue
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 18:58:02 +00:00
Václav Slavík
43ef6d9ec7 applied patch #427244 (wxrcedit improvements: XRC version upgrade)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 18:21:09 +00:00
Stefan Csomor
342ae8aedf activated dynlib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 17:52:44 +00:00
Stefan Csomor
763ca781fa updated mac implementation to support the success parameter , the new filename2filespec call and reintroduced the disappeared dllClose definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 17:49:34 +00:00
Stefan Csomor
c257d44dd2 corrected GetCharWidth and implemented MacSuperChangedPosition for toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 14:37:43 +00:00
David Webster
ea7d85eb85 Menu files for OS/2 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 03:49:36 +00:00
David Webster
ad7f3189f3 Various fixes in DC's, ownerdrawn menu items, etc...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-29 03:46:50 +00:00
Vadim Zeitlin
5c737c4c37 link preventing typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-28 18:55:40 +00:00
Vadim Zeitlin
7ac05a91ab compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-28 15:05:05 +00:00
George Tasker
597fadcef5 Informix fixes (submitted by Roger Gammans)
Added .c_str() to some wxString instances when being Printf()'d into another wxString


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-28 12:24:22 +00:00
George Tasker
9e4d1095ea Fixed #pragma interface mismatches
Updated comments


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-28 12:10:04 +00:00
George Tasker
412394b831 Fixed incorrect creation of the pColFor instances (per Roger Gammans patches). This fixes surious crashes with large database systems, and significantly increases the speed of the application when idntifying all datasource tables.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-28 12:02:51 +00:00
Václav Slavík
66080691b1 fixed parsing of comments before root node
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-28 10:37:11 +00:00
Ryan Norton
832fedf6a5 Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-28 04:45:41 +00:00
Robert Roebling
32ea1f988d wxDC::DrawPolygon correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 19:18:07 +00:00
Robert Roebling
b77d96500a wxTreeCtrl Mac look
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 19:17:10 +00:00
Vadim Zeitlin
68275b8532 really fixed wxConfig bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 19:01:38 +00:00
Vadim Zeitlin
e1b8d4d841 fixed wxConfig bug I've introduced yesterday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 18:53:26 +00:00
Vadim Zeitlin
0537351f78 regenerated from tmake templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 16:22:36 +00:00
Vadim Zeitlin
622be94c78 removed log record
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 16:19:54 +00:00
Vadim Zeitlin
d10f4bf950 applied tons of wxGrid patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 15:22:28 +00:00
Vadim Zeitlin
1fd4a033f4 applied patch 422308 (fixes for version info for wxWin DLL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 14:20:38 +00:00
Vadim Zeitlin
dead66baf5 removed wxCLIP_CHILDREN style from wxSplitterWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 14:10:17 +00:00
Václav Slavík
4a41c655e8 yet another attempt to fix LastFocus bug in wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 14:01:18 +00:00
Vadim Zeitlin
86f65864f9 fixed bug reported in patch 427696 (incorrect toolbar style)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 13:25:01 +00:00
Vadim Zeitlin
3aa467b63e applied patch 427695 (initialize m_nPush)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 13:21:16 +00:00
Robert Roebling
c22886bdaf Tried to make wxTreeCtrl on Mac look more Maccy. Part I.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 13:07:09 +00:00
Vadim Zeitlin
4bc1afd502 added text style support to wxTextCtrl for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 03:28:28 +00:00
Vadim Zeitlin
1341230e80 oops, typo leading to compilation problem fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 03:11:49 +00:00
Vadim Zeitlin
0da25f69ba fixed 'patch' #422993 (Error in wxConfigBase::Write for doubles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 02:23:16 +00:00
Vadim Zeitlin
e3d0aa773d added popup menu demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-27 02:16:09 +00:00
Václav Slavík
ada8f80775 another attempt to fix wxPanel/wxFrame::m_winLastFocused handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 22:20:33 +00:00
Robert Roebling
b192a24c92 Fix cvs conflict.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 21:11:10 +00:00
Robert Roebling
2301e28195 Implemented LAST_NOT pen style for orthogonal lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 21:10:16 +00:00
Stefan Csomor
97af5088ec clipboard reading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 19:54:46 +00:00
Stefan Csomor
99918ac7f3 changed Mac Mouse Moved Hysteresis (area in which mouse movements do NOT generate a moved event) to a single point region for platform compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 15:47:14 +00:00
Stefan Csomor
cd378f94be corrected wxIsAbsolutePath for new Mac Path notation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 13:41:23 +00:00
Stefan Csomor
a2f94f406e corrected transparency in DoDrawIcon , if there is a mask in the icon, it's used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 12:44:46 +00:00
Václav Slavík
e7f8e8b788 removed stubs and qt 'ports'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 10:05:06 +00:00
Václav Slavík
453507f22c fixed memory leak in DoPrint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 10:04:03 +00:00
Stefan Csomor
4ce431b02b correct bitmap construction (including mask) from image
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-26 07:52:12 +00:00
David Webster
008089f632 Added some extended styles to OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 21:12:00 +00:00
Gilles Depeyrot
a694a0c6c4 corrections to directory management for Mac OS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 19:10:52 +00:00
Vadim Zeitlin
226ee02213 fixed calendar control height calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 13:35:22 +00:00
Vadim Zeitlin
89a0a3220b fixed bug with using wxCommandEvent::GetInt() instead of GetId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 13:31:11 +00:00
George Tasker
31ad62bc09 Changes to detect unresolved references (REF NOT FOUND) during HTML conversion
Filenames with underscores are no longer reported as errant uses of '_' character
Minor GUI display tweeks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 13:02:53 +00:00
George Tasker
c0ffb626ed Fixed unresolved references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 12:47:00 +00:00
Robin Dunn
862fed9394 Added a "rpm" target so you can just do "make rpm" and it should do
the right thing


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 07:01:32 +00:00
Robin Dunn
0f7deca925 Fixed the problem of the RPM having the builder's user and group id
and complaining about it during install.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 07:00:12 +00:00
George Tasker
7e2f3297f0 Replaced \verb$....$ with \tt{....}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-25 00:40:06 +00:00
George Tasker
341479ffb9 Removed check for '\par' at beginning of line that I mistakenly added before
Standardized the way I spelled 'curley' everywhere


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 23:37:39 +00:00
Vadim Zeitlin
c786f76365 fixed wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:36:41 +00:00
Vadim Zeitlin
8efab359f7 fixed compilation with NO_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:36:11 +00:00
Vadim Zeitlin
520d193622 some broken links fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:35:34 +00:00
Vadim Zeitlin
44bb263ab2 broken link fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:26:42 +00:00
Stefan Csomor
bedaf53eaf reverting to native mac pathnames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:22:04 +00:00
Stefan Csomor
504aaaad1d added generic dir dlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 21:19:20 +00:00
George Tasker
c55dea6070 Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 18:31:49 +00:00
Vadim Zeitlin
033400ebcb fix for egcs internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 17:20:22 +00:00
George Tasker
b74d0665b5 Added documentation for the new -checkcurleybraces and -checksyntax commandline parameters for tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 16:59:28 +00:00
George Tasker
fad535eea3 Added '_' checking that warns of the use of "_" or "\_" in the wrong places
Added syntax checking for common documenting problems that tex2rtf does not handle properly (like \begin{verbatim} and others needing to be on a line by themselves)
Syntax checking and curley brace matching can be turned on via the commandline, or the new OPTIONS menu choice if using a GUI.  Both are OFF by default to match current behavior
Compilation again possible now if wxUSE_DEBUG_CONTEXT is set to 0 in setup.h
Various GUI glitches fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 16:54:19 +00:00
Gilles Depeyrot
a217777fb3 added missing check for wxUSE_JOYSTICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 16:07:47 +00:00
George Tasker
6aa358aebb Fixed more '_' issues
Fixed all places that \begin{verbatim} and \end{verbatim} were not on lines by themselves (which tex2rtf cannot handle).
Changed all \verb$....$ occurrances to \tt{....}


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 16:03:25 +00:00
David Webster
2b0ec34b1a Adding borders to OS/2 objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 16:01:45 +00:00
David Webster
91b5f3bc57 Add RemoveChild
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 13:24:03 +00:00
Vadim Zeitlin
a3dafe8784 removed \small before \verbatim
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 13:07:37 +00:00
George Tasker
e72403492b Added '\' before all '_' chars that were not inside VERBATIM blocks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 10:39:33 +00:00
George Tasker
a66abda9d3 Removed the '\' quote on some '_' characters where it should not have been (inside verbatim blocks)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 10:01:59 +00:00
George Tasker
2e64ba46bf Moved '\label' tag to the correct line, allowing tex2rtf to correctly build docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 09:20:04 +00:00
Vadim Zeitlin
509cd921bf some minor fixes to ODBC docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-24 00:02:21 +00:00
Václav Slavík
de243b058f fixed bug in wxFrame::OnActivate
(added virtual void RemoveChild() which make sure OnActivate
won't accidentally use invalid m_winLastFocused ptr)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 17:02:18 +00:00
Robin Dunn
faa20af7d4 some minor changes for the installer flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 15:05:41 +00:00
Julian Smart
ba33f035da Added missing files to listing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 14:52:32 +00:00
Vadim Zeitlin
94f562a279 fixed broken links
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 14:39:16 +00:00
George Tasker
2015ec3378 All the major ODBC changes for 2.3 logged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 14:10:36 +00:00
George Tasker
69a2b59d53 Removed TABs that had gotten in to the source
Added more feature tests to the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 13:48:04 +00:00
George Tasker
081eb1b120 Removed TABs that had gotten in to the source
Added more INTERBASE support fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 13:46:59 +00:00
George Tasker
9082f1a970 Removed TABs that had gotten in to the source
Added assert if user tries to create a column name longer than the max supported column name length
Added more INTERBASE support fixes
Added a SQLServer7 fix for ASC/DESC support


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 13:45:50 +00:00
George Tasker
2f9719249b Removed TABs that had gotten in to the source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 13:39:40 +00:00
George Tasker
a096358cc7 Fixed a missing '}'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 11:19:05 +00:00
Stefan Csomor
5b74c3ac7c added mouse down before activate event in background window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 06:50:57 +00:00
Stefan Csomor
2883443e90 scrollbar fixes and workaround for redraw problems w/o erase , setbitmap triggers refresh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 06:24:17 +00:00
Stefan Csomor
a49afa93ca scrollbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-23 06:15:16 +00:00
Václav Slavík
06f3c649c9 applied workaround patch to get rid of crashes in wxrcedit on MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 22:04:00 +00:00
Václav Slavík
2adaf5969f implemented wxGetSingleChoiceIndex version that takes wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 22:03:40 +00:00
Václav Slavík
646a007c2c fixed wxSpinButton handler (did refer to spinbutton nodename, not wxSpinButton class)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 22:03:33 +00:00
Václav Slavík
1a3cb2caf8 fixed ID handling in 'unknown' handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 22:03:24 +00:00
Václav Slavík
9c9fc51ba7 XMLCTRL() macro now uses wxDynamicCast in debug builds
(should help in catching typo bugs when accessing XRC controls)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 22:02:53 +00:00
Robin Dunn
3b1ca90e5a Some distribution tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 18:22:04 +00:00
Robin Dunn
e59a8895bc Fixed "make dist" so it doesn't try to copy some files that don't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 17:57:05 +00:00
David Webster
804c69d3d1 Fixes errno.h problems with OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 17:25:57 +00:00
David Webster
65b851bbdd Fixes errno.h problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 17:25:39 +00:00
David Webster
3eada58e7a Fixes errno.h problems and enable joystick code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 17:25:21 +00:00
Robin Dunn
84a81942dd Updated SWIG generated code for wxGTK version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 16:58:26 +00:00
Robin Dunn
1fb264fd5a Changed IDs used for the popup menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 16:02:58 +00:00
Julian Smart
e1190518b6 Corrected recursive GetToolMargins()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 15:16:28 +00:00
Vadim Zeitlin
6bec54e128 wxCommandEvent::IsChecked() now returns the toolbar button checked status as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 14:02:17 +00:00
Vadim Zeitlin
36202885d4 fix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 14:01:02 +00:00
Vadim Zeitlin
f139dfe8e3 always return a non NULL font from wxLoadFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 13:26:01 +00:00
Julian Smart
92f5ff59cc Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 10:56:54 +00:00
Robin Dunn
25832b3f2b changed version number
A few final twaeks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 05:59:09 +00:00
Vadim Zeitlin
6d5b2a57cf tried to fix the accel string drawing in the owner drawn menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 23:58:58 +00:00
Vadim Zeitlin
c48269b9f7 fixed memory leak in colour parsing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 23:22:26 +00:00
Vadim Zeitlin
7561aacd5e fix for releasing the HDC in WM_DRAWITEM handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 23:10:31 +00:00
Vadim Zeitlin
5260937e74 (blind) fix for joystick compilation problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 22:49:40 +00:00
David Webster
29d83fc1e5 Visualage fixes for Stefan's socket implementations, some scrolling fixes and dir fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 20:31:47 +00:00
David Webster
5600884ab7 Visualage fixes for Stefan's socket implementations and true to TRUE in db.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 20:30:24 +00:00
David Webster
2910855229 Visualage fixes for Stefan's socket implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 20:29:42 +00:00
Ron Lee
c3302e7e29 Default wxDateTime objects are now 'invalid',
changed wxDefaultDateTime definition to suit.
Removed IsValid asserts from Set methods.
Fixed broken test for validity that was checking
m_time directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 19:03:33 +00:00
Vadim Zeitlin
48c31b2853 removed extra newlines from wxLogDebugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 10:31:21 +00:00
David Webster
cb71578cae Final scrolling updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 04:06:04 +00:00
Vadim Zeitlin
4cdc2c137e fixed usage of LOWORD/HIWORD instead of GET_[XY]_LPARAM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 00:17:04 +00:00
Vadim Zeitlin
889f0b7c67 fixed wxComboBox sizing problem again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 00:16:35 +00:00
Václav Slavík
e6c3f404b8 New code for inserting unknown controls into resources
via <object class='unknown'>. This one even works.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 22:18:28 +00:00
Stefan Neis
bdfeadcac5 Included filefn.h for non-precompiled headers to
get definition of wxFILE_SEP_PATH


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 21:31:22 +00:00
Julian Smart
bcbb0f8309 Added dircmn.cpp to VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 21:23:46 +00:00
Stefan Neis
37d92a964a Added new files gsockpm.c and dircmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 20:47:20 +00:00
Stefan Neis
0ad771924b Added gsockpm.c for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 20:46:29 +00:00
Stefan Neis
e4ad24c9d3 Fixed some OS/2 specific problems: EMX defines __UNIX__, which is what good
for wxGTK/wxMotif, but sometimes a problem for the PM version.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 16:16:27 +00:00
Stefan Neis
3958ae62ba Updated gsocket.c to current unix version, use gsockunx.h instead of gsockos2.h
Added gsockpm.c.
Hooked socket handling into main loop.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 13:25:28 +00:00
Václav Slavík
5d5b1c0ce0 fixed WX_APPEND_ARRAY and WX_CLEAR_ARRAY when used with dereferenced pointers (*array)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 11:56:20 +00:00
George Tasker
c20facdb25 Various makefiles added. Only the VC and B32 makefiles have been tested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 11:32:57 +00:00
Robin Dunn
25d73e0f28 Some more tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 02:00:31 +00:00
Robin Dunn
2b510feb17 Since there was no #include before the #if wxUSE_JOYSTICK then nothing
would ever be compiled in this module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 01:21:12 +00:00
Robin Dunn
ac346f5046 Added sample to the demo for wxJoystick
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 01:18:39 +00:00
Vadim Zeitlin
72c71d3972 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 23:36:50 +00:00
Václav Slavík
c989314692 -fix for a bug in parsing tag's properties with common suffixes
- some wxT() around char constants


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 18:00:28 +00:00
Václav Slavík
e987a489c8 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 17:59:51 +00:00
Václav Slavík
af9083592b use wxTreeCtrl, not wxGenericTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 11:57:32 +00:00
Robin Dunn
4dfaa61e60 generated code for wxGTK for all the changes made earlier today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 04:12:38 +00:00
Vadim Zeitlin
442d08ce74 merged wxRegConf rename fix from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 01:04:25 +00:00
Vadim Zeitlin
18c5099700 1. more proper fix for wxChoice/wxComboBox height problems than in 2,2 branch
2. wxIsspace() fix merged from the 2.2 branch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 01:01:21 +00:00
Vadim Zeitlin
31827af3ea renamed wxBase.dsp to wxBaseVC.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 00:59:07 +00:00
Vadim Zeitlin
353327844e added wxDir::Traverse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 00:58:05 +00:00
Robin Dunn
10e07c70d8 wxDragImage fixes and cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 23:46:30 +00:00
Robin Dunn
30aaddfe89 Added mixins subpackage to wxPython.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 22:26:19 +00:00
Václav Slavík
8bc25b29f1 fixed &agrave; parsing (here too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 22:13:30 +00:00
Robin Dunn
90b2b1303a Added wave files to the distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 22:02:56 +00:00
Robin Dunn
493f1553fd Cleanup up the demo a bit
Added wxWave

Added another patch for SWIG that optimizes the generated code some
and eliminates some unused type mappings in the type registry.
(Reduces it by about half!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 21:59:59 +00:00
George Tasker
c20a12bd55 XPMHAND.H dependency removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:43:30 +00:00
Robert Roebling
2d4511658d Applied patch for non-Latin keyboards.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:39:13 +00:00
Václav Slavík
ffe107c8c0 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:34:49 +00:00
Václav Slavík
0d832cf788 applied modified patch #424894 (wxrcedit & bcc compilation fixes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:34:34 +00:00
Václav Slavík
8e49dc6301 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:33:30 +00:00
George Tasker
5d59e67a7b Added compile-time check to be sure that wxUSE_ODBC is set to 1 before attempting to compile this program, and error out telling the user to change the setting if they want to compile this program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 18:32:33 +00:00
Vadim Zeitlin
06b32ebe4f compilation fix for mouse hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 17:15:46 +00:00
Julian Smart
da7ed9b77e Bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 14:41:39 +00:00
Robin Dunn
856e03b753 Fixed OOR related problem in OGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 06:53:25 +00:00
Robin Dunn
9df61a29d2 Implemented the first phase of OOR (Original Object Return). See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 05:20:01 +00:00
Robin Dunn
419c299ae5 Fixed wxPoint.__cmp__ and a few others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-18 02:32:22 +00:00
Vadim Zeitlin
3bdc265d9d merged fixes for accel and command event non propagation from 2.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 23:46:30 +00:00
Robin Dunn
9416aa89ca Implemented the first phase of OOR (Original Object Return). See the
text in the demo for more details of what this means, but in a
nutshell methods such as wxWindow.GetParent or FindWindowById will now
return a shadow object of the proper type if it can.  By "proper type"
I mean that if the wxWindow pointer returned from FindWindowById
really points to a wxButton then the Python object constructed will be
of a wxButtonPtr class instead of wxWindowPtr as before.  This should
reduce or eliminiate the need for wxPyTypeCast.  (Woo Hoo!)  The
objects returned are still not the original Python object, but that is
the next step.  (Although it will probably only work on Python 2.1 and
beyond because it will use weak references.)

A few other minor tweaks and fixes and additions for things found
while doing the OOR stuff.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 22:47:09 +00:00
Stefan Csomor
6618870d16 fixed wxWindow::SetCursor( wxNullCursor) for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 15:53:01 +00:00
Vadim Zeitlin
6603907dea don't annoy the user by repeating the question which had been already answered (and also make the question a bit more clear)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 15:51:09 +00:00
Julian Smart
5abf8c9d66 Call OnParentEnable from wxTextCtrl::Enable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 11:09:22 +00:00
Julian Smart
fdca68a670 Implemented OnParentEnable to allow widgets to reset their colours
after a wxWindow::Enable call


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:58:05 +00:00
Vadim Zeitlin
36bd690299 added wxLog::ClearTraceMasks()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:11:34 +00:00
Ron Lee
1912918cce typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 07:53:10 +00:00
Robin Dunn
f98de4487f Applied patch #423927, (Min size for stretch parts of wxBoxSizer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 07:27:17 +00:00
Václav Slavík
4dc3fdec0c fixed wrong parsing of &agrave; (typo in tables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 22:10:07 +00:00
Václav Slavík
c59b4b010e changed wxBitmap::CreateFromXpm to use wxBitmap(wxImage,int) ctor again -- it should work fine with BCC now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 22:07:59 +00:00
Václav Slavík
52f96deca1 removed wxImage::operator wxBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 22:07:39 +00:00
Gilles Depeyrot
2461b2e716 correction for Mac OS X (M_PI is already defined)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 21:28:54 +00:00
Gilles Depeyrot
f9d3748bc0 corrections for Mac OS X Developer Tools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 21:20:50 +00:00
Vadim Zeitlin
a224234132 FindFocus() and wxSpinCtrl fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:57:08 +00:00
Stefan Csomor
3dec57adfd icon support moved to wxBitmap, allowing for fully transparent usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:23:13 +00:00
Julian Smart
513903c4f9 Made wxWindow::Enable recursive in order to solve colouring problems; forced the colour
of a wxTextCtrl back to the custom colour in wxTextCtrl::Enable. This appears
to fix inconsistent colour problems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 15:53:11 +00:00
Vadim Zeitlin
19d7140ec2 applied patch 415912 (fixing problems with wxGrid attrs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 13:20:31 +00:00
Stefan Csomor
27419164ad workaround for notebook/tabctrl redraw bug, it is now not excluded from the local eraseRgn of the parent window, thus guaranteeing that the background is always correct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:46:51 +00:00
Stefan Csomor
ca715d8835 corrected loop for calculating the proper updatergn taking into account only real subwindows that are shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:16:59 +00:00
Julian Smart
a88acabdd2 Applied patch #418555: wxTextCtrl uses wrong background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 12:01:48 +00:00
Julian Smart
19b726bbca Applied patch #403856 (utilscmn.cpp should translate special key names)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:54:18 +00:00
Julian Smart
69231000be Applied patch #421554: implementation of wxEVT_CONTEXT_MENU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:32:21 +00:00
Julian Smart
f80eabe5a2 Applied patch #421073 (making setup options work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:22:01 +00:00
Julian Smart
b07664068b Applied patch #420395 (adding wxCLIP_SIBBLINGS capability -- but not by default)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:14:37 +00:00
David Webster
833615dd4d More scrolling fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 03:21:53 +00:00
Vadim Zeitlin
965784669a removed useless assert from wxArray::Alloc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 00:19:42 +00:00
Václav Slavík
8084a109b6 applied patch that fixes paper size handling under MSW and sets PD_SELECTION correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 22:04:27 +00:00
David Webster
2b75f58067 Modest fix for executables linking to the wx dll for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 19:55:35 +00:00
David Webster
aa06a8fdfb Enable this sample for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 19:53:48 +00:00
David Webster
e661fcd770 More scrolling stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 19:52:31 +00:00
Václav Slavík
23ca6e208f applied patch #424066
(a bit better attempt to detect system encoding in absence of LANGINFO)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 17:02:43 +00:00
Julian Smart
d7dcb93990 Corrected some casting errors -> XtPointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 14:51:00 +00:00
George Tasker
3f030b4804 Added buttons to allow a dump of DB DATATYPES and DB DIAGNOSTIC info via wxLogMessage() to the sample app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 13:12:36 +00:00
George Tasker
5a226de062 dBase fix on creating index
General cleanup of code in the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 01:00:56 +00:00
George Tasker
ea24eeb2db Fixed problems which prevented creation/recreation of tables with MSAcces
General cleanup of code in the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-15 00:58:09 +00:00
David Webster
b7d8f285c3 More scrolling stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 21:29:45 +00:00
Vadim Zeitlin
f5cd97870d warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 21:28:04 +00:00
Julian Smart
788722ac5c Fixes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 16:13:12 +00:00
Julian Smart
f3d5d2b5b9 Added some missing makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 13:25:24 +00:00
Julian Smart
1094fecfdd Added event sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 12:38:04 +00:00
Julian Smart
5d2b67f7d1 Added event.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 12:37:31 +00:00
Julian Smart
059f05650b Mods to release scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 12:30:21 +00:00
Julian Smart
940718f06e Misc release-related mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 10:28:27 +00:00
Václav Slavík
17766da91f fixed a lie in docs (underlining is not limited to Windows anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-13 22:10:20 +00:00
Václav Slavík
cb0b3950ff now outputs errors to stderr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-13 22:09:53 +00:00
Gilles Depeyrot
82ca6dbcf4 applied SourceForge patch #423532
ensure that menus appear correctly under Mac OS X


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-13 13:09:41 +00:00
Julian Smart
9d57991759 Removed XPM lib references from makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-13 09:50:00 +00:00
George Tasker
2beca66298 Added support more support for DB2
Added support for PervasiveSQL
Fixed MSAccess testing of DROP TABLE result when the table does not exist


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 20:31:24 +00:00
George Tasker
1b12ab1641 Added support more support for DB2
Added support for PervasiveSQL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 20:24:53 +00:00
George Tasker
ef397583df Sizer based dialogs (like wxSingleChoiceDialog) are now forced to initially appear in the visible area of the display, relocating the dialog before display so that it fits within the display (if possible). If the dialog will not fit in the display area, it is shifted so that the top edge with the title bar is visible on the display
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 20:23:58 +00:00
Gilles Depeyrot
4e0e692f03 removed old xpm code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 19:23:58 +00:00
Václav Slavík
fc5d5458a6 added wxDEFAULT_FRAME_STYLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 18:32:28 +00:00
Václav Slavík
4def3b3595 some more src code reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 18:32:17 +00:00
Robin Dunn
be52217ed3 No longer needs to create a wxApp object before making bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:57:09 +00:00
Robin Dunn
c2fa61e833 Changed wxRootWindow from a global to a staic variable with an
accessor function that initializes if on first use.  This prevents
core dumps for apps that try to create wxBitmaps before the wxApp
object is initialized.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:55:28 +00:00
Robert Roebling
a90c95aa8e Corrected wxToolBar::ToolSetBitmapSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 17:07:54 +00:00
Julian Smart
804a46d3f7 Removed Mac-specific XPM files from mac.rsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 16:08:39 +00:00
Julian Smart
13bf613ebd Minor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 13:04:31 +00:00
Stefan Csomor
aa6c945b0a corrected eventual endless loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 09:13:28 +00:00
Stefan Csomor
c503ab8437 corrected control update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 08:47:17 +00:00
Stefan Csomor
be57fda609 corrected control update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 08:16:52 +00:00
Stefan Csomor
a8cd4a3a03 redraw problems fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 07:15:43 +00:00
Stefan Csomor
65608e3bb0 maintaining 8.1 compat (defining 8.5 calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 06:36:18 +00:00
Stefan Csomor
2dd88c8023 removed old xpm code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 06:24:13 +00:00
Gilles Depeyrot
3f4902f50b conditional compilation for Universal Interfaces (3.4 or later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 21:03:14 +00:00
Gilles Depeyrot
69db49223e conditional compilation for Universal Interfaces (3.4 or later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:54:41 +00:00
Gilles Depeyrot
4114d0af4f corrected conditional compilation for Universal Interfaces (3.4 or later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:52:48 +00:00
Gilles Depeyrot
3ce946d47e activate new xpm handler under Classic Mac OS after xpm handler fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:45:25 +00:00
Gilles Depeyrot
9fbbbd40d1 added PM_USE_SESSION_APIS for Carbon compilation under Mac OS 9
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:43:31 +00:00
David Webster
4284e7cdb7 wxOS2 additional stylistic and coding standards.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 18:18:07 +00:00
Václav Slavík
5ce0e4ac06 supressed error messages when wxCSConv cannot find registry key and/or value when looking for charset information
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 16:41:58 +00:00
Václav Slavík
aa50e893ee fixed wxListCtrl::EditLabel for MSW (ListView_EditLabel fails if
the control does not have focus, so I changed EditLabel to always set focus to *this
before calling LV_EditLabel). This fixes wxEditableListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 16:41:47 +00:00
Václav Slavík
e9c4c02c19 fixed handling of root paths: now checks if string ends with / before appending / to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 16:41:34 +00:00
Václav Slavík
b326e313a0 fixed parsing of XPM data files from demos/forty
(decoder did not parse lowercase hexadecimal numbers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 16:41:12 +00:00
Stefan Csomor
4b1f6faaa2 added lowercase functionality to wxHexToDec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 16:06:38 +00:00
Julian Smart
fb1bd1bdd3 Some installation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 15:13:23 +00:00
Václav Slavík
f204026b42 fixed fatal bug in wxBitmap::CreateFromXpm (the bitmap was added twice to wxTheBitmapsList)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 15:08:45 +00:00
Julian Smart
66242f2079 Added a couple more numeric character references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:51:22 +00:00
Julian Smart
c60f5c6517 Removed references to xpm[d].lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:31:41 +00:00
Julian Smart
1e1ca6f0b2 Removed xpm[d].lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 14:27:05 +00:00
David Webster
d38d271fa6 Get rid of the CVS merge characters that have worked their way into this causing the dll builds from the command line to fail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 13:28:01 +00:00
Julian Smart
22394d24f6 NULL -> 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 12:53:16 +00:00
Julian Smart
57e26a09f1 Now sorts the files case-insensitively
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 10:26:01 +00:00
Guillermo Rodriguez Garcia
2b15fdfcf3 Use GetPath instead of GetFileName in file selector, otherwise it doesn't work for files outside the current directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:35:42 +00:00
Guillermo Rodriguez Garcia
27a97d02eb Private gsocket files were using 'typedef int bool', removed this
and replaced by true ints. Currently this was not causing any problem
but it is better to avoid bool at all in C code as a matter of good
coding practice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:31:39 +00:00
Stefan Csomor
e7b596fbff corrected redraw problems in controls (the erroneusly revalidated their draw area thus eating other pending redraws
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:28:28 +00:00
Guillermo Rodriguez Garcia
d493b66a90 Streams were being created the wrong way (was using the copy
ctor which should not be used for any stream class)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:24:10 +00:00
Stefan Csomor
b668a73527 corrected a bug in dc which resetted the port , exchanged the wxchoice implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 05:27:07 +00:00
Václav Slavík
1c6466854c compilation fix for apps w/o precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:37:27 +00:00
Václav Slavík
268d5364cf removed libxpm from templates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:36:51 +00:00
Václav Slavík
9d8c2f419f removed libxpm dependencies from makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:36:25 +00:00
Robin Dunn
d2520c85b0 Added accessors for the sub-windows in the wxGrid.
Added methods to get/set the pen width used for the current cell
highlight, bot normal and read-only.

Fixed (I think) the problem of the cell highlight leaving extra lines
behind when the grid lines are turned off


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:31:17 +00:00
711 changed files with 36047 additions and 371040 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 B

View File

@@ -0,0 +1,11 @@
\chapter{Bugs}\label{bugs}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
These are the known bugs.
\begin{itemize}\itemsep=0pt
\item In the OGLEdit sample, .dia files are output double-spaced
due to an unidentified bug in the way a stream is converted to a file.
\end{itemize}

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 B

View File

@@ -0,0 +1,19 @@
\chapter{Change log}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
Version 3.0, September 8th 1998
\begin{itemize}\itemsep=0pt
\item Version for wxWindows 2.0.
\item Various enhancements especially to wxDrawnShape
(multiple metafiles, for different orientations).
\item More ability to override functions e.g. OnSizeDragLeft, so events can be
intercepted for Do/Undo.
\end{itemize}
Version 2.0, June 1st 1996
\begin{itemize}\itemsep=0pt
\item First publicly released version.
\end{itemize}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

View File

@@ -0,0 +1,47 @@
\chapter{Introduction}
\pagenumbering{arabic}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
Object Graphics Library (\ogl) is a C++ library supporting the creation and
manipulation of simple and complex graphic images on a canvas.
It can be found in the directory {\tt utils/ogl/src} in the
wxWindows distribution. The file {\tt ogl.h} must be included to make use
of the library.
Please see \helpref{OGL overview}{ogloverview} for a general description how the object library works. For details,
please see the \helpref{class reference}{classref}.
\section{File structure}
These are the files that comprise the \ogl\ library.
\begin{description}\itemsep=0pt
\item[basic.h] Header for basic objects such as wxShape and wxRectangleShape.
\item[basic.cpp] Basic objects implementation (1).
\item[basic2.cpp] Basic objects implementation (2).
\item[bmpshape.h] wxBitmapShape class header.
\item[bmpshape.cpp] wxBitmapShape implementation.
\item[canvas.h] wxShapeCanvas class header.
\item[canvas.cpp] wxShapeCanvas class implementation.
\item[composit.h] Composite object class header.
\item[composit.cpp] Composite object class implementation.
\item[constrnt.h] Constraint classes header.
\item[constrnt.cpp] Constraint classes implementation.
\item[divided.h] Divided object class header.
\item[divided.cpp] Divided object class implementation.
\item[drawn.h] Drawn (metafile) object class header.
\item[drawn.cpp] Drawn (metafile) object class implementation.
\item[graphics.h] Main include file.
\item[lines.h] wxLineShape class header.
\item[lines.cpp] wxLineShape class implementation.
\item[misc.h] Miscellaneous graphics functions header.
\item[misc.cpp] Miscellaneous graphics functions implementation.
\item[ogldiag.h] wxDiagram class header.
\item[ogldiag.cpp] wxDiagram implementation.
\item[mfutils.h] Metafile utilities header.
\item[mfutils.cpp] Metafile utilities implementation.
\end{description}

View File

@@ -0,0 +1,17 @@
[OPTIONS]
BMROOT=d:\wx2\wxwind~1\contrib\docs\latex\ogl ; Assume that bitmaps are where the source is
TITLE=OGL Manual
CONTENTS=Contents
COMPRESS=HIGH
[FILES]
ogl.rtf
[CONFIG]
CreateButton("Up", "&Up", "JumpId(`ogl.hlp', `Contents')")
BrowseButtons()
[MAP]
[BITMAPS]

View File

@@ -0,0 +1,46 @@
\documentstyle[a4,makeidx,verbatim,texhelp,fancyhea,mysober,mytitle]{report}
\newcommand{\ogl}[0]{{OGL}}%
\definecolour{black}{0}{0}{0}%
\definecolour{cyan}{0}{255}{255}%
\definecolour{green}{0}{255}{0}%
\definecolour{magenta}{255}{0}{255}%
\definecolour{red}{255}{0}{0}%
\definecolour{blue}{0}{0}{200}%
\definecolour{yellow}{255}{255}{0}%
\definecolour{white}{255}{255}{255}%
\input psbox.tex
\parindent 0pt
\parskip 11pt
\title{Object Graphics Library 3.0}
\author{Julian Smart}
\date{September 1998}
\makeindex
\begin{document}
\maketitle
\pagestyle{fancyplain}
\bibliographystyle{plain}
\pagenumbering{roman}
\setheader{{\it CONTENTS}}{}{}{}{}{{\it CONTENTS}}
\setfooter{\thepage}{}{}{}{}{\thepage}
\tableofcontents%
\input{intro.tex}
%
\input{sample.tex}
%
\input{classes.tex}
%
\input{topics.tex}
%
\input{bugs.tex}
%
\input{changes.tex}
%
\addcontentsline{toc}{chapter}{Index}
\setheader{{\it INDEX}}{}{}{}{}{{\it INDEX}}
\setfooter{\thepage}{}{}{}{}{\thepage}%
\printindex
\end{document}

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -0,0 +1,87 @@
\chapter{OGLEdit: a sample OGL application}\label{ogledit}%
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
OGLEdit is a sample OGL application that allows the user to draw, edit,
save and load a few shapes. It should clarify aspects of OGL usage, and
can act as a template for similar applications. OGLEdit can be found in\rtfsp
{\tt samples/ogledit} in the OGL distribution.
$$\image{10cm;0cm}{ogledit.eps}$$\par
The wxWindows document/view model has been used in OGL, to reduce the amount of
housekeeping logic required to get it up and running. OGLEdit also provides
a demonstration of the Undo/Redo capability supported by the document/view classes,
and how a typical application might implement this feature.
\section{OGLEdit files}
OGLEdit comprises the following source files.
\begin{itemize}\itemsep=0pt
\item doc.h, doc.cpp: MyDiagram, DiagramDocument, DiagramCommand, MyEvtHandler
classes related to diagram functionality and documents.
\item view.h, view.cpp: MyCanvas, DiagramView classes related to visualisation of
the diagram.
\item ogledit.h, ogledit.cpp: MyFrame, MyApp classes related to the overall application.
\item palette.h, palette.cpp: EditorToolPalette implementing the shape palette.
\end{itemize}
\section{How OGLEdit works}
OGLEdit defines a DiagramDocument class, each of instance of which holds a MyDiagram
member which itself contains the shapes.
In order to implement specific mouse behaviour for shapes, a class MyEvtHandler is
defined which is `plugged into' each shape when it is created, instead of overriding each shape class
individually. This event handler class also holds a label string.
The DiagramCommand class is the key to implementing Undo/Redo. Each instance of DiagramCommand
stores enough information about an operation (create, delete, change colour etc.) to allow
it to carry out (or undo) its command. In DiagramView::OnMenuCommand, when the user initiates the
command, a new DiagramCommand instance is created which is then sent to the document's
command processor (see wxWindows manual for more information about doc/view and command
processing).
Apart from menu commands, another way commands are initiated is by the user left-clicking on
the canvas or right-dragging on a node. MyCanvas::OnLeftClick in view.cpp shows how
the appropriate wxClassInfo is passed to a DiagramCommand, to allow DiagramCommand::Do
to create a new shape given the wxClassInfo.
The MyEvtHandler right-drag methods in doc.cpp implement drawing a line between
two shapes, detecting where the right mouse button was released and looking for a second
shape. Again, a new DiagramCommand instance is created and passed to the command
processor to carry out the command.
DiagramCommand::Do and DiagramCommand::Undo embody much of the
interesting interaction with the OGL library. A complication of note
when implementing undo is the problem of deleting a node shape which has
one or more arcs attached to it. If you delete the node, the arc(s)
should be deleted too. But multiple arc deletion represents more information
that can be incorporated in the existing DiagramCommand scheme. OGLEdit
copes with this by treating each arc deletion as a separate command, and
sending Cut commands recursively, providing an undo path. Undoing such a
Cut will only undo one command at a time - not a one to one
correspondence with the original command - but it's a reasonable
compromise and preserves Do/Undo whilst keeping our DiagramCommand class
simple.
\section{Possible enhancements}
OGLEdit is very simplistic and does not employ the more advanced features
of OGL, such as:
\begin{itemize}\itemsep=0pt
\item attachment points (arcs are drawn to particular points on a shape)
\item metafile and bitmaps shapes
\item divided rectangles
\item composite shapes, and constraints
\item creating labels in shape regions
\item arc labels (OGL has support for three movable labels per arc)
\item spline and multiple-segment line arcs
\item adding annotations to node and arc shapes
\item line-straightening (supported by OGL) and alignment (not supported directly by OGL)
\end{itemize}
These could be added to OGLEdit, at the risk of making it a less
useful example for beginners.

View File

@@ -0,0 +1,35 @@
; Last change: JAC 13 Oct 100 5:11 pm
runTwice = yes
titleFontSize = 12
authorFontSize = 10
chapterFontSize = 12
sectionFontSize = 12
subsectionFontSize = 12
headerRule = yes
footerRule = yes
useHeadingStyles = yes
listItemIndent=40
generateHPJ = no
htmlBrowseButtons = bitmap
winHelpVersion = 3
winHelpContents = yes
winHelpTitle = "OGL Manual"
truncateFilenames = yes
combineSubSections = yes
\overview [2] {\rtfonly{See also }\settransparency{on}\sethotspotcolour{off}\sethotspotunderline{on}\winhelponly{\image{}{books.bmp}\settransparency{off}}
\htmlonly{\image{}{books.gif}}\helpref{#1}{#2}
\sethotspotcolour{on}\sethotspotunderline{on}}
\docparam [2]{\parskip{0}{\it #1}\htmlignore{\par}\parskip{10}\indented{1cm}{#2}}
\wxheading [1]{{\bf \htmlignore{\fcol{blue}{#1}}\htmlonly{\fcol{red}{#1}}}}
\const [0] {{\bf const}}
\constfunc [3] {{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
\windowstyle [1] {{\bf #1}\index{#1}}
;;
;; These two are for generating MS HTML Help project, contents and index files.
;;
htmlWorkshopFiles = true
htmlIndex = true
\pythonnote [1] {{\bf \fcol{blue}{wxPython note:}} #1}
%\pythonnote [1] {}

View File

@@ -0,0 +1,298 @@
% LaTeX style file
% Name: texhelp.sty
% Author: Julian Smart
%
% Purpose
% -------
% Style file to enable the simultaneous preparation of printed LaTeX and on-line
% hypertext manuals.
% Use in conjunction with Tex2RTF (see Tex2RTF documentation).
%
% Note that if a non-ASCII character starts a newline and there should be a space
% between the last word on the previous line and the first word on this line,
% you need to use \rtfsp to generate a space in Windows Help. \rtfsp is ignored
% in all other formats.
%
% Julian Smart
% Artificial Intelligence Applications Institute
%
%
% ============== C++/CLIPS Documentation Facilities ==============
%
% Each class definition should be typeset with e.g.
%
% \section{\class{Name}: Parent}
%
% followed by a description of the class.
% Each member should follow:
%
% \membersection{wxName::Member}
%
% with a description of what this member does.
% Then, one (or more if overloaded) member (function) in detail:
%
% \func{return type}{name}{args}
% or
% \member{type}{name}
%
% where args is a list of \param{type}{name}, ...
% Function, e.g.
% e.g. to typeset
%
% void DoIt(char *string);
%
% write:
%
% \func{void}{DoIt}{\param{char *}{string}}
%
\newcommand{\func}[3]{\hangafter=1\noindent\hangindent=10mm
{{\it #1} {\bf #2}\index{#2}}(#3)}
% For function/type definition where the name is a pointer,
% e.g. to typeset
%
% typedef void (*wxFunction)(wxObject&)
%
% write:
%
% \pfunc{typedef void}{wxFunction}{param{wxObject&}}
\newcommand{\pfunc}[3]{\hangafter=1\noindent\hangindent=10mm
{{\it #1} ({\bf *#2})\index{#2}}(#3)}
% Use an ordinary \section command for class name definitions.
% This is used for a member, such as wxBitmap: GetDepth
\newcommand{\membersection}[1]{\subsection*{#1}\index{#1}}
% CLIPS function
\newcommand{\clipsfunc}[3]{\hangafter=1\noindent\hangindent=10mm
{{\bf #1} ({\bf #2}\index{#2}}#3)}
\newcommand{\clipssection}[1]{\chapter{#1}}
% This is used for a CLIPS function name
\newcommand{\functionsection}[1]{\subsection*{#1}}
% Member: a type and a name
\newcommand{\member}[2]{{\bf #1 \it #2}}
% C++ Parameter: a type and a name (no intervening space)
\newcommand{\param}[2]{{\it #1}{\bf #2}}
% CLIPS Parameter: a type and a name (one intervening space)
\newcommand{\cparam}[2]{{\bf #1} {\it #2}}
% Class: puts in index
\newcommand{\class}[1]{#1\index{#1}}
%\newcommand{\docparam}[2]{\parskip=0pt {\it #1}\par\parskip=10pt\begin{indented}{1cm}{#2}\end{indented}}
% Void type
\newcommand{\void}{{\it void}}
% Typeset destructor
\newcommand{\destruct}[1]{{$\sim$}#1}
% Typeset insert/extract operators
\newcommand{\cinsert}{$<<$}
\newcommand{\cextract}{$>>$}
% =================== Hypertext facilities ===================
%
% To insert hyperlinks (or references, in Latex), \label the sections
% or membersections \label{ref-label} immediately after the section, on the same line,
% and use \helpref{text-to-show}{ref-label} to make a reference.
%
% Type text with section reference
\newcommand{\helpref}[2]{{\it #1} (p.\ \pageref{#2}) }
% Type text with URL in verbatim mode
\newcommand{\urlref}[2]{#1 (\verb$#2$)}
% Don't typeset section number in LaTeX
\newcommand{\helprefn}[2]{{\it #1}}
% Like helpref, but popup text in WinHelp instead of hyperlinked
\newcommand{\popref}[2]{{\it #1}}
% Like footnote, but popup text.
\newcommand{\footnotepopup}[2]{{\it #1}\footnote{#2}}
% =================== On-line help specific macros ===================
%
% Global document font size/family, help only.
\newcommand{\helpfontsize}[1]{}
\newcommand{\helpfontfamily}[1]{}
% Ignore in all on-line help
\newcommand{\helpignore}[1]{#1}
% Only print in all on-line help
\newcommand{\helponly}[1]{}
% Ignore in LaTeX
\newcommand{\latexignore}[1]{}
% Only print in LaTeX
\newcommand{\latexonly}[1]{#1}
% Ignore in linear RTF
\newcommand{\rtfignore}[1]{#1}
% Only print in linear RTF
\newcommand{\rtfonly}[1]{}
% Ignore in WinHelp RTF
\newcommand{\winhelpignore}[1]{#1}
% Only print in WinHelp RTF
\newcommand{\winhelponly}[1]{}
% Ignore in wxHelp
\newcommand{\xlpignore}[1]{#1}
% Only print in wxHelp
\newcommand{\xlponly}[1]{}
% Ignore in HTML
\newcommand{\htmlignore}[1]{#1}
% Only print in HTML
\newcommand{\htmlonly}[1]{}
% Input a file only for help system (binder thickness is not a limitation
% in help systems!)
\newcommand{\helpinput}[1]{}
\newcommand{\rtfsp}{ } % Force a space in RTF, ignore in Latex
% =================== Miscellaneous macros ===================
%
% Headings consistent with generated ones
\newcommand{\myheading}[1]{\vspace*{25pt}
\begin{flushleft}
{\LARGE \bf #1}
\end{flushleft}
\vskip 20pt
}
% Heading with entry in contents page.
\newcommand{\chapterheading}[1]{\myheading{#1}
\addcontentsline{toc}{chapter}{#1}}
\newcommand{\sectionheading}[1]{\myheading{#1}
\addcontentsline{toc}{section}{#1}}
% Glossary environment
\newenvironment{helpglossary}{\newpage\chapterheading{Glossary}\begin{description}}{\end{description}}
% Glossary entry
\newcommand{\gloss}[1]{\item[#1]\index{#1}}
% Image: EPS in Latex, BMP or MF (whatever's available) in RTF. Requires psbox.
\newcommand{\image}[2]{\psboxto(#1){#2}}
% Image, left aligned (HTML)
\newcommand{\imager}[2]{\psboxto(#1){#2}}
% Image, right aligned (HTML)
\newcommand{\imagel}[2]{\psboxto(#1){#2}}
% Imagemap: principally for HTML only. In Latex,
% acts like \image.
\newcommand{\imagemap}[3]{\psboxto(#1){#2}}
% Headers and footers
% \setheader{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
% {OddPageLeft}{OddPageCentre}{OddPageRight}
\newcommand{\setheader}[6]{
\lhead[\fancyplain{}{#1}]{\fancyplain{}{#4}}
\chead[\fancyplain{}{#2}]{\fancyplain{}{#5}}
\rhead[\fancyplain{}{#3}]{\fancyplain{}{#6}}
}
% \setfooter{EvenPageLeft}{EvenPageCentre}{EvenPageRight}
% {OddPageLeft}{OddPageCentre}{OddPageRight}
\newcommand{\setfooter}[6]{
\lfoot[\fancyplain{#1}{#1}]{\fancyplain{#4}{#4}}
\cfoot[\fancyplain{#2}{#2}]{\fancyplain{#5}{#5}}
\rfoot[\fancyplain{#3}{#3}]{\fancyplain{#6}{#6}}
}
% Needed for telling RTF where margin paragraph should go
% in mirrored margins mode.
\newcommand{\marginpareven}[1]{\hspace*{0pt}\marginpar{#1}}
\newcommand{\marginparodd}[1]{\hspace*{0pt}\marginpar{#1}}
% Environment for two-column table popular in WinHelp and manuals.
\newcommand{\twocolwidtha}[1]{\def\twocolwidthaval{#1}}
\newcommand{\twocolwidthb}[1]{\def\twocolwidthbval{#1}}
\newcommand{\twocolspacing}[1]{\def\twocolspacingval{#1}}
\twocolwidtha{3cm}
\twocolwidthb{8.5cm}
\twocolspacing{2}
\newcommand{\twocolitem}[2]{#1 & #2\\}
\newcommand{\twocolitemruled}[2]{#1 & #2\\\hline}
\newenvironment{twocollist}{\renewcommand{\arraystretch}{\twocolspacingval}\begin{tabular}{lp{\twocolwidthbval}}}%
{\end{tabular}\renewcommand{\arraystretch}{1}}
% Specifying table rows for RTF compatibility
\newcommand{\row}[1]{#1\\}
% Use for the last ruled row for correct RTF generation.
\newcommand{\ruledrow}[1]{#1\\\hline}
% Indentation environment. Arg1 is left margin size
\newenvironment{indented}[1]{\begin{list}{}{\leftmargin=#1}\item[]}%
{\end{list}}
% Framed box of text, normal formatting.
\newcommand{\normalbox}[1]{\fbox{\vbox{#1}}}
% Double-framed box of text.
\newcommand{\normalboxd}[1]{\fbox{\fbox{\vbox{#1}}}}
% WITHDRAWN -- can't do in RTF, easily.
% Framed box of text, horizontally centred. Ragged right within box.
% \newcommand{\centeredbox}[2]{\begin{center}\fbox{\parbox{#1}{\raggedright#2}}\end{center}}
% Double-framed box of text, horizontally centred. Ragged right within box.
% \newcommand{\centeredboxd}[2]{\begin{center}\fbox{\fbox{\parbox{#1}{\raggedright#2}}}\end{center}}
% toocomplex environment: simply prints the argument in LaTeX,
% comes out verbatim in all generated formats.
\newenvironment{toocomplex}{}{}
% Colour: dummy commands since LaTeX doesn't support colour.
% \definecolour{name}{red}{blue}{green}
% \fcol{name}{text} ; Foreground
% \bcol{name}{text} ; Background
\newcommand{\definecolour}[4]{}
\newcommand{\definecolor}[4]{}
\newcommand{\fcol}[2]{#2}
\newcommand{\bcol}[2]{#2}
\newcommand{\sethotspotcolour}[1]{}
\newcommand{\sethotspotunderline}[1]{}
\newcommand{\settransparency}[1]{}
\newcommand{\backslashraw}[0]{}
\newcommand{\lbraceraw}[0]{}
\newcommand{\rbraceraw}[0]{}
\newcommand{\registered}[0]{(r)}
\newcommand{\background}[1]{}
\newcommand{\textcolour}[1]{}
\newcommand{\overview}[2]{See \helpref{#1}{#2}.}
\newcommand{\docparam}[2]{{\it #1}\begin{list}{}{\leftmargin=1cm}\item[]
#2%
\end{list}}
\newcommand{\wxheading}[1]{{\bf #1}}
\newcommand{\const}[0]{{\bf const}}
\newcommand{\constfunc}[3]{{\bf #1} {\bf #2}(#3) {\bf const}\index{#2}}
\newcommand{\windowstyle}[1]{{\bf #1}\index{#1}}
\addtolength{\textwidth}{1in}
\addtolength{\oddsidemargin}{-0.5in}
\addtolength{\topmargin}{-0.5in}
\addtolength{\textheight}{1in}
\sloppy

View File

@@ -0,0 +1,161 @@
\chapter{Topic overviews}
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}
The following sections describe particular topics.
\section{OGL overview}\label{ogloverview}
\helpref{wxShapeCanvas}{wxshapecanvas}, derived from {\bf wxCanvas}, is the drawing area
for a number of \helpref{wxShape}{wxshape} instances. Everything drawn on a
wxShapeCanvas is derived from wxShape, which provides virtual
member functions for redrawing, creating and destroying
resize/selection `handles', movement and erasing behaviour, mouse
click behaviour, calculating the bounding box of the shape, linking
nodes with arcs, and so on.
The way a client application copes with `damage' to the canvas is to
erase (white out) anything should no longer be displayed, redraw the shape,
and then redraw everything on the canvas to repair any damage. If quick edit
mode is on for the canvas, the complete should be omitted by OGL and the
application.
Selection handles (called control points in the code) are implemented as
wxRectangleShapes.
Events are passed to shapes by the canvas in a high-level form, for example {\bf OnLeftClick},
{\bf OnBeginDragLeft}, {\bf OnDragLeft}, {\bf OnEndDragLeft}. The canvas decides
what is a click and what is a drag, whether it is on a shape or the canvas itself,
and (by interrogating the shape) which attachment point the click is associated with.
In order to provide event-handling flexibility, each shapes has an `event handler' associated with it,
which by default is the shape itself (all shapes derive from wxShapeEvtHandler).
An application can modify the event-handling behaviour simply by plugging a new
event handler into the shape. This can avoid the need for multiple inheritance when
new properties and behaviour are required for a number of different shape classes: instead
of overriding each class, one new event handler class can be defined and used for all
existing shape classes.
A range of shapes have been predefined in the library, including rectangles, ellipses,
polygons. A client application can derive from these shapes and/or derive entirely
new shapes from wxShape.
Instances of a class called \helpref{wxDiagram}{wxdiagram} organise collections of
shapes, providing default file input and output behaviour.
\section{wxDividedShape overview}\label{dividedshapeoverview}
Classes: \helpref{wxDividedShape}{wxdividedshape}
A wxDividedShape is a rectangle with a number of vertical divisions. Each
division may have its text formatted with independent characteristics, and
the size of each division relative to the whole image may be specified.
Once a wxDividedShape has been created, the user may move the divisions with the
mouse. By pressing Ctrl while right-clicking, the region attributes can be edited.
Here are examples of creating wxDividedShape objects:
{\small
\begin{verbatim}
/*
* Divided rectangle with 3 regions
*
*/
wxDividedShape *dividedRect = new wxDividedShape(50, 60);
wxShapeRegion *region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.5);
dividedRect->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect->AddRegion(region);
dividedRect->SetSize(50, 60); // Allow it to calculate region sizes
dividedRect->SetPen(wxBLACK_PEN);
dividedRect->SetBrush(wxWHITE_BRUSH);
dividedRect->Show(TRUE);
dividedRect->NameRegions();
/*
* Divided rectangle with 3 regions, rounded
*
*/
wxDividedShape *dividedRect3 = new wxDividedShape(50, 60);
dividedRect3->SetCornerRadius(-0.4);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect3->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.5);
dividedRect3->AddRegion(region);
region = new wxShapeRegion;
region->SetProportions(0.0, 0.25);
dividedRect3->AddRegion(region);
dividedRect3->SetSize(50, 60); // Allow it to calculate region sizes
dividedRect3->SetPen(wxBLACK_PEN);
dividedRect3->SetBrush(wxWHITE_BRUSH);
dividedRect3->Show(TRUE);
dividedRect3->NameRegions();
\end{verbatim}
}
\section{wxCompositeShape overview}\label{compositeshapeoverview}
Classes: \helpref{wxCompositeShape}{wxcompositeshape}, \helpref{wxOGLConstraint}{wxoglconstraint}
The wxCompositeShape allows fairly complex shapes to be created, and maintains
a set of constraints which specify the layout and proportions of child shapes.
Add child shapes to a wxCompositeShape using \helpref{AddChild}{wxcompositeshapeaddchild}, and
add constraints using \helpref{AddConstraint}{wxcompositeshapeaddconstraint}.
After children and shapes have been added, call \helpref{Recompute}{wxcompositeshaperecompute} which
will return TRUE is the constraints could be satisfied, FALSE otherwise. If
constraints have been correctly and consistently specified, this call will succeed.
If there is more than one child, constraints must be specified: OGL cannot calculate
the size and position of children otherwise. Don't assume that children will simply
move relative to the parent without the use of constraints.
To specify a constraint, you need three things:
\begin{enumerate}\itemsep=0pt
\item a constraint type, such as gyCONSTRAINT\_CENTRED\_VERTICALLY;
\item a reference shape, with respect to which other shapes are going to be positioned - the\rtfsp
{\it constraining} shape;
\item a list of one or more shapes to be constrained: the {\it constrained} shapes.
\end{enumerate}
The constraining shape can be either the parent of the constrained shapes, or a sibling. The
constrained shapes must all be siblings of each other.
For an exhaustive list and description of the available constraint types, see the \helpref{wxOGLConstraint constructor}{wxoglconstraintconstr}.
Note that most constraints operate in one dimension only (vertically or horizontally), so you will
usually need to specify constraints in pairs.
You can set the spacing between constraining and constrained shapes by
calling \helpref{wxOGLConstraint::SetSpacing}{wxoglconstraintsetspacing}.
Finally, a wxCompositeShape can have {\it divisions}, which are special child shapes of class
wxDivisionShape (not to be confused with wxDividedShape). The purpose of this is to allow
the composite to be divided into user-adjustable regions (divisions) into which other shapes
can be dropped dynamically, given suitable application code. Divisons allow the child
shapes to have an identity of their own - they can be manipulated independently of their container -
but to behave as if they are contained with the division, moving with the parent shape.
Divisions boundaries can themselves be moved using the mouse.
To create an initial division, call \helpref{wxCompositeShape::MakeContainer}{wxcompositeshapemakecontainer}.
Make further divisions by calling \helpref{wxDivisionShape::Divide}{wxdivisionshapedivide}.

Binary file not shown.

After

Width:  |  Height:  |  Size: 998 B

View File

@@ -0,0 +1,744 @@
/////////////////////////////////////////////////////////////////////////////
// Name: basic.h
// Purpose: Basic OGL classes and definitions
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_BASIC_H_
#define _OGL_BASIC_H_
#ifdef __GNUG__
#pragma interface "basic.h"
#endif
#define OGL_VERSION 2.0
#ifndef DEFAULT_MOUSE_TOLERANCE
#define DEFAULT_MOUSE_TOLERANCE 3
#endif
// Edit these lines if you positively don't want PROLOGIO support
#ifndef PROLOGIO
#define PROLOGIO
#endif
// Key identifiers
#define KEY_SHIFT 1
#define KEY_CTRL 2
// Arrow styles
#define ARROW_NONE 0
#define ARROW_END 1
#define ARROW_BOTH 2
#define ARROW_MIDDLE 3
#define ARROW_START 4
// Control point types
// Rectangle and most other shapes
#define CONTROL_POINT_VERTICAL 1
#define CONTROL_POINT_HORIZONTAL 2
#define CONTROL_POINT_DIAGONAL 3
// Line
#define CONTROL_POINT_ENDPOINT_TO 4
#define CONTROL_POINT_ENDPOINT_FROM 5
#define CONTROL_POINT_LINE 6
// Types of formatting: can be combined in a bit list
#define FORMAT_NONE 0
// Left justification
#define FORMAT_CENTRE_HORIZ 1
// Centre horizontally
#define FORMAT_CENTRE_VERT 2
// Centre vertically
#define FORMAT_SIZE_TO_CONTENTS 4
// Resize shape to contents
// Shadow mode
#define SHADOW_NONE 0
#define SHADOW_LEFT 1
#define SHADOW_RIGHT 2
/*
* Declare types
*
*/
#define SHAPE_BASIC wxTYPE_USER + 1
#define SHAPE_RECTANGLE wxTYPE_USER + 2
#define SHAPE_ELLIPSE wxTYPE_USER + 3
#define SHAPE_POLYGON wxTYPE_USER + 4
#define SHAPE_CIRCLE wxTYPE_USER + 5
#define SHAPE_LINE wxTYPE_USER + 6
#define SHAPE_DIVIDED_RECTANGLE wxTYPE_USER + 8
#define SHAPE_COMPOSITE wxTYPE_USER + 9
#define SHAPE_CONTROL_POINT wxTYPE_USER + 10
#define SHAPE_DRAWN wxTYPE_USER + 11
#define SHAPE_DIVISION wxTYPE_USER + 12
#define SHAPE_LABEL_OBJECT wxTYPE_USER + 13
#define SHAPE_BITMAP wxTYPE_USER + 14
#define SHAPE_DIVIDED_OBJECT_CONTROL_POINT wxTYPE_USER + 15
#define OBJECT_REGION wxTYPE_USER + 20
#define OP_CLICK_LEFT 1
#define OP_CLICK_RIGHT 2
#define OP_DRAG_LEFT 4
#define OP_DRAG_RIGHT 8
#define OP_ALL (OP_CLICK_LEFT | OP_CLICK_RIGHT | OP_DRAG_LEFT | OP_DRAG_RIGHT)
// Attachment modes
#define ATTACHMENT_MODE_NONE 0
#define ATTACHMENT_MODE_EDGE 1
#define ATTACHMENT_MODE_BRANCHING 2
// Sub-modes for branching attachment mode
#define BRANCHING_ATTACHMENT_NORMAL 1
#define BRANCHING_ATTACHMENT_BLOB 2
class wxShapeTextLine;
class wxShapeCanvas;
class wxLineShape;
class wxControlPoint;
class wxShapeRegion;
class wxShape;
#ifdef PROLOGIO
class WXDLLEXPORT wxExpr;
class WXDLLEXPORT wxExprDatabase;
#endif
// Round up
#define WXROUND(x) ( (long) (x + 0.5) )
// logical function to use when drawing rubberband boxes, etc.
#define OGLRBLF wxINVERT
class wxShapeEvtHandler: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxShapeEvtHandler)
public:
wxShapeEvtHandler(wxShapeEvtHandler *prev = NULL, wxShape *shape = NULL);
virtual ~wxShapeEvtHandler();
inline void SetShape(wxShape *sh) { m_handlerShape = sh; }
inline wxShape *GetShape() const { return m_handlerShape; }
inline void SetPreviousHandler(wxShapeEvtHandler* handler) { m_previousHandler = handler; }
inline wxShapeEvtHandler* GetPreviousHandler() const { return m_previousHandler; }
// This is called when the _shape_ is deleted.
virtual void OnDelete();
virtual void OnDraw(wxDC& dc);
virtual void OnDrawContents(wxDC& dc);
virtual void OnDrawBranches(wxDC& dc, bool erase = FALSE);
virtual void OnMoveLinks(wxDC& dc);
virtual void OnErase(wxDC& dc);
virtual void OnEraseContents(wxDC& dc);
virtual void OnHighlight(wxDC& dc);
virtual void OnLeftClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnLeftDoubleClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnRightClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnSize(double x, double y);
virtual bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual void OnMovePost(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
virtual void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
virtual void OnDragRight(bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnBeginDragRight(double x, double y, int keys=0, int attachment = 0);
virtual void OnEndDragRight(double x, double y, int keys=0, int attachment = 0);
virtual void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
virtual void OnDrawControlPoints(wxDC& dc);
virtual void OnEraseControlPoints(wxDC& dc);
virtual void OnMoveLink(wxDC& dc, bool moveControlPoints = TRUE);
// Control points ('handles') redirect control to the actual shape, to make it easier
// to override sizing behaviour.
virtual void OnSizingDragLeft(wxControlPoint* pt, bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnSizingBeginDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
virtual void OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
virtual void OnBeginSize(double WXUNUSED(w), double WXUNUSED(h)) { }
virtual void OnEndSize(double WXUNUSED(w), double WXUNUSED(h)) { }
// Can override this to prevent or intercept line reordering.
virtual void OnChangeAttachment(int attachment, wxLineShape* line, wxList& ordering);
// Creates a copy of this event handler.
wxShapeEvtHandler *CreateNewCopy();
// Does the copy - override for new event handlers which might store
// app-specific data.
virtual void CopyData(wxShapeEvtHandler& copy) {};
private:
wxShapeEvtHandler* m_previousHandler;
wxShape* m_handlerShape;
};
class wxShape: public wxShapeEvtHandler
{
DECLARE_ABSTRACT_CLASS(wxShape)
public:
wxShape(wxShapeCanvas *can = NULL);
virtual ~wxShape();
virtual void GetBoundingBoxMax(double *width, double *height);
virtual void GetBoundingBoxMin(double *width, double *height) = 0;
virtual bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3);
inline wxShapeCanvas *GetCanvas() { return m_canvas; }
void SetCanvas(wxShapeCanvas *the_canvas);
virtual void AddToCanvas(wxShapeCanvas *the_canvas, wxShape *addAfter = NULL);
virtual void InsertInCanvas(wxShapeCanvas *the_canvas);
virtual void RemoveFromCanvas(wxShapeCanvas *the_canvas);
inline double GetX() const { return m_xpos; }
inline double GetY() const { return m_ypos; }
inline void SetX(double x) { m_xpos = x; }
inline void SetY(double y) { m_ypos = y; }
inline wxShape *GetParent() const { return m_parent; }
inline void SetParent(wxShape *p) { m_parent = p; }
wxShape *GetTopAncestor();
inline wxList& GetChildren() { return m_children; }
virtual void OnDraw(wxDC& dc);
virtual void OnDrawContents(wxDC& dc);
virtual void OnMoveLinks(wxDC& dc);
virtual void Unlink() { };
void SetDrawHandles(bool drawH);
inline bool GetDrawHandles() { return m_drawHandles; }
virtual void OnErase(wxDC& dc);
virtual void OnEraseContents(wxDC& dc);
virtual void OnHighlight(wxDC& dc);
virtual void OnLeftClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnLeftDoubleClick(double x, double y, int keys = 0, int attachment = 0) {}
virtual void OnRightClick(double x, double y, int keys = 0, int attachment = 0);
virtual void OnSize(double x, double y);
virtual bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual void OnMovePost(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
virtual void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
virtual void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
virtual void OnDragRight(bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnBeginDragRight(double x, double y, int keys=0, int attachment = 0);
virtual void OnEndDragRight(double x, double y, int keys=0, int attachment = 0);
virtual void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
virtual void OnDrawControlPoints(wxDC& dc);
virtual void OnEraseControlPoints(wxDC& dc);
virtual void OnBeginSize(double WXUNUSED(w), double WXUNUSED(h)) { }
virtual void OnEndSize(double WXUNUSED(w), double WXUNUSED(h)) { }
// Control points ('handles') redirect control to the actual shape, to make it easier
// to override sizing behaviour.
virtual void OnSizingDragLeft(wxControlPoint* pt, bool draw, double x, double y, int keys=0, int attachment = 0); // Erase if draw false
virtual void OnSizingBeginDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
virtual void OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
virtual void MakeControlPoints();
virtual void DeleteControlPoints(wxDC *dc = NULL);
virtual void ResetControlPoints();
inline wxShapeEvtHandler *GetEventHandler() { return m_eventHandler; }
inline void SetEventHandler(wxShapeEvtHandler *handler) { m_eventHandler = handler; }
// Mandatory control points, e.g. the divided line moving handles
// should appear even if a child of the 'selected' image
virtual void MakeMandatoryControlPoints();
virtual void ResetMandatoryControlPoints();
inline virtual bool Recompute() { return TRUE; };
// Calculate size recursively, if size changes. Size might depend on children.
inline virtual void CalculateSize() { };
virtual void Select(bool select = TRUE, wxDC* dc = NULL);
virtual void SetHighlight(bool hi = TRUE, bool recurse = FALSE);
inline virtual bool IsHighlighted() const { return m_highlighted; };
virtual bool Selected() const;
virtual bool AncestorSelected() const;
void SetSensitivityFilter(int sens = OP_ALL, bool recursive = FALSE);
int GetSensitivityFilter() const { return m_sensitivity; }
void SetDraggable(bool drag, bool recursive = FALSE);
inline void SetFixedSize(bool x, bool y) { m_fixedWidth = x; m_fixedHeight = y; };
inline void GetFixedSize(bool *x, bool *y) const { *x = m_fixedWidth; *y = m_fixedHeight; };
inline bool GetFixedWidth() const { return m_fixedWidth; }
inline bool GetFixedHeight() const { return m_fixedHeight; }
inline void SetSpaceAttachments(bool sp) { m_spaceAttachments = sp; };
inline bool GetSpaceAttachments() const { return m_spaceAttachments; };
void SetShadowMode(int mode, bool redraw = FALSE);
inline int GetShadowMode() const { return m_shadowMode; }
virtual bool HitTest(double x, double y, int *attachment, double *distance);
inline void SetCentreResize(bool cr) { m_centreResize = cr; }
inline bool GetCentreResize() const { return m_centreResize; }
inline void SetMaintainAspectRatio(bool ar) { m_maintainAspectRatio = ar; }
inline bool GetMaintainAspectRatio() const { return m_maintainAspectRatio; }
inline wxList& GetLines() const { return (wxList&) m_lines; }
inline void SetDisableLabel(bool flag) { m_disableLabel = flag; }
inline bool GetDisableLabel() const { return m_disableLabel; }
inline void SetAttachmentMode(int mode) { m_attachmentMode = mode; }
inline int GetAttachmentMode() const { return m_attachmentMode; }
inline void SetId(long i) { m_id = i; }
inline long GetId() const { return m_id; }
void SetPen(wxPen *pen);
void SetBrush(wxBrush *brush);
inline void SetClientData(wxObject *client_data) { m_clientData = client_data; };
inline wxObject *GetClientData() const { return m_clientData; };
virtual void Show(bool show);
virtual bool IsShown() const { return m_visible; }
virtual void Move(wxDC& dc, double x1, double y1, bool display = TRUE);
virtual void Erase(wxDC& dc);
virtual void EraseContents(wxDC& dc);
virtual void Draw(wxDC& dc);
virtual void Flash();
virtual void MoveLinks(wxDC& dc);
virtual void DrawContents(wxDC& dc); // E.g. for drawing text label
virtual void SetSize(double x, double y, bool recursive = TRUE);
virtual void SetAttachmentSize(double x, double y);
void Attach(wxShapeCanvas *can);
void Detach();
inline virtual bool Constrain() { return FALSE; } ;
void AddLine(wxLineShape *line, wxShape *other,
int attachFrom = 0, int attachTo = 0,
// The line ordering
int positionFrom = -1, int positionTo = -1);
// Return the zero-based position in m_lines of line.
int GetLinePosition(wxLineShape* line);
void AddText(const wxString& string);
inline wxPen *GetPen() const { return m_pen; }
inline wxBrush *GetBrush() const { return m_brush; }
/*
* Region-specific functions (defaults to the default region
* for simple objects
*/
// Set the default, single region size to be consistent
// with the object size
void SetDefaultRegionSize();
virtual void FormatText(wxDC& dc, const wxString& s, int regionId = 0);
virtual void SetFormatMode(int mode, int regionId = 0);
virtual int GetFormatMode(int regionId = 0) const;
virtual void SetFont(wxFont *font, int regionId = 0);
virtual wxFont *GetFont(int regionId = 0) const;
virtual void SetTextColour(const wxString& colour, int regionId = 0);
virtual wxString GetTextColour(int regionId = 0) const;
virtual inline int GetNumberOfTextRegions() const { return m_regions.Number(); }
virtual void SetRegionName(const wxString& name, int regionId = 0);
// Get the name representing the region for this image alone.
// I.e. this image's region ids go from 0 to N-1.
// But the names might be "0.2.0", "0.2.1" etc. depending on position in composite.
// So the last digit represents the region Id, the others represent positions
// in composites.
virtual wxString GetRegionName(int regionId);
// Gets the region corresponding to the name, or -1 if not found.
virtual int GetRegionId(const wxString& name);
// Construct names for regions, unique even for children of a composite.
virtual void NameRegions(const wxString& parentName = "");
// Get list of regions
inline wxList& GetRegions() const { return (wxList&) m_regions; }
virtual void AddRegion(wxShapeRegion *region);
virtual void ClearRegions();
// Assign new ids to this image and children (if composite)
void AssignNewIds();
// Returns actual image (same as 'this' if non-composite) and region id
// for given region name.
virtual wxShape *FindRegion(const wxString& regionName, int *regionId);
// Finds all region names for this image (composite or simple).
// Supply empty string list.
virtual void FindRegionNames(wxStringList& list);
virtual void ClearText(int regionId = 0);
void RemoveLine(wxLineShape *line);
#ifdef PROLOGIO
// I/O
virtual void WriteAttributes(wxExpr *clause);
virtual void ReadAttributes(wxExpr *clause);
// In case the object has constraints it needs to read in in a different pass
inline virtual void ReadConstraints(wxExpr *WXUNUSED(clause), wxExprDatabase *WXUNUSED(database)) { };
virtual void WriteRegions(wxExpr *clause);
virtual void ReadRegions(wxExpr *clause);
#endif
// Attachment code
virtual bool GetAttachmentPosition(int attachment, double *x, double *y,
int nth = 0, int no_arcs = 1, wxLineShape *line = NULL);
virtual int GetNumberOfAttachments() const;
virtual bool AttachmentIsValid(int attachment) const;
// Only get the attachment position at the _edge_ of the shape, ignoring
// branching mode. This is used e.g. to indicate the edge of interest, not the point
// on the attachment branch.
virtual bool GetAttachmentPositionEdge(int attachment, double *x, double *y,
int nth = 0, int no_arcs = 1, wxLineShape *line = NULL);
// Assuming the attachment lies along a vertical or horizontal line,
// calculate the position on that point.
virtual wxRealPoint CalcSimpleAttachment(const wxRealPoint& pt1, const wxRealPoint& pt2,
int nth, int noArcs, wxLineShape* line);
// Returns TRUE if pt1 <= pt2 in the sense that one point comes before another on an
// edge of the shape.
// attachmentPoint is the attachment point (= side) in question.
virtual bool AttachmentSortTest(int attachmentPoint, const wxRealPoint& pt1, const wxRealPoint& pt2);
virtual void EraseLinks(wxDC& dc, int attachment = -1, bool recurse = FALSE);
virtual void DrawLinks(wxDC& dc, int attachment = -1, bool recurse = FALSE);
virtual bool MoveLineToNewAttachment(wxDC& dc, wxLineShape *to_move,
double x, double y);
// Reorders the lines coming into the node image at this attachment
// position, in the order in which they appear in linesToSort.
virtual void SortLines(int attachment, wxList& linesToSort);
// Apply an attachment ordering change
void ApplyAttachmentOrdering(wxList& ordering);
// Can override this to prevent or intercept line reordering.
virtual void OnChangeAttachment(int attachment, wxLineShape* line, wxList& ordering);
//// New banching attachment code, 24/9/98
//
// |________|
// | <- root
// | <- neck
// shoulder1 ->---------<- shoulder2
// | | | | |<- stem
// <- branching attachment point N-1
// This function gets the root point at the given attachment.
virtual wxRealPoint GetBranchingAttachmentRoot(int attachment);
// This function gets information about where branching connections go (calls GetBranchingAttachmentRoot)
virtual bool GetBranchingAttachmentInfo(int attachment, wxRealPoint& root, wxRealPoint& neck,
wxRealPoint& shoulder1, wxRealPoint& shoulder2);
// n is the number of the adjoining line, from 0 to N-1 where N is the number of lines
// at this attachment point.
// attachmentPoint is where the arc meets the stem, and stemPoint is where the stem meets the
// shoulder.
virtual bool GetBranchingAttachmentPoint(int attachment, int n, wxRealPoint& attachmentPoint,
wxRealPoint& stemPoint);
// Get the number of lines at this attachment position.
virtual int GetAttachmentLineCount(int attachment) const;
// Draw the branches (not the actual arcs though)
virtual void OnDrawBranches(wxDC& dc, int attachment, bool erase = FALSE);
virtual void OnDrawBranches(wxDC& dc, bool erase = FALSE);
// Branching attachment settings
inline void SetBranchNeckLength(int len) { m_branchNeckLength = len; }
inline int GetBranchNeckLength() const { return m_branchNeckLength; }
inline void SetBranchStemLength(int len) { m_branchStemLength = len; }
inline int GetBranchStemLength() const { return m_branchStemLength; }
inline void SetBranchSpacing(int len) { m_branchSpacing = len; }
inline int GetBranchSpacing() const { return m_branchSpacing; }
// Further detail on branching style, e.g. blobs on interconnections
inline void SetBranchStyle(long style) { m_branchStyle = style; }
inline long GetBranchStyle() const { return m_branchStyle; }
// Rotate the standard attachment point from physical (0 is always North)
// to logical (0 -> 1 if rotated by 90 degrees)
virtual int PhysicalToLogicalAttachment(int physicalAttachment) const;
// Rotate the standard attachment point from logical
// to physical (0 is always North)
virtual int LogicalToPhysicalAttachment(int logicalAttachment) const;
// This is really to distinguish between lines and other images.
// For lines, want to pass drag to canvas, since lines tend to prevent
// dragging on a canvas (they get in the way.)
virtual bool Draggable() const { return TRUE; }
// Returns TRUE if image is a descendant of this image
bool HasDescendant(wxShape *image);
// Creates a copy of this shape.
wxShape *CreateNewCopy(bool resetMapping = TRUE, bool recompute = TRUE);
// Does the copying for this object
virtual void Copy(wxShape& copy);
// Does the copying for this object, including copying event
// handler data if any. Calls the virtual Copy function.
void CopyWithHandler(wxShape& copy);
// Rotate about the given axis by the given amount in radians.
virtual void Rotate(double x, double y, double theta);
virtual inline double GetRotation() const { return m_rotation; }
void ClearAttachments();
// Recentres all the text regions for this object
void Recentre(wxDC& dc);
// Clears points from a list of wxRealPoints
void ClearPointList(wxList& list);
private:
wxObject* m_clientData;
protected:
wxShapeEvtHandler* m_eventHandler;
bool m_formatted;
double m_xpos, m_ypos;
wxPen* m_pen;
wxBrush* m_brush;
wxFont* m_font;
wxColour* m_textColour;
wxString m_textColourName;
wxShapeCanvas* m_canvas;
wxList m_lines;
wxList m_text;
wxList m_controlPoints;
wxList m_regions;
wxList m_attachmentPoints;
bool m_visible;
bool m_disableLabel;
long m_id;
bool m_selected;
bool m_highlighted; // Different from selected: user-defined highlighting,
// e.g. thick border.
double m_rotation;
int m_sensitivity;
bool m_draggable;
int m_attachmentMode; // 0 for no attachments, 1 if using normal attachments,
// 2 for branching attachments
bool m_spaceAttachments; // TRUE if lines at one side should be spaced
bool m_fixedWidth;
bool m_fixedHeight;
bool m_centreResize; // Default is to resize keeping the centre constant (TRUE)
bool m_drawHandles; // Don't draw handles if FALSE, usually TRUE
wxList m_children; // In case it's composite
wxShape* m_parent; // In case it's a child
int m_formatMode;
int m_shadowMode;
wxBrush* m_shadowBrush;
int m_shadowOffsetX;
int m_shadowOffsetY;
int m_textMarginX; // Gap between text and border
int m_textMarginY;
wxString m_regionName;
bool m_maintainAspectRatio;
int m_branchNeckLength;
int m_branchStemLength;
int m_branchSpacing;
long m_branchStyle;
};
class wxPolygonShape: public wxShape
{
DECLARE_DYNAMIC_CLASS(wxPolygonShape)
public:
wxPolygonShape();
~wxPolygonShape();
// Takes a list of wxRealPoints; each point is an OFFSET from the centre.
// Deletes user's points in destructor.
virtual void Create(wxList *points);
virtual void ClearPoints();
void GetBoundingBoxMin(double *w, double *h);
void CalculateBoundingBox();
bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3);
bool HitTest(double x, double y, int *attachment, double *distance);
void SetSize(double x, double y, bool recursive = TRUE);
void OnDraw(wxDC& dc);
void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
// Control points ('handles') redirect control to the actual shape, to make it easier
// to override sizing behaviour.
virtual void OnSizingDragLeft(wxControlPoint* pt, bool draw, double x, double y, int keys=0, int attachment = 0);
virtual void OnSizingBeginDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
virtual void OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
// A polygon should have a control point at each vertex,
// with the option of moving the control points individually
// to change the shape.
void MakeControlPoints();
void ResetControlPoints();
// If we've changed the shape, must make the original
// points match the working points
void UpdateOriginalPoints();
// Add a control point after the given point
virtual void AddPolygonPoint(int pos = 0);
// Delete a control point
virtual void DeletePolygonPoint(int pos = 0);
// Recalculates the centre of the polygon
virtual void CalculatePolygonCentre();
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
int GetNumberOfAttachments() const;
bool GetAttachmentPosition(int attachment, double *x, double *y,
int nth = 0, int no_arcs = 1, wxLineShape *line = NULL);
bool AttachmentIsValid(int attachment);
// Does the copying for this object
void Copy(wxShape& copy);
inline wxList *GetPoints() { return m_points; }
// Rotate about the given axis by the given amount in radians
virtual void Rotate(double x, double y, double theta);
private:
wxList* m_points;
wxList* m_originalPoints;
double m_boundWidth;
double m_boundHeight;
double m_originalWidth;
double m_originalHeight;
};
class wxRectangleShape: public wxShape
{
DECLARE_DYNAMIC_CLASS(wxRectangleShape)
public:
wxRectangleShape(double w = 0.0, double h = 0.0);
void GetBoundingBoxMin(double *w, double *h);
bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3);
void OnDraw(wxDC& dc);
void SetSize(double x, double y, bool recursive = TRUE);
void SetCornerRadius(double rad); // If > 0, rounded corners
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
int GetNumberOfAttachments() const;
bool GetAttachmentPosition(int attachment, double *x, double *y,
int nth = 0, int no_arcs = 1, wxLineShape *line = NULL);
// Does the copying for this object
void Copy(wxShape& copy);
inline double GetWidth() const { return m_width; }
inline double GetHeight() const { return m_height; }
inline void SetWidth(double w) { m_width = w; }
inline void SetHeight(double h) { m_height = h; }
protected:
double m_width;
double m_height;
double m_cornerRadius;
};
class wxTextShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxTextShape)
public:
wxTextShape(double width = 0.0, double height = 0.0);
void OnDraw(wxDC& dc);
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause);
#endif
// Does the copying for this object
void Copy(wxShape& copy);
};
class wxEllipseShape: public wxShape
{
DECLARE_DYNAMIC_CLASS(wxEllipseShape)
public:
wxEllipseShape(double w = 0.0, double h = 0.0);
void GetBoundingBoxMin(double *w, double *h);
bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3);
void OnDraw(wxDC& dc);
void SetSize(double x, double y, bool recursive = TRUE);
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
int GetNumberOfAttachments() const;
bool GetAttachmentPosition(int attachment, double *x, double *y,
int nth = 0, int no_arcs = 1, wxLineShape *line = NULL);
// Does the copying for this object
void Copy(wxShape& copy);
inline double GetWidth() const { return m_width; }
inline double GetHeight() const { return m_height; }
inline void SetWidth(double w) { m_width = w; }
inline void SetHeight(double h) { m_height = h; }
protected:
double m_width;
double m_height;
};
class wxCircleShape: public wxEllipseShape
{
DECLARE_DYNAMIC_CLASS(wxCircleShape)
public:
wxCircleShape(double w = 0.0);
bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3);
// Does the copying for this object
void Copy(wxShape& copy);
};
#endif
// _OGL_BASIC_H_

View File

@@ -0,0 +1,223 @@
/////////////////////////////////////////////////////////////////////////////
// Name: basicp.h
// Purpose: Private OGL classes and definitions
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_BASICP_H_
#define _OGL_BASICP_H_
#ifdef __GNUG__
#pragma interface "basicp.h"
#endif
#define CONTROL_POINT_SIZE 6
class wxShapeTextLine: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxShapeTextLine)
public:
wxShapeTextLine(double the_x = 0.0, double the_y = 0.0, const wxString& the_line = "");
~wxShapeTextLine();
inline double GetX() const { return m_x; }
inline double GetY() const { return m_y; }
inline void SetX(double x) { m_x = x; }
inline void SetY(double y) { m_y = y; }
inline void SetText(const wxString& text) { m_line = text; }
inline wxString GetText() const { return m_line; }
protected:
wxString m_line;
double m_x;
double m_y;
};
class wxShape;
class wxControlPoint: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxControlPoint)
friend class wxShapeEvtHandler;
friend class wxShape;
public:
wxControlPoint(wxShapeCanvas *the_canvas = NULL, wxShape *object = NULL, double size = 0.0, double the_xoffset = 0.0,
double the_yoffset = 0.0, int the_type = 0);
~wxControlPoint();
void OnDraw(wxDC& dc);
void OnErase(wxDC& dc);
void OnDrawContents(wxDC& dc);
void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
bool GetAttachmentPosition(int attachment, double *x, double *y,
int nth = 0, int no_arcs = 1, wxLineShape *line = NULL);
int GetNumberOfAttachments() const;
inline void SetEraseObject(bool er) { m_eraseObject = er; }
public:
int m_type;
double m_xoffset;
double m_yoffset;
wxShape* m_shape;
wxCursor* m_oldCursor;
bool m_eraseObject; // If TRUE, erases object before dragging handle.
/*
* Store original top-left, bottom-right coordinates
* in case we're doing non-vertical resizing.
*/
static double sm_controlPointDragStartX;
static double sm_controlPointDragStartY;
static double sm_controlPointDragStartWidth;
static double sm_controlPointDragStartHeight;
static double sm_controlPointDragEndWidth;
static double sm_controlPointDragEndHeight;
static double sm_controlPointDragPosX;
static double sm_controlPointDragPosY;
};
class wxPolygonShape;
class wxPolygonControlPoint: public wxControlPoint
{
DECLARE_DYNAMIC_CLASS(wxPolygonControlPoint)
friend class wxPolygonShape;
public:
wxPolygonControlPoint(wxShapeCanvas *the_canvas = NULL, wxShape *object = NULL, double size = 0.0, wxRealPoint *vertex = NULL,
double the_xoffset = 0.0, double the_yoffset = 0.0);
~wxPolygonControlPoint();
void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
// Calculate what new size would be, at end of resize
virtual void CalculateNewSize(double x, double y);
// Get new size
inline wxRealPoint GetNewSize() const { return m_newSize; };
public:
wxRealPoint* m_polygonVertex;
wxRealPoint m_originalSize;
double m_originalDistance;
wxRealPoint m_newSize;
};
/*
* Object regions.
* Every shape has one or more text regions with various
* properties. Not all of a region's properties will be used
* by a shape.
*
*/
class wxShapeRegion: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxShapeRegion)
public:
// Constructor
wxShapeRegion();
// Copy constructor
wxShapeRegion(wxShapeRegion& region);
// Destructor
~wxShapeRegion();
// Accessors
inline void SetText(const wxString& s) { m_regionText = s; }
void SetFont(wxFont *f);
void SetMinSize(double w, double h);
void SetSize(double w, double h);
void SetPosition(double x, double y);
void SetProportions(double x, double y);
void SetFormatMode(int mode);
inline void SetName(const wxString& s) { m_regionName = s; };
void SetColour(const wxString& col); // Text colour
inline wxString GetText() const { return m_regionText; }
inline wxFont *GetFont() const { return m_font; }
inline void GetMinSize(double *x, double *y) const { *x = m_minWidth; *y = m_minHeight; }
inline void GetProportion(double *x, double *y) const { *x = m_regionProportionX; *y = m_regionProportionY; }
inline void GetSize(double *x, double *y) const { *x = m_width; *y = m_height; }
inline void GetPosition(double *xp, double *yp) const { *xp = m_x; *yp = m_y; }
inline int GetFormatMode() const { return m_formatMode; }
inline wxString GetName() const { return m_regionName; }
inline wxString GetColour() const { return m_textColour; }
wxColour *GetActualColourObject();
inline wxList& GetFormattedText() { return m_formattedText; }
inline wxString GetPenColour() const { return m_penColour; }
inline int GetPenStyle() const { return m_penStyle; }
inline void SetPenStyle(int style) { m_penStyle = style; m_actualPenObject = NULL; }
void SetPenColour(const wxString& col);
wxPen *GetActualPen();
inline double GetWidth() const { return m_width; }
inline double GetHeight() const { return m_height; }
void ClearText();
public:
wxString m_regionText;
wxList m_formattedText; // List of wxShapeTextLines
wxFont* m_font;
double m_minHeight; // If zero, hide region.
double m_minWidth; // If zero, hide region.
double m_width;
double m_height;
double m_x;
double m_y;
double m_regionProportionX; // Proportion of total object size;
// -1.0 indicates equal proportion
double m_regionProportionY; // Proportion of total object size;
// -1.0 indicates equal proportion
int m_formatMode; // FORMAT_CENTRE_HORIZ | FORMAT_CENTRE_VERT | FORMAT_NONE
wxString m_regionName;
wxString m_textColour;
wxColour* m_actualColourObject; // For speed purposes
// New members for specifying divided rectangle division colour/style 30/6/94
wxString m_penColour;
int m_penStyle;
wxPen* m_actualPenObject;
};
/*
* User-defined attachment point
*/
class wxAttachmentPoint: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxAttachmentPoint)
public:
inline wxAttachmentPoint()
{
m_id = 0; m_x = 0.0; m_y = 0.0;
}
inline wxAttachmentPoint(int id, double x, double y)
{
m_id = id; m_x = x; m_y = y;
}
public:
int m_id; // Identifier
double m_x; // x offset from centre of object
double m_y; // y offset from centre of object
};
#endif
// _OGL_BASICP_H_

View File

@@ -0,0 +1,53 @@
/////////////////////////////////////////////////////////////////////////////
// Name: bmpshape.h
// Purpose: wxBitmapShape
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_BITMAP_H_
#define _OGL_BITMAP_H_
#ifdef __GNUG__
#pragma interface "bmpshape.h"
#endif
#include <wx/ogl/basic.h>
class wxBitmapShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxBitmapShape)
public:
wxBitmapShape();
~wxBitmapShape();
void OnDraw(wxDC& dc);
#ifdef PROLOGIO
// I/O
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
// Does the copying for this object
void Copy(wxShape& copy);
void SetSize(double w, double h, bool recursive = TRUE);
inline wxBitmap& GetBitmap() const { return (wxBitmap&) m_bitmap; }
void SetBitmap(const wxBitmap& bm);
inline void SetFilename(const wxString& f) { m_filename = f; };
inline wxString GetFilename() const { return m_filename; }
private:
wxBitmap m_bitmap;
wxString m_filename;
};
#endif
// _OGL_BITMAP_H_

View File

@@ -0,0 +1,83 @@
/////////////////////////////////////////////////////////////////////////////
// Name: canvas.h
// Purpose: wxShapeCanvas
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_CANVAS_H_
#define _OGL_CANVAS_H_
#ifdef __GNUG__
#pragma interface "canvas.h"
#endif
// Drag states
#define NoDragging 0
#define StartDraggingLeft 1
#define ContinueDraggingLeft 2
#define StartDraggingRight 3
#define ContinueDraggingRight 4
// When drag_count reaches 0, process drag message
class wxDiagram;
class wxShapeCanvas: public wxScrolledWindow
{
DECLARE_DYNAMIC_CLASS(wxShapeCanvas)
public:
wxShapeCanvas(wxWindow *parent = NULL, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxBORDER | wxRETAINED);
~wxShapeCanvas();
inline void SetDiagram(wxDiagram *diag) { m_shapeDiagram = diag; }
inline wxDiagram *GetDiagram() const { return m_shapeDiagram; }
virtual void OnLeftClick(double x, double y, int keys = 0);
virtual void OnRightClick(double x, double y, int keys = 0);
virtual void OnDragLeft(bool draw, double x, double y, int keys=0); // Erase if draw false
virtual void OnBeginDragLeft(double x, double y, int keys=0);
virtual void OnEndDragLeft(double x, double y, int keys=0);
virtual void OnDragRight(bool draw, double x, double y, int keys=0); // Erase if draw false
virtual void OnBeginDragRight(double x, double y, int keys=0);
virtual void OnEndDragRight(double x, double y, int keys=0);
// Find object for mouse click, of given wxClassInfo (NULL for any type).
// If notImage is non-NULL, don't find an object that is equal to or a descendant of notImage
virtual wxShape *FindShape(double x, double y, int *attachment, wxClassInfo *info = NULL, wxShape *notImage = NULL);
wxShape *FindFirstSensitiveShape(double x, double y, int *new_attachment, int op);
wxShape *FindFirstSensitiveShape1(wxShape *image, int op);
// Redirect to wxDiagram object
virtual void AddShape(wxShape *object, wxShape *addAfter = NULL);
virtual void InsertShape(wxShape *object);
virtual void RemoveShape(wxShape *object);
virtual bool GetQuickEditMode();
virtual void Redraw(wxDC& dc);
void Snap(double *x, double *y);
// Events
void OnPaint(wxPaintEvent& event);
void OnMouseEvent(wxMouseEvent& event);
protected:
wxDiagram* m_shapeDiagram;
int m_dragState;
double m_oldDragX, m_oldDragY; // Previous drag coordinates
double m_firstDragX, m_firstDragY; // INITIAL drag coordinates
bool m_checkTolerance; // Whether to check drag tolerance
wxShape* m_draggedShape;
int m_draggedAttachment;
DECLARE_EVENT_TABLE()
};
#endif
// _OGL_CANVAS_H_

View File

@@ -0,0 +1,238 @@
/////////////////////////////////////////////////////////////////////////////
// Name: composit.h
// Purpose: wxCompositeShape
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_COMPOSIT_H_
#define _OGL_COMPOSIT_H_
#ifdef __GNUG__
#pragma interface "composit.h"
#endif
class wxDivisionShape;
class wxOGLConstraint;
/*
* A composite object is an invisible rectangle surrounding all children
*
*/
class wxCompositeShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxCompositeShape)
public:
wxCompositeShape();
~wxCompositeShape();
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
void OnErase(wxDC& dc);
bool OnMovePre(wxDC& dc, double x, double y, double oldX, double oldY, bool display = TRUE);
void OnDragLeft(bool draw, double x, double y, int keys, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys, int attachment = 0);
void OnRightClick(double x, double y, int keys, int attachment = 0);
void SetSize(double w, double h, bool recursive = TRUE);
// Returns TRUE if it settled down
bool Recompute();
// New members
void AddChild(wxShape *child, wxShape *addAfter = NULL);
void RemoveChild(wxShape *child);
wxOGLConstraint *AddConstraint(wxOGLConstraint *constraint);
wxOGLConstraint *AddConstraint(int type, wxShape *constraining, wxList& constrained);
wxOGLConstraint *AddConstraint(int type, wxShape *constraining, wxShape *constrained);
void DeleteConstraint(wxOGLConstraint *constraint);
// Delete constraints that involve this child.
void DeleteConstraintsInvolvingChild(wxShape *child);
// Remove the image from any constraints involving it, but DON'T
// remove any constraints.
void RemoveChildFromConstraints(wxShape *child);
// Find constraint, also returning actual composite the constraint was in,
// in case it had to find it recursively.
wxOGLConstraint *FindConstraint(long id, wxCompositeShape **actualComposite = NULL);
// Returns TRUE if something changed
bool Constrain();
// Make this composite into a container by creating one wxDivisionShape
void MakeContainer();
// Calculates size and position of composite object based on children
void CalculateSize();
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
// In case the object has constraints it needs to read in in a different pass
void ReadConstraints(wxExpr *clause, wxExprDatabase *database);
#endif
// Does the copying for this object
void Copy(wxShape& copy);
virtual wxDivisionShape *OnCreateDivision();
// Finds the image used to visualize a container. This is any child
// of the composite that is not in the divisions list.
wxShape *FindContainerImage();
// Returns TRUE if division is a descendant of this container
bool ContainsDivision(wxDivisionShape *division);
inline wxList& GetDivisions() const { return (wxList&) m_divisions; }
inline wxList& GetConstraints() const { return (wxList&) m_constraints; }
protected:
double m_oldX;
double m_oldY;
wxList m_constraints;
wxList m_divisions; // In case it's a container
};
/*
* A division object is a composite with special properties,
* to be used for containment. It's a subdivision of a container.
* A containing node image consists of a composite with a main child shape
* such as rounded rectangle, plus a list of division objects.
* It needs to be a composite because a division contains pieces
* of diagram.
* NOTE a container has at least one wxDivisionShape for consistency.
* This can be subdivided, so it turns into two objects, then each of
* these can be subdivided, etc.
*/
#define DIVISION_SIDE_NONE 0
#define DIVISION_SIDE_LEFT 1
#define DIVISION_SIDE_TOP 2
#define DIVISION_SIDE_RIGHT 3
#define DIVISION_SIDE_BOTTOM 4
class wxDivisionShape: public wxCompositeShape
{
DECLARE_DYNAMIC_CLASS(wxDivisionShape)
public:
wxDivisionShape();
~wxDivisionShape();
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
bool OnMovePre(wxDC& dc, double x, double y, double oldX, double oldY, bool display = TRUE);
void OnDragLeft(bool draw, double x, double y, int keys, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys, int attachment = 0);
void OnRightClick(double x, double y, int keys = 0, int attachment = 0);
// Don't want this kind of composite to resize its subdiagrams, so
// override composite's SetSize.
void SetSize(double w, double h, bool recursive = TRUE);
// Similarly for calculating size: it's fixed at whatever SetSize
// set it to, not in terms of children.
void CalculateSize();
void MakeControlPoints();
void ResetControlPoints();
void MakeMandatoryControlPoints();
void ResetMandatoryControlPoints();
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
// Does the copying for this object
void Copy(wxShape& copy);
// Divide horizontally (wxHORIZONTAL) or vertically (wxVERTICAL)
bool Divide(int direction);
// Resize adjoining divisions at the given side. If test is TRUE,
// just see whether it's possible for each adjoining region,
// returning FALSE if it's not.
bool ResizeAdjoining(int side, double newPos, bool test);
// Adjust a side, returning FALSE if it's not physically possible.
bool AdjustLeft(double left, bool test);
bool AdjustTop(double top, bool test);
bool AdjustRight(double right, bool test);
bool AdjustBottom(double bottom, bool test);
// Edit style of left or top side
void EditEdge(int side);
// Popup menu
void PopupMenu(double x, double y);
inline void SetLeftSide(wxDivisionShape *shape) { m_leftSide = shape; }
inline void SetTopSide(wxDivisionShape *shape) { m_topSide = shape; }
inline void SetRightSide(wxDivisionShape *shape) { m_rightSide = shape; }
inline void SetBottomSide(wxDivisionShape *shape) { m_bottomSide = shape; }
inline wxDivisionShape *GetLeftSide() const { return m_leftSide; }
inline wxDivisionShape *GetTopSide() const { return m_topSide; }
inline wxDivisionShape *GetRightSide() const { return m_rightSide; }
inline wxDivisionShape *GetBottomSide() const { return m_bottomSide; }
inline void SetHandleSide(int side) { m_handleSide = side; }
inline int GetHandleSide() const { return m_handleSide; }
inline void SetLeftSidePen(wxPen *pen) { m_leftSidePen = pen; }
inline wxPen *GetLeftSidePen() const { return m_leftSidePen; }
inline void SetTopSidePen(wxPen *pen) { m_topSidePen = pen; }
inline wxPen *GetTopSidePen() const { return m_topSidePen; }
void SetLeftSideColour(const wxString& colour);
void SetTopSideColour(const wxString& colour);
void SetLeftSideStyle(const wxString& style);
void SetTopSideStyle(const wxString& style);
inline wxString GetLeftSideColour() const { return m_leftSideColour; }
inline wxString GetTopSideColour() const { return m_topSideColour; }
inline wxString GetLeftSideStyle() const { return m_leftSideStyle; }
inline wxString GetTopSideStyle() const { return m_topSideStyle; }
protected:
// Adjoining divisions. NULL indicates edge
// of container, and that side shouldn't be
// drawn.
wxDivisionShape* m_leftSide;
wxDivisionShape* m_rightSide;
wxDivisionShape* m_topSide;
wxDivisionShape* m_bottomSide;
int m_handleSide; // Side at which handle is legal
wxPen* m_leftSidePen;
wxPen* m_topSidePen;
wxString m_leftSideColour;
wxString m_topSideColour;
wxString m_leftSideStyle;
wxString m_topSideStyle;
};
#define DIVISION_MENU_SPLIT_HORIZONTALLY 1
#define DIVISION_MENU_SPLIT_VERTICALLY 2
#define DIVISION_MENU_EDIT_LEFT_EDGE 3
#define DIVISION_MENU_EDIT_TOP_EDGE 4
#define DIVISION_MENU_EDIT_RIGHT_EDGE 5
#define DIVISION_MENU_EDIT_BOTTOM_EDGE 6
#define DIVISION_MENU_DELETE_ALL 7
#endif
// _OGL_COMPOSIT_H_

View File

@@ -0,0 +1,87 @@
/////////////////////////////////////////////////////////////////////////////
// Name: constrnt.h
// Purpose: OGL constraint definitions
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_CONSTRNT_H_
#define _OGL_CONSTRNT_H_
#ifdef __GNUG__
#pragma interface "constrnt.h"
#endif
/*
* OGL Constraints
*
*/
class wxOGLConstraintType: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxOGLConstraintType)
public:
wxOGLConstraintType(int type = 0, const wxString& name = "", const wxString& phrase = "");
~wxOGLConstraintType();
public:
int m_type; // E.g. gyCONSTRAINT_CENTRED_VERTICALLY
wxString m_name; // E.g. "Centre vertically"
wxString m_phrase; // E.g. "centred vertically with respect to", "left of"
};
extern wxList* wxOGLConstraintTypes;
#define gyCONSTRAINT_CENTRED_VERTICALLY 1
#define gyCONSTRAINT_CENTRED_HORIZONTALLY 2
#define gyCONSTRAINT_CENTRED_BOTH 3
#define gyCONSTRAINT_LEFT_OF 4
#define gyCONSTRAINT_RIGHT_OF 5
#define gyCONSTRAINT_ABOVE 6
#define gyCONSTRAINT_BELOW 7
#define gyCONSTRAINT_ALIGNED_TOP 8
#define gyCONSTRAINT_ALIGNED_BOTTOM 9
#define gyCONSTRAINT_ALIGNED_LEFT 10
#define gyCONSTRAINT_ALIGNED_RIGHT 11
// Like aligned, but with the objects centred on the respective edge
// of the reference object.
#define gyCONSTRAINT_MIDALIGNED_TOP 12
#define gyCONSTRAINT_MIDALIGNED_BOTTOM 13
#define gyCONSTRAINT_MIDALIGNED_LEFT 14
#define gyCONSTRAINT_MIDALIGNED_RIGHT 15
class wxOGLConstraint: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxOGLConstraint)
public:
wxOGLConstraint() { m_xSpacing = 0.0; m_ySpacing = 0.0; m_constraintType = 0; m_constraintName = ""; m_constraintId = 0;
m_constrainingObject = NULL; }
wxOGLConstraint(int type, wxShape *constraining, wxList& constrained);
~wxOGLConstraint();
// Returns TRUE if anything changed
bool Evaluate();
inline void SetSpacing(double x, double y) { m_xSpacing = x; m_ySpacing = y; };
bool Equals(double a, double b);
double m_xSpacing;
double m_ySpacing;
int m_constraintType;
wxString m_constraintName;
long m_constraintId;
wxShape* m_constrainingObject;
wxList m_constrainedObjects;
};
void OGLInitializeConstraintTypes();
void OGLCleanUpConstraintTypes();
#endif
// _OGL_CONSTRNT_H_

View File

@@ -0,0 +1,75 @@
/////////////////////////////////////////////////////////////////////////////
// Name: divided.h
// Purpose: wxDividedShape
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_DIVIDED_H_
#define _OGL_DIVIDED_H_
#ifdef __GNUG__
#pragma interface "basic.h"
#endif
/*
* Definition of a region
*
*/
/*
* Box divided into horizontal regions
*
*/
extern wxFont *g_oglNormalFont;
class wxDividedShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxDividedShape)
public:
wxDividedShape(double w = 0.0, double h = 0.0);
~wxDividedShape();
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
void SetSize(double w, double h, bool recursive = TRUE);
void MakeControlPoints();
void ResetControlPoints();
void MakeMandatoryControlPoints();
void ResetMandatoryControlPoints();
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
void Copy(wxShape &copy);
// Set all region sizes according to proportions and
// this object total size
void SetRegionSizes();
// Edit region colours/styles
void EditRegions();
// Attachment points correspond to regions in the divided box
bool GetAttachmentPosition(int attachment, double *x, double *y,
int nth = 0, int no_arcs = 1, wxLineShape *line = NULL);
bool AttachmentIsValid(int attachment);
int GetNumberOfAttachments() const;
// Invoke editor on CTRL-right click
void OnRightClick(double x, double y, int keys = 0, int attachment = 0);
};
#endif
// _OGL_DIVIDED_H_

View File

@@ -0,0 +1,227 @@
/////////////////////////////////////////////////////////////////////////////
// Name: drawn.h
// Purpose: wxDrawnShape
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_DRAWN_H_
#define _OGL_DRAWN_H_
#ifdef __GNUG__
#pragma interface "drawn.h"
#endif
#include <wx/ogl/basic.h>
#define oglMETAFLAGS_OUTLINE 1
#define oglMETAFLAGS_ATTACHMENTS 2
class wxDrawnShape;
class wxPseudoMetaFile: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxPseudoMetaFile)
public:
wxPseudoMetaFile();
wxPseudoMetaFile(wxPseudoMetaFile& mf);
~wxPseudoMetaFile();
void Draw(wxDC& dc, double xoffset, double yoffset);
#ifdef PROLOGIO
void WriteAttributes(wxExpr *clause, int whichAngle);
void ReadAttributes(wxExpr *clause, int whichAngle);
#endif
void Clear();
void Copy(wxPseudoMetaFile& copy);
void Scale(double sx, double sy);
void ScaleTo(double w, double h); // Scale to fit size
void Translate(double x, double y);
// Rotate about the given axis by theta radians from the x axis.
void Rotate(double x, double y, double theta);
bool LoadFromMetaFile(char *filename, double *width, double *height);
void GetBounds(double *minX, double *minY, double *maxX, double *maxY);
// Calculate size from current operations
void CalculateSize(wxDrawnShape* shape);
inline wxList& GetOutlineColours() const { return (wxList&) m_outlineColours; }
inline wxList& GetFillColours() const { return (wxList&) m_fillColours; }
inline void SetRotateable(bool rot) { m_rotateable = rot; }
inline bool GetRotateable() const { return m_rotateable; }
inline void SetSize(double w, double h) { m_width = w; m_height = h; }
inline void SetFillBrush(wxBrush* brush) { m_fillBrush = brush; }
inline wxBrush* GetFillBrush() const { return m_fillBrush; }
inline void SetOutlinePen(wxPen* pen) { m_outlinePen = pen; }
inline wxPen* GetOutlinePen() const { return m_outlinePen; }
inline void SetOutlineOp(int op) { m_outlineOp = op; }
inline int GetOutlineOp() const { return m_outlineOp; }
inline wxList& GetOps() const { return (wxList&) m_ops; }
// Is this a valid (non-empty) metafile?
inline bool IsValid() const { return (m_ops.Number() > 0); }
public:
/// Set of functions for drawing into a pseudo metafile.
/// They use integers, but doubles are used internally for accuracy
/// when scaling.
virtual void DrawLine(const wxPoint& pt1, const wxPoint& pt2);
virtual void DrawRectangle(const wxRect& rect);
virtual void DrawRoundedRectangle(const wxRect& rect, double radius);
virtual void DrawArc(const wxPoint& centrePt, const wxPoint& startPt, const wxPoint& endPt);
virtual void DrawEllipticArc(const wxRect& rect, double startAngle, double endAngle);
virtual void DrawEllipse(const wxRect& rect);
virtual void DrawPoint(const wxPoint& pt);
virtual void DrawText(const wxString& text, const wxPoint& pt);
virtual void DrawLines(int n, wxPoint pts[]);
// flags:
// oglMETAFLAGS_OUTLINE: will be used for drawing the outline and
// also drawing lines/arrows at the circumference.
// oglMETAFLAGS_ATTACHMENTS: will be used for initialising attachment points at
// the vertices (perhaps a rare case...)
virtual void DrawPolygon(int n, wxPoint pts[], int flags = 0);
virtual void DrawSpline(int n, wxPoint pts[]);
virtual void SetClippingRect(const wxRect& rect);
virtual void DestroyClippingRect();
virtual void SetPen(wxPen* pen, bool isOutline = FALSE); // TODO: eventually, just store GDI object attributes, not actual
virtual void SetBrush(wxBrush* brush, bool isFill = FALSE); // pens/brushes etc.
virtual void SetFont(wxFont* font);
virtual void SetTextColour(const wxColour& colour);
virtual void SetBackgroundColour(const wxColour& colour);
virtual void SetBackgroundMode(int mode);
public:
bool m_rotateable;
double m_width;
double m_height;
wxList m_ops; // List of drawing operations (see drawnp.h)
wxList m_gdiObjects; // List of pens, brushes and fonts for this object.
int m_outlineOp; // The op representing the outline, if any
// Pen/brush specifying outline/fill colours
// to override operations.
wxPen* m_outlinePen;
wxBrush* m_fillBrush;
wxList m_outlineColours; // List of the GDI operations that comprise the outline
wxList m_fillColours; // List of the GDI operations that fill the shape
double m_currentRotation;
};
#define oglDRAWN_ANGLE_0 0
#define oglDRAWN_ANGLE_90 1
#define oglDRAWN_ANGLE_180 2
#define oglDRAWN_ANGLE_270 3
class wxDrawnShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxDrawnShape)
public:
wxDrawnShape();
~wxDrawnShape();
void OnDraw(wxDC& dc);
#ifdef PROLOGIO
// I/O
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif
// Does the copying for this object
void Copy(wxShape& copy);
void Scale(double sx, double sy);
void Translate(double x, double y);
// Rotate about the given axis by theta radians from the x axis.
void Rotate(double x, double y, double theta);
// Get current rotation
inline double GetRotation() const { return m_rotation; }
void SetSize(double w, double h, bool recursive = TRUE);
bool LoadFromMetaFile(char *filename);
inline void SetSaveToFile(bool save) { m_saveToFile = save; }
inline wxPseudoMetaFile& GetMetaFile(int which = 0) const { return (wxPseudoMetaFile&) m_metafiles[which]; }
void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
// Get the perimeter point using the special outline op, if there is one,
// otherwise use default wxRectangleShape scheme
bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3);
/// Set of functions for drawing into a pseudo metafile.
/// They use integers, but doubles are used internally for accuracy
/// when scaling.
virtual void DrawLine(const wxPoint& pt1, const wxPoint& pt2);
virtual void DrawRectangle(const wxRect& rect);
virtual void DrawRoundedRectangle(const wxRect& rect, double radius);
virtual void DrawArc(const wxPoint& centrePt, const wxPoint& startPt, const wxPoint& endPt);
virtual void DrawEllipticArc(const wxRect& rect, double startAngle, double endAngle);
virtual void DrawEllipse(const wxRect& rect);
virtual void DrawPoint(const wxPoint& pt);
virtual void DrawText(const wxString& text, const wxPoint& pt);
virtual void DrawLines(int n, wxPoint pts[]);
virtual void DrawPolygon(int n, wxPoint pts[], int flags = 0);
virtual void DrawSpline(int n, wxPoint pts[]);
virtual void SetClippingRect(const wxRect& rect);
virtual void DestroyClippingRect();
virtual void SetDrawnPen(wxPen* pen, bool isOutline = FALSE); // TODO: eventually, just store GDI object attributes, not actual
virtual void SetDrawnBrush(wxBrush* brush, bool isFill = FALSE); // pens/brushes etc.
virtual void SetDrawnFont(wxFont* font);
virtual void SetDrawnTextColour(const wxColour& colour);
virtual void SetDrawnBackgroundColour(const wxColour& colour);
virtual void SetDrawnBackgroundMode(int mode);
// Set the width/height according to the shapes in the metafile.
// Call this after drawing into the shape.
inline void CalculateSize() { m_metafiles[m_currentAngle].CalculateSize(this); }
inline void DrawAtAngle(int angle) { m_currentAngle = angle; };
inline int GetAngle() const { return m_currentAngle; }
// Implementation
protected:
// Which metafile do we use now? Based on current rotation and validity
// of metafiles.
int DetermineMetaFile(double rotation);
private:
// One metafile for each 90 degree rotation (or just a single one).
wxPseudoMetaFile m_metafiles[4];
// Don't save all wxDrawnShape metafiles to file: sometimes
// we take the metafile data from a symbol library.
bool m_saveToFile;
// Which angle are we using/drawing into?
int m_currentAngle;
};
#endif
// _DRAWN_H_

View File

@@ -0,0 +1,205 @@
/////////////////////////////////////////////////////////////////////////////
// Name: drawnp.h
// Purpose: Private header for wxDrawnShape
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_DRAWNP_H_
#define _OGL_DRAWNP_H_
#ifdef __GNUG__
#pragma interface "drawnp.h"
#endif
#include <wx/ogl/drawn.h>
/*
* Drawing operations
*
*/
#define DRAWOP_SET_PEN 1
#define DRAWOP_SET_BRUSH 2
#define DRAWOP_SET_FONT 3
#define DRAWOP_SET_TEXT_COLOUR 4
#define DRAWOP_SET_BK_COLOUR 5
#define DRAWOP_SET_BK_MODE 6
#define DRAWOP_SET_CLIPPING_RECT 7
#define DRAWOP_DESTROY_CLIPPING_RECT 8
/*
#define DRAWOP_CREATE_PEN 10
#define DRAWOP_CREATE_BRUSH 11
#define DRAWOP_CREATE_FONT 12
*/
#define DRAWOP_DRAW_LINE 20
#define DRAWOP_DRAW_POLYLINE 21
#define DRAWOP_DRAW_POLYGON 22
#define DRAWOP_DRAW_RECT 23
#define DRAWOP_DRAW_ROUNDED_RECT 24
#define DRAWOP_DRAW_ELLIPSE 25
#define DRAWOP_DRAW_POINT 26
#define DRAWOP_DRAW_ARC 27
#define DRAWOP_DRAW_TEXT 28
#define DRAWOP_DRAW_SPLINE 29
#define DRAWOP_DRAW_ELLIPTIC_ARC 30
/*
* Base, virtual class
*
*/
class wxDrawOp: public wxObject
{
public:
inline wxDrawOp(int theOp) { m_op = theOp; }
inline ~wxDrawOp() {}
inline virtual void Scale(double xScale, double yScale) {};
inline virtual void Translate(double x, double y) {};
inline virtual void Rotate(double x, double y, double theta, double sinTheta, double cosTheta) {};
virtual void Do(wxDC& dc, double xoffset, double yoffset) = 0;
virtual wxDrawOp *Copy(wxPseudoMetaFile *newImage) = 0;
virtual wxExpr *WriteExpr(wxPseudoMetaFile *image) = 0;
virtual void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr) = 0;
inline int GetOp() const { return m_op; }
// Draw an outline using the current operation. By default, return FALSE (not drawn)
virtual bool OnDrawOutline(wxDC& dc, double x, double y, double w, double h,
double oldW, double oldH) { return FALSE; }
// Get the perimeter point using this data
virtual bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3,
double xOffset, double yOffset,
int attachmentMode)
{ return FALSE; }
protected:
int m_op;
};
/*
* Set font, brush, text colour
*
*/
class wxOpSetGDI: public wxDrawOp
{
public:
wxOpSetGDI(int theOp, wxPseudoMetaFile *theImage, int theGdiIndex, int theMode = 0);
void Do(wxDC& dc, double xoffset, double yoffset);
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
wxExpr *WriteExpr(wxPseudoMetaFile *image);
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
public:
int m_mode;
int m_gdiIndex;
wxPseudoMetaFile* m_image;
unsigned char m_r;
unsigned char m_g;
unsigned char m_b;
};
/*
* Set/destroy clipping
*
*/
class wxOpSetClipping: public wxDrawOp
{
public:
wxOpSetClipping(int theOp, double theX1, double theY1, double theX2, double theY2);
void Do(wxDC& dc, double xoffset, double yoffset);
void Scale(double xScale, double yScale);
void Translate(double x, double y);
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
wxExpr *WriteExpr(wxPseudoMetaFile *image);
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
public:
double m_x1;
double m_y1;
double m_x2;
double m_y2;
};
/*
* Draw line, rectangle, rounded rectangle, ellipse, point, arc, text
*
*/
class wxOpDraw: public wxDrawOp
{
public:
wxOpDraw(int theOp, double theX1, double theY1, double theX2, double theY2,
double radius = 0.0, char *s = NULL);
~wxOpDraw();
void Do(wxDC& dc, double xoffset, double yoffset);
void Scale(double scaleX, double scaleY);
void Translate(double x, double y);
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
wxExpr *WriteExpr(wxPseudoMetaFile *image);
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
public:
double m_x1;
double m_y1;
double m_x2;
double m_y2;
double m_x3;
double m_y3;
double m_radius;
char* m_textString;
};
/*
* Draw polyline, spline, polygon
*
*/
class wxOpPolyDraw: public wxDrawOp
{
public:
wxOpPolyDraw(int theOp, int n, wxRealPoint *thePoints);
~wxOpPolyDraw();
void Do(wxDC& dc, double xoffset, double yoffset);
void Scale(double scaleX, double scaleY);
void Translate(double x, double y);
void Rotate(double x, double y, double theta, double sinTheta, double cosTheta);
wxDrawOp *Copy(wxPseudoMetaFile *newImage);
wxExpr *WriteExpr(wxPseudoMetaFile *image);
void ReadExpr(wxPseudoMetaFile *image, wxExpr *expr);
// Draw an outline using the current operation.
virtual bool OnDrawOutline(wxDC& dc, double x, double y, double w, double h,
double oldW, double oldH);
// Get the perimeter point using this data
bool GetPerimeterPoint(double x1, double y1,
double x2, double y2,
double *x3, double *y3,
double xOffset, double yOffset,
int attachmentMode);
public:
wxRealPoint* m_points;
int m_noPoints;
};
#endif
// _OGL_DRAWNP_H_

View File

@@ -0,0 +1,296 @@
/////////////////////////////////////////////////////////////////////////////
// Name: lines.h
// Purpose: wxLineShape
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_LINES_H_
#define _OGL_LINES_H_
#ifdef __GNUG__
#pragma interface "lines.h"
#endif
class wxLabelShape;
class wxPseudoMetaFile;
class wxLineControlPoint;
/*
* Arcs with multiple arrowheads
*
*/
// Types of arrowhead
// (i) Built-in
#define ARROW_HOLLOW_CIRCLE 1
#define ARROW_FILLED_CIRCLE 2
#define ARROW_ARROW 3
#define ARROW_SINGLE_OBLIQUE 4
#define ARROW_DOUBLE_OBLIQUE 5
// (ii) Custom
#define ARROW_METAFILE 20
// Position of arrow on line
#define ARROW_POSITION_START 0
#define ARROW_POSITION_END 1
#define ARROW_POSITION_MIDDLE 2
// Line alignment flags
// Vertical by default
#define LINE_ALIGNMENT_HORIZ 1
#define LINE_ALIGNMENT_VERT 0
#define LINE_ALIGNMENT_TO_NEXT_HANDLE 2
#define LINE_ALIGNMENT_NONE 0
class wxArrowHead: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxArrowHead)
public:
wxArrowHead(WXTYPE type = 0, int end = 0, double size = 0.0, double dist = 0.0, const wxString& name = "", wxPseudoMetaFile *mf = NULL,
long arrowId = -1);
~wxArrowHead();
wxArrowHead(wxArrowHead& toCopy);
inline WXTYPE _GetType() const { return m_arrowType; }
inline int GetPosition() const { return m_arrowEnd; }
inline void SetPosition(int pos) { m_arrowEnd = pos; }
inline double GetXOffset() const { return m_xOffset; }
inline double GetYOffset() const { return m_yOffset; }
inline double GetSpacing() const { return m_spacing; }
inline double GetSize() const { return m_arrowSize; }
inline wxString GetName() const { return m_arrowName; }
inline void SetXOffset(double x) { m_xOffset = x; }
inline void SetYOffset(double y) { m_yOffset = y; }
inline wxPseudoMetaFile *GetMetaFile() const { return m_metaFile; }
inline long GetId() const { return m_id; }
inline int GetArrowEnd() const { return m_arrowEnd; }
inline double GetArrowSize() const { return m_arrowSize; }
void SetSize(double size);
inline void SetSpacing(double sp) { m_spacing = sp; }
protected:
WXTYPE m_arrowType;
int m_arrowEnd; // Position on line
double m_xOffset; // Distance from arc start or end, w.r.t. point on arrowhead
// nearest start or end. If zero, use default spacing.
double m_yOffset; // vertical offset (w.r.t. a horizontal line). Normally zero.
double m_spacing; // Spacing from the last arrowhead
double m_arrowSize; // Length of arrowhead
wxString m_arrowName; // Name of arrow
bool m_saveToFile; // TRUE if we want to save custom arrowheads to file.
wxPseudoMetaFile* m_metaFile; // Pseudo metafile if this is a custom arrowhead
long m_id; // identifier
};
// Line object
class wxLabelShape;
class wxLineShape: public wxShape
{
DECLARE_DYNAMIC_CLASS(wxLineShape)
public:
wxLineShape();
~wxLineShape();
// Called when a connected object has moved, to move the link to
// correct position
// moveControlPoints must be disabled when a control point is being
// dragged.
void OnMoveLink(wxDC& dc, bool moveControlPoints = TRUE);
bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
void OnDrawControlPoints(wxDC& dc);
void OnEraseControlPoints(wxDC& dc);
void OnErase(wxDC& dc);
virtual bool OnMoveControlPoint(int WXUNUSED(which), double WXUNUSED(x), double WXUNUSED(y)) { return FALSE; }
virtual bool OnMoveMiddleControlPoint(wxDC& dc, wxLineControlPoint* lpt, const wxRealPoint& pt);
virtual bool OnLabelMovePre(wxDC& dc, wxLabelShape* labelShape, double x, double y, double old_x, double old_y, bool display);
void OnDrawOutline(wxDC& dc, double x, double y, double w, double h);
void GetBoundingBoxMin(double *w, double *h);
void FormatText(wxDC& dc, const wxString& s, int regionId = 0);
virtual void SetEnds(double x1, double y1, double x2, double y2);
virtual void GetEnds(double *x1, double *y1, double *x2, double *y2);
inline virtual wxShape *GetFrom() { return m_from; }
inline virtual wxShape *GetTo() { return m_to; }
inline virtual int GetAttachmentFrom() { return m_attachmentFrom; }
inline virtual int GetAttachmentTo() { return m_attachmentTo; }
virtual void SetFrom(wxShape *object);
virtual void SetTo(wxShape *object);
virtual void DrawArrows(wxDC& dc);
// Finds the x, y points at the two ends of the line.
// This function can be used by e.g. line-routing routines to
// get the actual points on the two node images where the lines will be drawn
// to/from.
void FindLineEndPoints(double *fromX, double *fromY, double *toX, double *toY);
// Format one region at this position
void DrawRegion(wxDC& dc, wxShapeRegion *region, double x, double y);
// Erase one region at this position
void EraseRegion(wxDC& dc, wxShapeRegion *region, double x, double y);
// Get the reference point for a label. Region x and y
// are offsets from this.
// position is 0 (middle), 1 (start), 2 (end)
void GetLabelPosition(int position, double *x, double *y);
// Can override this to create a different class of label shape
virtual wxLabelShape* OnCreateLabelShape(wxLineShape *parent = NULL, wxShapeRegion *region = NULL, double w = 0.0, double h = 0.0);
// Straighten verticals and horizontals
virtual void Straighten(wxDC* dc = NULL);
// Not implemented
inline void SetMaintainStraightLines(bool flag) { m_maintainStraightLines = flag; }
inline bool GetMaintainStraightLines() const { return m_maintainStraightLines; }
// Make handle control points
void MakeControlPoints();
void ResetControlPoints();
// Make a given number of control points
virtual void MakeLineControlPoints(int n);
virtual wxNode *InsertLineControlPoint(wxDC* dc);
virtual bool DeleteLineControlPoint();
virtual void Initialise();
inline wxList *GetLineControlPoints() { return m_lineControlPoints; }
// Override dragging behaviour - don't want to be able to drag lines!
void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
// Control points ('handles') redirect control to the actual shape, to make it easier
// to override sizing behaviour.
virtual void OnSizingDragLeft(wxControlPoint* pt, bool draw, double x, double y, int keys=0, int attachment = 0);
virtual void OnSizingBeginDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
virtual void OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, int keys=0, int attachment = 0);
// Override select, to create/delete temporary label-moving objects
void Select(bool select = TRUE, wxDC* dc = NULL);
// Set to spline (TRUE) or line (FALSE)
inline void SetSpline(bool spl) { m_isSpline = spl; }
inline bool IsSpline() const { return m_isSpline; }
void Unlink();
void SetAttachments(int from_attach, int to_attach);
inline void SetAttachmentFrom(int attach) { m_attachmentFrom = attach; }
inline void SetAttachmentTo(int attach) { m_attachmentTo = attach; }
bool HitTest(double x, double y, int *attachment, double *distance);
#ifdef PROLOGIO
// I/O
virtual void WriteAttributes(wxExpr *clause);
virtual void ReadAttributes(wxExpr *clause);
#endif
virtual void FindNth(wxShape *image, int *nth, int *no_arcs, bool incoming);
// Find which position we're talking about at this (x, y).
// Returns ARROW_POSITION_START, ARROW_POSITION_MIDDLE, ARROW_POSITION_END
int FindLinePosition(double x, double y);
// This is really to distinguish between lines and other images.
// For lines, want to pass drag to canvas, since lines tend to prevent
// dragging on a canvas (they get in the way.)
virtual bool Draggable() const { return FALSE; }
// Does the copying for this object
void Copy(wxShape& copy);
// Add an arrowhead.
wxArrowHead *AddArrow(WXTYPE type, int end = ARROW_POSITION_END,
double arrowSize = 10.0, double xOffset = 0.0, const wxString& name = "",
wxPseudoMetaFile *mf = NULL, long arrowId = -1);
// Add an arrowhead in the position indicated by the reference
// list of arrowheads, which contains all legal arrowheads for this
// line, in the correct order.
// E.g. reference list: a b c d e
// Current line list: a d
// Add c, then line list is: a c d
// If no legal arrowhead position, return FALSE.
// Assume reference list is for one end only, since it potentially defines
// the ordering for any one of the 3 positions. So we don't check
// the reference list for arrowhead position.
bool AddArrowOrdered(wxArrowHead *arrow, wxList& referenceList, int end);
// Delete arrowhead(s)
void ClearArrowsAtPosition(int end = -1);
bool ClearArrow(const wxString& name);
wxArrowHead *FindArrowHead(int position, const wxString& name);
wxArrowHead *FindArrowHead(long arrowId);
bool DeleteArrowHead(int position, const wxString& name);
bool DeleteArrowHead(long arrowId);
void DrawArrow(wxDC& dc, wxArrowHead *arrow, double xOffset, bool proportionalOffset);
inline void SetIgnoreOffsets(bool ignore) { m_ignoreArrowOffsets = ignore; }
inline wxList& GetArrows() const { return (wxList&) m_arcArrows; }
// Find horizontal width for drawing a line with
// arrows in minimum space. Assume arrows at
// END only
double FindMinimumWidth();
// Set alignment flags. ALIGNMENT NOT IMPLEMENTED.
void SetAlignmentOrientation(bool isEnd, bool isHoriz);
void SetAlignmentType(bool isEnd, int alignType);
bool GetAlignmentOrientation(bool isEnd);
int GetAlignmentType(bool isEnd);
// Find next control point in line after the start/end point
// (depending on whether the node object is at start or end)
wxRealPoint *GetNextControlPoint(wxShape *nodeObject);
inline bool IsEnd(wxShape *nodeObject) const { return (m_to == nodeObject); }
private:
bool m_erasing; // flag to say whether we're erasing or drawing
// this line (really so metafiles can draw a
// blank rectangle)
bool m_ignoreArrowOffsets; // Don't always want to draw arrowhead offsets
// because they may not work on tool palettes (for example)
bool m_isSpline;
bool m_maintainStraightLines;
protected:
// Temporary list of line segment orientations
// so we know what direction the line is supposed to be dog-legging
// in. The values are integer: 0 for vertical, 1 for horizontal.
wxList m_lineOrientations;
// Temporary pointers for start, middle and end label editing objects
// (active only when the line is selected)
wxLabelShape* m_labelObjects[3];
// These define the segmented line - not to be confused with temporary control
// points which appear when object is selected (although in this case they'll
// probably be the same)
wxList* m_lineControlPoints;
double m_arrowSpacing; // Separation between adjacent arrows
wxShape* m_to;
wxShape* m_from;
int m_attachmentTo; // Attachment point at one end
int m_attachmentFrom; // Attachment point at other end
// Alignment flags
int m_alignmentStart;
int m_alignmentEnd;
wxList m_arcArrows;
};
#endif
// _OGL_LINES_H_

View File

@@ -0,0 +1,89 @@
/////////////////////////////////////////////////////////////////////////////
// Name: linesp.h
// Purpose: Lines private header file
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_LINESP_H_
#define _OGL_LINESP_H_
#ifdef __GNUG__
#pragma interface "linesp.h"
#endif
class wxLineShape;
class wxLineControlPoint: public wxControlPoint
{
DECLARE_DYNAMIC_CLASS(wxLineControlPoint)
friend class wxLineShape;
public:
wxLineControlPoint(wxShapeCanvas *the_canvas = NULL, wxShape *object = NULL, double size = 0.0,
double x = 0.0, double y = 0.0, int the_type = 0);
~wxLineControlPoint();
void OnDraw(wxDC& dc);
void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
// Obsolete (left-dragging now moves attachment point to new relative position OR new
// attachment id)
#if 0
void OnDragRight(bool draw, double x, double y, int keys=0, int attachment = 0);
void OnBeginDragRight(double x, double y, int keys=0, int attachment = 0);
void OnEndDragRight(double x, double y, int keys=0, int attachment = 0);
#endif
public:
int m_type;
wxRealPoint* m_point; // Line point
wxRealPoint m_originalPos;
};
/*
* Temporary arc label object
*/
class wxLabelShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxLabelShape)
public:
wxLabelShape(wxLineShape *parent = NULL, wxShapeRegion *region = NULL, double w = 0.0, double h = 0.0);
~wxLabelShape();
void OnDraw(wxDC& dc);
void OnDrawContents(wxDC& dc);
void OnLeftClick(double x, double y, int keys = 0, int attachment = 0);
void OnRightClick(double x, double y, int keys = 0, int attachment = 0);
void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0);
void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0);
void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0);
bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE);
public:
wxLineShape* m_lineShape;
wxShapeRegion* m_shapeRegion;
};
/*
* Get the point on the given line (x1, y1) (x2, y2)
* distance 'length' along from the end,
* returned values in x and y
*/
void GetPointOnLine(double x1, double y1, double x2, double y2,
double length, double *x, double *y);
#endif
// _OGL_LINESP_H_

View File

@@ -0,0 +1,211 @@
/////////////////////////////////////////////////////////////////////////////
// Name: mfutils.h
// Purpose: Metafile utilities: reading a placeable metafile independently
// of Windows.
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _MFUTILS_H_
#define _MFUTILS_H_
#ifdef __GNUG__
#pragma interface "mfutils.h"
#endif
#include <wx/metafile.h>
#ifndef GetRValue
#define GetRValue(rgb) ((unsigned char)(rgb))
#define GetGValue(rgb) ((unsigned char)(((int)(rgb)) >> 8))
#define GetBValue(rgb) ((unsigned char)((rgb)>>16))
#endif
/* Metafile Functions */
/* Win32s/Borland need these macros, although META_SETBKCOLOR is defined */
#if 1 // !defined(META_SETBKCOLOR) // || defined(WIN32)
#define META_SETBKCOLOR 0x0201
#define META_SETBKMODE 0x0102
#define META_SETMAPMODE 0x0103
#define META_SETROP2 0x0104
#define META_SETRELABS 0x0105
#define META_SETPOLYFILLMODE 0x0106
#define META_SETSTRETCHBLTMODE 0x0107
#define META_SETTEXTCHAREXTRA 0x0108
#define META_SETTEXTCOLOR 0x0209
#define META_SETTEXTJUSTIFICATION 0x020A
#define META_SETWINDOWORG 0x020B
#define META_SETWINDOWEXT 0x020C
#define META_SETVIEWPORTORG 0x020D
#define META_SETVIEWPORTEXT 0x020E
#define META_OFFSETWINDOWORG 0x020F
#define META_SCALEWINDOWEXT 0x0410
#define META_OFFSETVIEWPORTORG 0x0211
#define META_SCALEVIEWPORTEXT 0x0412
#define META_LINETO 0x0213
#define META_MOVETO 0x0214
#define META_EXCLUDECLIPRECT 0x0415
#define META_INTERSECTCLIPRECT 0x0416
#define META_ARC 0x0817
#define META_ELLIPSE 0x0418
#define META_FLOODFILL 0x0419
#define META_PIE 0x081A
#define META_RECTANGLE 0x041B
#define META_ROUNDRECT 0x061C
#define META_PATBLT 0x061D
#define META_SAVEDC 0x001E
#define META_SETPIXEL 0x041F
#define META_OFFSETCLIPRGN 0x0220
#define META_TEXTOUT 0x0521
#define META_BITBLT 0x0922
#define META_STRETCHBLT 0x0B23
#define META_POLYGON 0x0324
#define META_POLYLINE 0x0325
#define META_ESCAPE 0x0626
#define META_RESTOREDC 0x0127
#define META_FILLREGION 0x0228
#define META_FRAMEREGION 0x0429
#define META_INVERTREGION 0x012A
#define META_PAINTREGION 0x012B
#define META_SELECTCLIPREGION 0x012C
#define META_SELECTOBJECT 0x012D
#define META_SETTEXTALIGN 0x012E
#define META_DRAWTEXT 0x062F
#define META_CHORD 0x0830
#define META_SETMAPPERFLAGS 0x0231
#define META_EXTTEXTOUT 0x0a32
#define META_SETDIBTODEV 0x0d33
#define META_SELECTPALETTE 0x0234
#define META_REALIZEPALETTE 0x0035
#define META_ANIMATEPALETTE 0x0436
#define META_SETPALENTRIES 0x0037
#define META_POLYPOLYGON 0x0538
#define META_RESIZEPALETTE 0x0139
#define META_DIBBITBLT 0x0940
#define META_DIBSTRETCHBLT 0x0b41
#define META_DIBCREATEPATTERNBRUSH 0x0142
#define META_STRETCHDIB 0x0f43
#define META_EXTFLOODFILL 0x0548
#define META_RESETDC 0x014C
#define META_STARTDOC 0x014D
#define META_STARTPAGE 0x004F
#define META_ENDPAGE 0x0050
#define META_ABORTDOC 0x0052
#define META_ENDDOC 0x005E
#define META_DELETEOBJECT 0x01f0
#define META_CREATEPALETTE 0x00f7
#define META_CREATEBRUSH 0x00F8
#define META_CREATEPATTERNBRUSH 0x01F9
#define META_CREATEPENINDIRECT 0x02FA
#define META_CREATEFONTINDIRECT 0x02FB
#define META_CREATEBRUSHINDIRECT 0x02FC
#define META_CREATEBITMAPINDIRECT 0x02FD
#define META_CREATEBITMAP 0x06FE
#define META_CREATEREGION 0x06FF
/* Background Modes */
#define TRANSPARENT 1
#define OPAQUE 2
/* Pen Styles */
#define PS_SOLID 0
#define PS_DASH 1
#define PS_DOT 2
#define PS_DASHDOT 3
#define PS_DASHDOTDOT 4
#define PS_NULL 5
#define PS_INSIDEFRAME 6
/* PitchAndFamily family values (high 4 bits) */
/* Win32s/Borland don't need this */
#ifndef FF_DONTCARE // !defined(__BORLANDC__) && !defined(WIN32)
#define FF_DONTCARE 0x00
#define FF_ROMAN 0x10
#define FF_SWISS 0x20
#define FF_MODERN 0x30
#define FF_SCRIPT 0x40
#define FF_DECORATIVE 0x50
#endif
/* Brush Styles */
#define BS_SOLID 0
#define BS_NULL 1
#define BS_HOLLOW BS_NULL
#define BS_HATCHED 2
#define BS_PATTERN 3
#define BS_INDEXED 4
#define BS_DIBPATTERN 5
/* Hatch Styles */
#define HS_HORIZONTAL 0
#define HS_VERTICAL 1
#define HS_FDIAGONAL 2
#define HS_BDIAGONAL 3
#define HS_CROSS 4
#define HS_DIAGCROSS 5
#endif // metafile functions
class wxMetaRecord: public wxObject
{
public:
int metaFunction;
long param1;
long param2;
long param3;
long param4;
long param5;
long param6;
long param7;
long param8;
char *stringParam;
wxRealPoint *points;
wxMetaRecord(int fun)
{
metaFunction = fun; points = NULL; stringParam = NULL;
param1 = 0;
}
~wxMetaRecord(void);
};
class wxXMetaFile: public wxObject
{
public:
double lastX;
double lastY;
bool ok;
double left;
double top;
double right;
double bottom;
wxList metaRecords;
wxList gdiObjects; // List of wxMetaRecord objects created with Create...,
// referenced by position in list by SelectObject
wxXMetaFile(char *file = NULL);
~wxXMetaFile(void);
// After this is called, the metafile cannot be used for anything
// since it is now owned by the clipboard.
bool SetClipboard(int width = 0, int height = 0);
bool Play(wxDC *dc);
inline bool Ok(void) const { return ok; }
bool ReadFile(char *file);
};
#endif
// _MFUTILS_H_

View File

@@ -0,0 +1,113 @@
/////////////////////////////////////////////////////////////////////////////
// Name: misc.h
// Purpose: Miscellaneous utilities for OGL
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_MISC_H_
#define _OGL_MISC_H_
#ifdef __GNUG__
#pragma interface "misc.h"
#endif
// List to use when copying objects; may need to associate elements of new objects
// with elements of old objects, e.g. when copying constraint.s
extern wxList oglObjectCopyMapping;
/*
* TEXT FORMATTING FUNCTIONS
*
*/
// Centres the given list of wxShapeTextLine strings in the given box
// (changing the positions in situ). Doesn't actually draw into the DC.
void oglCentreText(wxDC& dc, wxList *text, double m_xpos, double m_ypos,
double width, double height,
int formatMode = FORMAT_CENTRE_HORIZ | FORMAT_CENTRE_VERT);
// Given a string, returns a list of strings that fit within the given
// width of box. Height is ignored.
wxStringList *oglFormatText(wxDC& dc, const wxString& text, double width, double height, int formatMode = 0);
// Centres the list of wxShapeTextLine strings, doesn't clip.
// Doesn't actually draw into the DC.
void oglCentreTextNoClipping(wxDC& dc, wxList *text_list,
double m_xpos, double m_ypos, double width, double height);
// Gets the maximum width and height of the given list of wxShapeTextLines.
void oglGetCentredTextExtent(wxDC& dc, wxList *text_list,
double m_xpos, double m_ypos, double width, double height,
double *actual_width, double *actual_height);
// Actually draw the preformatted list of wxShapeTextLines.
void oglDrawFormattedText(wxDC& context, wxList *text_list,
double m_xpos, double m_ypos, double width, double height,
int formatMode = FORMAT_CENTRE_HORIZ | FORMAT_CENTRE_VERT);
// Give it a list of points, finds the centre.
void oglFindPolylineCentroid(wxList *points, double *x, double *y);
void oglCheckLineIntersection(double x1, double y1, double x2, double y2,
double x3, double y3, double x4, double y4,
double *ratio1, double *ratio2);
void oglFindEndForPolyline(double n, double xvec[], double yvec[],
double x1, double y1, double x2, double y2, double *x3, double *y3);
void oglFindEndForBox(double width, double height,
double x1, double y1, // Centre of box (possibly)
double x2, double y2, // other end of line
double *x3, double *y3); // End on box edge
void oglFindEndForCircle(double radius,
double x1, double y1, // Centre of circle
double x2, double y2, // Other end of line
double *x3, double *y3);
void oglGetArrowPoints(double x1, double y1, double x2, double y2,
double length, double width,
double *tip_x, double *tip_y,
double *side1_x, double *side1_y,
double *side2_x, double *side2_y);
/*
* Given an ellipse and endpoints of a line, returns the point at which
* the line touches the ellipse in values x4, y4.
* This function assumes that the centre of the ellipse is at x1, y1, and the
* ellipse has a width of a1 and a height of b1. It also assumes you are
* wanting to draw an arc FROM point x2, y2 TOWARDS point x3, y3.
* This function calculates the x,y coordinates of the intersection point of
* the arc with the ellipse.
* Author: Ian Harrison
*/
void oglDrawArcToEllipse(double x1, double y1, double a1, double b1, double x2, double y2, double x3, double y3,
double *x4, double *y4);
bool oglRoughlyEqual(double val1, double val2, double tol = 0.00001);
extern wxFont* g_oglNormalFont;
extern wxPen* g_oglBlackPen;
extern wxPen* g_oglWhiteBackgroundPen;
extern wxPen* g_oglTransparentPen;
extern wxBrush* g_oglWhiteBackgroundBrush;
extern wxPen* g_oglBlackForegroundPen;
extern wxCursor* g_oglBullseyeCursor;
extern wxFont* oglMatchFont(int point_size);
extern wxString oglColourToHex(const wxColour& colour);
extern wxColour oglHexToColour(const wxString& hex);
extern void oglDecToHex(unsigned int dec, char *buf);
extern unsigned int oglHexToDec(char* buf);
#endif
// _OGL_MISC_H_

View File

@@ -0,0 +1,27 @@
/////////////////////////////////////////////////////////////////////////////
// Name: ogl.h
// Purpose: OGL main include
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_OGL_H_
#define _OGL_OGL_H_
#include <wx/ogl/basic.h> // Basic shapes
#include <wx/ogl/lines.h> // Lines and splines
#include <wx/ogl/divided.h> // Vertically-divided rectangle
#include <wx/ogl/composit.h> // Composite images
#include <wx/ogl/canvas.h> // wxShapeCanvas for displaying objects
#include <wx/ogl/ogldiag.h> // wxDiagram
// TODO: replace with wxModule implementation
extern void wxOGLInitialize();
extern void wxOGLCleanUp();
#endif
// _OGL_OGL_H_

View File

@@ -0,0 +1,124 @@
/////////////////////////////////////////////////////////////////////////////
// Name: ogldiag.h
// Purpose: OGL - wxDiagram class
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGL_OGLDIAG_H_
#define _OGL_OGLDIAG_H_
#ifdef __GNUG__
#pragma interface "ogldiag.h"
#endif
#include <wx/ogl/basic.h>
class wxDiagram: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxDiagram)
public:
wxDiagram();
virtual ~wxDiagram();
void SetCanvas(wxShapeCanvas *can);
inline wxShapeCanvas *GetCanvas() const { return m_diagramCanvas; }
virtual void Redraw(wxDC& dc);
virtual void Clear(wxDC& dc);
virtual void DrawOutline(wxDC& dc, double x1, double y1, double x2, double y2);
// Add object to end of object list (if addAfter is NULL)
// or just after addAfter.
virtual void AddShape(wxShape *object, wxShape *addAfter = NULL);
// Add object to front of object list
virtual void InsertShape(wxShape *object);
void SetSnapToGrid(bool snap);
void SetGridSpacing(double spacing);
inline double GetGridSpacing() const { return m_gridSpacing; }
inline bool GetSnapToGrid() const { return m_snapToGrid; }
void Snap(double *x, double *y);
inline void SetQuickEditMode(bool qem) { m_quickEditMode = qem; }
inline bool GetQuickEditMode() const { return m_quickEditMode; }
virtual void RemoveShape(wxShape *object);
virtual void RemoveAllShapes();
virtual void DeleteAllShapes();
virtual void ShowAll(bool show);
// Find a shape by its id
wxShape* FindShape(long id) const;
inline void SetMouseTolerance(int tol) { m_mouseTolerance = tol; }
inline int GetMouseTolerance() const { return m_mouseTolerance; }
inline wxList *GetShapeList() const { return m_shapeList; }
inline int GetCount() const { return m_shapeList->Number(); }
// Make sure all text that should be centred, is centred.
void RecentreAll(wxDC& dc);
#ifdef PROLOGIO
virtual bool SaveFile(const wxString& filename);
virtual bool LoadFile(const wxString& filename);
virtual void ReadNodes(wxExprDatabase& database);
virtual void ReadLines(wxExprDatabase& database);
virtual void ReadContainerGeometry(wxExprDatabase& database);
// Allow for modifying file
virtual bool OnDatabaseLoad(wxExprDatabase& db);
virtual bool OnDatabaseSave(wxExprDatabase& db);
virtual bool OnShapeSave(wxExprDatabase& db, wxShape& shape, wxExpr& expr);
virtual bool OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr);
virtual bool OnHeaderSave(wxExprDatabase& db, wxExpr& expr);
virtual bool OnHeaderLoad(wxExprDatabase& db, wxExpr& expr);
#endif
protected:
wxShapeCanvas* m_diagramCanvas;
bool m_quickEditMode;
bool m_snapToGrid;
double m_gridSpacing;
int m_mouseTolerance;
wxList* m_shapeList;
};
class wxLineCrossing: public wxObject
{
public:
wxLineCrossing() { m_lineShape1 = NULL; m_lineShape2 = NULL; }
wxRealPoint m_pt1; // First line
wxRealPoint m_pt2;
wxRealPoint m_pt3; // Second line
wxRealPoint m_pt4;
wxRealPoint m_intersect;
wxLineShape* m_lineShape1;
wxLineShape* m_lineShape2;
};
class wxLineCrossings: public wxObject
{
public:
wxLineCrossings();
~wxLineCrossings();
void FindCrossings(wxDiagram& diagram);
void DrawCrossings(wxDiagram& diagram, wxDC& dc);
void ClearCrossings();
public:
wxList m_crossings;
};
#endif
// _OGL_OGLDIAG_H_

View File

@@ -0,0 +1,12 @@
#
# Makefile : Builds wxWindows utils for Unix.
#
OGL_SAMPLES=ogledit studio
all:
@for d in $(OGL_SAMPLES); do (cd $$d && $(MAKE)); done
clean:
@for d in $(OGL_SAMPLES); do (cd $$d && $(MAKE) clean); done

View File

@@ -0,0 +1,16 @@
# Makefile for OGLEdit example.
# $Id$
top_srcdir = @top_srcdir@/..
top_builddir = ../../../..
program_dir = contrib/samples/ogl/ogledit
PROGRAM=ogledit
OBJECTS=$(PROGRAM).o doc.o view.o palette.o
APPEXTRALIBS=$(top_builddir)/lib/libogl.@WX_TARGET_LIBRARY_TYPE@
APPEXTRADEFS=-I$(top_srcdir)/contrib/include
include $(top_builddir)/src/makeprog.env

View File

@@ -0,0 +1,251 @@
# Microsoft Developer Studio Project File - Name="OGLEditVC" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=OGLEditVC - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "OGLEditVC.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "OGLEditVC.mak" CFG="OGLEditVC - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "OGLEditVC - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "OGLEditVC - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "OGLEditVC - Win32 Debug DLL" (based on "Win32 (x86) Application")
!MESSAGE "OGLEditVC - Win32 Release DLL" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "DebugDLL"
# PROP BASE Intermediate_Dir "DebugDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "DebugDLL"
# PROP Intermediate_Dir "DebugDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/ogledit.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ReleaseDLL"
# PROP BASE Intermediate_Dir "ReleaseDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "ReleaseDLL"
# PROP Intermediate_Dir "ReleaseDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/ogledit.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ENDIF
# Begin Target
# Name "OGLEditVC - Win32 Release"
# Name "OGLEditVC - Win32 Debug"
# Name "OGLEditVC - Win32 Debug DLL"
# Name "OGLEditVC - Win32 Release DLL"
# Begin Source File
SOURCE=.\doc.cpp
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\doc.h
# End Source File
# Begin Source File
SOURCE=.\ogledit.cpp
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\ogledit.h
# End Source File
# Begin Source File
SOURCE=.\ogledit.rc
# ADD BASE RSC /l 0x809
# ADD RSC /l 0x809 /i "../../../../include" /i "../../../../contrib/include"
# End Source File
# Begin Source File
SOURCE=.\palette.cpp
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\palette.h
# End Source File
# Begin Source File
SOURCE=.\view.cpp
!IF "$(CFG)" == "OGLEditVC - Win32 Release"
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "OGLEditVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\view.h
# End Source File
# End Target
# End Project

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "OGLEditVC"=.\OGLEditVC.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -0,0 +1,44 @@
/* XPM */
static char *arrow_xpm[] = {
/* columns rows colors chars-per-pixel */
"22 22 16 1",
" c Gray0",
". c #bf0000",
"X c #00bf00",
"o c #bfbf00",
"O c #0000bf",
"+ c #bf00bf",
"@ c #00bfbf",
"# c #c0c0c0",
"$ c #808080",
"% c Red",
"& c Green",
"* c Yellow",
"= c Blue",
"- c Magenta",
"; c Cyan",
": c Gray100",
/* pixels */
"######################",
"######################",
"######################",
"######################",
"######################",
"####### ##############",
"####### #############",
"####### ############",
"####### ###########",
"####### ##########",
"####### #########",
"####### ########",
"####### #######",
"####### ##########",
"####### # ##########",
"####### ### #########",
"########### #########",
"############ ########",
"############ ########",
"######################",
"######################",
"######################"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -0,0 +1,44 @@
/* XPM */
static char *tool1_xpm[] = {
/* columns rows colors chars-per-pixel */
"22 22 16 1",
" c Gray0",
". c #bf0000",
"X c #00bf00",
"o c #bfbf00",
"O c #0000bf",
"+ c #bf00bf",
"@ c #00bfbf",
"# c #c0c0c0",
"$ c #808080",
"% c Red",
"& c Green",
"* c Yellow",
"= c Blue",
"- c Magenta",
"; c Cyan",
": c Gray100",
/* pixels */
"######################",
"######################",
"# ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ##",
"######################",
"######################",
"######################"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -0,0 +1,44 @@
/* XPM */
static char *tool2_xpm[] = {
/* columns rows colors chars-per-pixel */
"22 22 16 1",
" c Gray0",
". c #bf0000",
"X c #00bf00",
"o c #bfbf00",
"O c #0000bf",
"+ c #bf00bf",
"@ c #00bfbf",
"# c #c0c0c0",
"$ c #808080",
"% c Red",
"& c Green",
"* c Yellow",
"= c Blue",
"- c Magenta",
"; c Cyan",
": c Gray100",
/* pixels */
"######################",
"######################",
"#### #####",
"### ::::::::::::: ####",
"## ::::::::::::::: ###",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"## ::::::::::::::: ###",
"### ::::::::::::: ####",
"#### #####",
"######################",
"######################",
"######################"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -0,0 +1,44 @@
/* XPM */
static char *tool3_xpm[] = {
/* columns rows colors chars-per-pixel */
"22 22 16 1",
" c Gray0",
". c #bf0000",
"X c #00bf00",
"o c #bfbf00",
"O c #0000bf",
"+ c #bf00bf",
"@ c #00bfbf",
"# c #c0c0c0",
"$ c #808080",
"% c Red",
"& c Green",
"* c Yellow",
"= c Blue",
"- c Magenta",
"; c Cyan",
": c Gray100",
/* pixels */
"######################",
"######################",
"######################",
"######################",
"####### ########",
"#### ::::::: #####",
"### ::::::::::::: ####",
"## ::::::::::::::: ###",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"# ::::::::::::::::: ##",
"## ::::::::::::::: ###",
"### ::::::::::::: ####",
"#### ::::::: #####",
"###### ########",
"######################",
"######################",
"######################",
"######################",
"######################",
"######################"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -0,0 +1,44 @@
/* XPM */
static char *tool4_xpm[] = {
/* columns rows colors chars-per-pixel */
"22 22 16 1",
" c Gray0",
". c #bf0000",
"X c #00bf00",
"o c #bfbf00",
"O c #0000bf",
"+ c #bf00bf",
"@ c #00bfbf",
"# c #c0c0c0",
"$ c #808080",
"% c Red",
"& c Green",
"* c Yellow",
"= c Blue",
"- c Magenta",
"; c Cyan",
": c Gray100",
/* pixels */
"######################",
"######################",
"######################",
"########## ##########",
"######### :: #########",
"######## :::: ########",
"####### :::::: #######",
"###### :::::::: ######",
"##### :::::::::: #####",
"#### :::::::::::: ####",
"### :::::::::::::: ###",
"### :::::::::::::: ###",
"#### :::::::::::: ####",
"##### :::::::::: #####",
"###### :::::::: ######",
"####### :::::: #######",
"######## :::: ########",
"######### :: #########",
"########## ##########",
"######################",
"######################",
"######################"
};

View File

@@ -0,0 +1,611 @@
/////////////////////////////////////////////////////////////////////////////
// Name: doc.cpp
// Purpose: Implements document functionality in OGLEdit
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
// #pragma implementation
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif
#include <wx/wxexpr.h>
#include "ogledit.h"
#include "doc.h"
#include "view.h"
#if wxUSE_STD_IOSTREAM
#include <ioswrap.h>
#endif
IMPLEMENT_DYNAMIC_CLASS(DiagramDocument, wxDocument)
DiagramDocument::DiagramDocument(void)
{
}
DiagramDocument::~DiagramDocument(void)
{
}
bool DiagramDocument::OnCloseDocument(void)
{
diagram.DeleteAllShapes();
return TRUE;
}
#if wxUSE_STD_IOSTREAM
wxSTD ostream& DiagramDocument::SaveObject(wxSTD ostream& stream)
{
wxDocument::SaveObject(stream);
char buf[400];
(void) wxGetTempFileName("diag", buf);
diagram.SaveFile(buf);
wxTransferFileToStream(buf, stream);
wxRemoveFile(buf);
return stream;
}
wxSTD istream& DiagramDocument::LoadObject(wxSTD istream& stream)
{
wxDocument::LoadObject(stream);
char buf[400];
(void) wxGetTempFileName("diag", buf);
wxTransferStreamToFile(stream, buf);
diagram.DeleteAllShapes();
diagram.LoadFile(buf);
wxRemoveFile(buf);
return stream;
}
#else
wxOutputStream& DiagramDocument::SaveObject(wxOutputStream& stream)
{
wxDocument::SaveObject(stream);
char buf[400];
(void) wxGetTempFileName("diag", buf);
diagram.SaveFile(buf);
wxTransferFileToStream(buf, stream);
wxRemoveFile(buf);
return stream;
}
wxInputStream& DiagramDocument::LoadObject(wxInputStream& stream)
{
wxDocument::LoadObject(stream);
char buf[400];
(void) wxGetTempFileName("diag", buf);
wxTransferStreamToFile(stream, buf);
diagram.DeleteAllShapes();
diagram.LoadFile(buf);
wxRemoveFile(buf);
return stream;
}
#endif
/*
* Implementation of drawing command
*/
DiagramCommand::DiagramCommand(char *name, int command, DiagramDocument *ddoc, wxClassInfo *info, double xx, double yy,
bool sel, wxShape *theShape, wxShape *fs, wxShape *ts):
wxCommand(TRUE, name)
{
doc = ddoc;
cmd = command;
shape = theShape;
fromShape = fs;
toShape = ts;
shapeInfo = info;
shapeBrush = NULL;
shapePen = NULL;
x = xx;
y = yy;
selected = sel;
deleteShape = FALSE;
}
DiagramCommand::DiagramCommand(char *name, int command, DiagramDocument *ddoc, wxBrush *backgroundColour, wxShape *theShape):
wxCommand(TRUE, name)
{
doc = ddoc;
cmd = command;
shape = theShape;
fromShape = NULL;
toShape = NULL;
shapeInfo = NULL;
x = 0.0;
y = 0.0;
selected = FALSE;
deleteShape = FALSE;
shapeBrush = backgroundColour;
shapePen = NULL;
}
DiagramCommand::DiagramCommand(char *name, int command, DiagramDocument *ddoc, const wxString& lab, wxShape *theShape):
wxCommand(TRUE, name)
{
doc = ddoc;
cmd = command;
shape = theShape;
fromShape = NULL;
toShape = NULL;
shapeInfo = NULL;
x = 0.0;
y = 0.0;
selected = FALSE;
deleteShape = FALSE;
shapeBrush = NULL;
shapePen = NULL;
shapeLabel = lab;
}
DiagramCommand::~DiagramCommand(void)
{
if (shape && deleteShape)
{
shape->SetCanvas(NULL);
delete shape;
}
}
bool DiagramCommand::Do(void)
{
switch (cmd)
{
case OGLEDIT_CUT:
{
if (shape)
{
deleteShape = TRUE;
shape->Select(FALSE);
// Generate commands to explicitly remove each connected line.
RemoveLines(shape);
doc->GetDiagram()->RemoveShape(shape);
if (shape->IsKindOf(CLASSINFO(wxLineShape)))
{
wxLineShape *lineShape = (wxLineShape *)shape;
fromShape = lineShape->GetFrom();
toShape = lineShape->GetTo();
}
shape->Unlink();
doc->Modify(TRUE);
doc->UpdateAllViews();
}
break;
}
case OGLEDIT_ADD_SHAPE:
{
wxShape *theShape = NULL;
if (shape)
theShape = shape; // Saved from undoing the shape
else
{
theShape = (wxShape *)shapeInfo->CreateObject();
theShape->AssignNewIds();
theShape->SetEventHandler(new MyEvtHandler(theShape, theShape, wxString("")));
theShape->SetCentreResize(FALSE);
theShape->SetPen(wxBLACK_PEN);
theShape->SetBrush(wxCYAN_BRUSH);
theShape->SetSize(60, 60);
}
doc->GetDiagram()->AddShape(theShape);
theShape->Show(TRUE);
wxClientDC dc(theShape->GetCanvas());
theShape->GetCanvas()->PrepareDC(dc);
theShape->Move(dc, x, y);
shape = theShape;
deleteShape = FALSE;
doc->Modify(TRUE);
doc->UpdateAllViews();
break;
}
case OGLEDIT_ADD_LINE:
{
wxShape *theShape = NULL;
if (shape)
theShape = shape; // Saved from undoing the line
else
{
theShape = (wxShape *)shapeInfo->CreateObject();
theShape->AssignNewIds();
theShape->SetEventHandler(new MyEvtHandler(theShape, theShape, wxString("")));
theShape->SetPen(wxBLACK_PEN);
theShape->SetBrush(wxRED_BRUSH);
wxLineShape *lineShape = (wxLineShape *)theShape;
// Yes, you can have more than 2 control points, in which case
// it becomes a multi-segment line.
lineShape->MakeLineControlPoints(2);
lineShape->AddArrow(ARROW_ARROW, ARROW_POSITION_END, 10.0, 0.0, "Normal arrowhead");
}
doc->GetDiagram()->AddShape(theShape);
fromShape->AddLine((wxLineShape *)theShape, toShape);
theShape->Show(TRUE);
wxClientDC dc(theShape->GetCanvas());
theShape->GetCanvas()->PrepareDC(dc);
// It won't get drawn properly unless you move both
// connected images
fromShape->Move(dc, fromShape->GetX(), fromShape->GetY());
toShape->Move(dc, toShape->GetX(), toShape->GetY());
shape = theShape;
deleteShape = FALSE;
doc->Modify(TRUE);
doc->UpdateAllViews();
break;
}
case OGLEDIT_CHANGE_BACKGROUND_COLOUR:
{
if (shape)
{
wxClientDC dc(shape->GetCanvas());
shape->GetCanvas()->PrepareDC(dc);
wxBrush *oldBrush = shape->GetBrush();
shape->SetBrush(shapeBrush);
shapeBrush = oldBrush;
shape->Draw(dc);
doc->Modify(TRUE);
doc->UpdateAllViews();
}
break;
}
case OGLEDIT_EDIT_LABEL:
{
if (shape)
{
MyEvtHandler *myHandler = (MyEvtHandler *)shape->GetEventHandler();
wxString oldLabel(myHandler->label);
myHandler->label = shapeLabel;
shapeLabel = oldLabel;
wxClientDC dc(shape->GetCanvas());
shape->GetCanvas()->PrepareDC(dc);
shape->FormatText(dc, (char*) (const char*) myHandler->label);
shape->Draw(dc);
doc->Modify(TRUE);
doc->UpdateAllViews();
}
break;
}
}
return TRUE;
}
bool DiagramCommand::Undo(void)
{
switch (cmd)
{
case OGLEDIT_CUT:
{
if (shape)
{
doc->GetDiagram()->AddShape(shape);
shape->Show(TRUE);
if (shape->IsKindOf(CLASSINFO(wxLineShape)))
{
wxLineShape *lineShape = (wxLineShape *)shape;
fromShape->AddLine(lineShape, toShape);
}
if (selected)
shape->Select(TRUE);
deleteShape = FALSE;
}
doc->Modify(TRUE);
doc->UpdateAllViews();
break;
}
case OGLEDIT_ADD_SHAPE:
case OGLEDIT_ADD_LINE:
{
if (shape)
{
wxClientDC dc(shape->GetCanvas());
shape->GetCanvas()->PrepareDC(dc);
shape->Select(FALSE, &dc);
doc->GetDiagram()->RemoveShape(shape);
shape->Unlink();
deleteShape = TRUE;
}
doc->Modify(TRUE);
doc->UpdateAllViews();
break;
}
case OGLEDIT_CHANGE_BACKGROUND_COLOUR:
{
if (shape)
{
wxClientDC dc(shape->GetCanvas());
shape->GetCanvas()->PrepareDC(dc);
wxBrush *oldBrush = shape->GetBrush();
shape->SetBrush(shapeBrush);
shapeBrush = oldBrush;
shape->Draw(dc);
doc->Modify(TRUE);
doc->UpdateAllViews();
}
break;
}
case OGLEDIT_EDIT_LABEL:
{
if (shape)
{
MyEvtHandler *myHandler = (MyEvtHandler *)shape->GetEventHandler();
wxString oldLabel(myHandler->label);
myHandler->label = shapeLabel;
shapeLabel = oldLabel;
wxClientDC dc(shape->GetCanvas());
shape->GetCanvas()->PrepareDC(dc);
shape->FormatText(dc, (char*) (const char*) myHandler->label);
shape->Draw(dc);
doc->Modify(TRUE);
doc->UpdateAllViews();
}
break;
}
}
return TRUE;
}
// Remove each individual line connected to a shape by sending a command.
void DiagramCommand::RemoveLines(wxShape *shape)
{
wxNode *node = shape->GetLines().First();
while (node)
{
wxLineShape *line = (wxLineShape *)node->Data();
doc->GetCommandProcessor()->Submit(new DiagramCommand("Cut", OGLEDIT_CUT, doc, NULL, 0.0, 0.0, line->Selected(), line));
node = shape->GetLines().First();
}
}
/*
* MyEvtHandler: an event handler class for all shapes
*/
void MyEvtHandler::OnLeftClick(double x, double y, int keys, int attachment)
{
wxClientDC dc(GetShape()->GetCanvas());
GetShape()->GetCanvas()->PrepareDC(dc);
if (keys == 0)
{
// Selection is a concept the library knows about
if (GetShape()->Selected())
{
GetShape()->Select(FALSE, &dc);
GetShape()->GetCanvas()->Redraw(dc); // Redraw because bits of objects will be are missing
}
else
{
// Ensure no other shape is selected, to simplify Undo/Redo code
bool redraw = FALSE;
wxNode *node = GetShape()->GetCanvas()->GetDiagram()->GetShapeList()->First();
while (node)
{
wxShape *eachShape = (wxShape *)node->Data();
if (eachShape->GetParent() == NULL)
{
if (eachShape->Selected())
{
eachShape->Select(FALSE, &dc);
redraw = TRUE;
}
}
node = node->Next();
}
GetShape()->Select(TRUE, &dc);
if (redraw)
GetShape()->GetCanvas()->Redraw(dc);
}
}
else if (keys & KEY_CTRL)
{
// Do something for CONTROL
}
else
{
wxGetApp().frame->SetStatusText(label);
}
}
/*
* Implement connection of two shapes by right-dragging between them.
*/
void MyEvtHandler::OnBeginDragRight(double x, double y, int keys, int attachment)
{
// Force attachment to be zero for now. Eventually we can deal with
// the actual attachment point, e.g. a rectangle side if attachment mode is on.
attachment = 0;
wxClientDC dc(GetShape()->GetCanvas());
GetShape()->GetCanvas()->PrepareDC(dc);
wxPen dottedPen(wxColour(0, 0, 0), 1, wxDOT);
dc.SetLogicalFunction(OGLRBLF);
dc.SetPen(dottedPen);
double xp, yp;
GetShape()->GetAttachmentPosition(attachment, &xp, &yp);
dc.DrawLine((long) xp, (long) yp, (long) x, (long) y);
GetShape()->GetCanvas()->CaptureMouse();
}
void MyEvtHandler::OnDragRight(bool draw, double x, double y, int keys, int attachment)
{
// Force attachment to be zero for now
attachment = 0;
wxClientDC dc(GetShape()->GetCanvas());
GetShape()->GetCanvas()->PrepareDC(dc);
wxPen dottedPen(wxColour(0, 0, 0), 1, wxDOT);
dc.SetLogicalFunction(OGLRBLF);
dc.SetPen(dottedPen);
double xp, yp;
GetShape()->GetAttachmentPosition(attachment, &xp, &yp);
dc.DrawLine((long) xp, (long) yp, (long) x, (long) y);
}
void MyEvtHandler::OnEndDragRight(double x, double y, int keys, int attachment)
{
GetShape()->GetCanvas()->ReleaseMouse();
MyCanvas *canvas = (MyCanvas *)GetShape()->GetCanvas();
// Check if we're on an object
int new_attachment;
wxShape *otherShape = canvas->FindFirstSensitiveShape(x, y, &new_attachment, OP_DRAG_RIGHT);
if (otherShape && !otherShape->IsKindOf(CLASSINFO(wxLineShape)))
{
canvas->view->GetDocument()->GetCommandProcessor()->Submit(
new DiagramCommand("wxLineShape", OGLEDIT_ADD_LINE, (DiagramDocument *)canvas->view->GetDocument(), CLASSINFO(wxLineShape),
0.0, 0.0, FALSE, NULL, GetShape(), otherShape));
}
}
void MyEvtHandler::OnEndSize(double x, double y)
{
wxClientDC dc(GetShape()->GetCanvas());
GetShape()->GetCanvas()->PrepareDC(dc);
GetShape()->FormatText(dc, (char*) (const char*) label);
}
/*
* Diagram
*/
bool MyDiagram::OnShapeSave(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
{
wxDiagram::OnShapeSave(db, shape, expr);
MyEvtHandler *handler = (MyEvtHandler *)shape.GetEventHandler();
expr.AddAttributeValueString("label", handler->label);
return TRUE;
}
bool MyDiagram::OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr)
{
wxDiagram::OnShapeLoad(db, shape, expr);
char *label = NULL;
expr.AssignAttributeValue("label", &label);
MyEvtHandler *handler = new MyEvtHandler(&shape, &shape, wxString(label));
shape.SetEventHandler(handler);
if (label)
delete[] label;
return TRUE;
}
/*
* New shapes
*/
IMPLEMENT_DYNAMIC_CLASS(wxRoundedRectangleShape, wxRectangleShape)
wxRoundedRectangleShape::wxRoundedRectangleShape(double w, double h):
wxRectangleShape(w, h)
{
// 0.3 of the smaller rectangle dimension
SetCornerRadius((double) -0.3);
}
IMPLEMENT_DYNAMIC_CLASS(wxDiamondShape, wxPolygonShape)
wxDiamondShape::wxDiamondShape(double w, double h):
wxPolygonShape()
{
// wxPolygonShape::SetSize relies on the shape having non-zero
// size initially.
if (w == 0.0)
w = 60.0;
if (h == 0.0)
h = 60.0;
wxList *thePoints = new wxList;
wxRealPoint *point = new wxRealPoint(0.0, (-h/2.0));
thePoints->Append((wxObject*) point);
point = new wxRealPoint((w/2.0), 0.0);
thePoints->Append((wxObject*) point);
point = new wxRealPoint(0.0, (h/2.0));
thePoints->Append((wxObject*) point);
point = new wxRealPoint((-w/2.0), 0.0);
thePoints->Append((wxObject*) point);
Create(thePoints);
}

View File

@@ -0,0 +1,182 @@
/////////////////////////////////////////////////////////////////////////////
// Name: doc.h
// Purpose: Document classes
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_DOC_H_
#define _OGLSAMPLE_DOC_H_
#ifdef __GNUG__
// #pragma interface
#endif
#include <wx/docview.h>
#include <wx/cmdproc.h>
#include <wx/string.h>
#include <wx/wxexpr.h>
#include <wx/ogl/ogl.h>
#if wxUSE_STD_IOSTREAM
#include <iosfwd>
#endif
/*
* Override a few members for this application
*/
class MyDiagram: public wxDiagram
{
public:
MyDiagram(void) {}
bool OnShapeSave(wxExprDatabase& db, wxShape& shape, wxExpr& expr);
bool OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr);
};
/*
* A few new shape classes so we have a 1:1 mapping
* between palette symbol and unique class
*/
class wxRoundedRectangleShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxRoundedRectangleShape)
private:
public:
wxRoundedRectangleShape(double w = 0.0, double h = 0.0);
};
class wxDiamondShape: public wxPolygonShape
{
DECLARE_DYNAMIC_CLASS(wxDiamondShape)
private:
public:
wxDiamondShape(double w = 0.0, double h = 0.0);
};
/*
* All shape event behaviour is routed through this handler, so we don't
* have to derive from each shape class. We plug this in to each shape.
*/
class MyEvtHandler: public wxShapeEvtHandler
{
public:
wxString label;
MyEvtHandler(wxShapeEvtHandler *prev = NULL, wxShape *shape = NULL, const wxString& lab = ""):wxShapeEvtHandler(prev, shape)
{
label = lab;
}
~MyEvtHandler(void)
{
}
void OnLeftClick(double x, double y, int keys = 0, int attachment = 0);
void OnBeginDragRight(double x, double y, int keys = 0, int attachment = 0);
void OnDragRight(bool draw, double x, double y, int keys = 0, int attachment = 0);
void OnEndDragRight(double x, double y, int keys = 0, int attachment = 0);
void OnEndSize(double x, double y);
};
/*
* A diagram document, which contains a diagram.
*/
class DiagramDocument: public wxDocument
{
DECLARE_DYNAMIC_CLASS(DiagramDocument)
private:
public:
MyDiagram diagram;
DiagramDocument(void);
~DiagramDocument(void);
#if wxUSE_STD_IOSTREAM
virtual wxSTD ostream& SaveObject(wxSTD ostream& stream);
virtual wxSTD istream& LoadObject(wxSTD istream& stream);
#else
virtual wxOutputStream& SaveObject(wxOutputStream& stream);
virtual wxInputStream& LoadObject(wxInputStream& stream);
#endif
inline wxDiagram *GetDiagram() { return &diagram; }
bool OnCloseDocument(void);
};
/*
* Most user interface commands are routed through this, to give us the
* Undo/Redo mechanism. If you add more commands, such as changing the shape colour,
* you will need to add members to 'remember' what the user applied (for 'Do') and what the
* previous state was (for 'Undo').
* You can have one member for each property to be changed. Assume we also have
* a pointer member wxShape *shape, which is set to the shape being changed.
* Let's assume we're changing the shape colour. Our member for this is shapeColour.
*
* - In 'Do':
* o Set a temporary variable 'temp' to the current colour for 'shape'.
* o Change the colour to the new colour.
* o Set shapeColour to the _old_ colour, 'temp'.
* - In 'Undo':
* o Set a temporary variable 'temp' to the current colour for 'shape'.
* o Change the colour to shapeColour (the old colour).
* o Set shapeColour to 'temp'.
*
* So, as long as we have a pointer to the shape being changed,
* we only need one member variable for each property.
*
* PROBLEM: when an Add shape command is redone, the 'shape' pointer changes.
* Assume, as here, that we keep a pointer to the old shape so we reuse it
* when we recreate.
*/
class DiagramCommand: public wxCommand
{
protected:
DiagramDocument *doc;
int cmd;
wxShape *shape; // Pointer to the shape we're acting on
wxShape *fromShape;
wxShape *toShape;
wxClassInfo *shapeInfo;
double x;
double y;
bool selected;
bool deleteShape;
// Storage for property commands
wxBrush *shapeBrush;
wxPen *shapePen;
wxString shapeLabel;
public:
// Multi-purpose constructor for creating, deleting shapes
DiagramCommand(char *name, int cmd, DiagramDocument *ddoc, wxClassInfo *shapeInfo = NULL,
double x = 0.0, double y = 0.0, bool sel = FALSE, wxShape *theShape = NULL, wxShape *fs = NULL, wxShape *ts = NULL);
// Property-changing command constructors
DiagramCommand(char *name, int cmd, DiagramDocument *ddoc, wxBrush *backgroundColour, wxShape *theShape);
DiagramCommand(char *name, int cmd, DiagramDocument *ddoc, const wxString& lab, wxShape *theShape);
~DiagramCommand(void);
bool Do(void);
bool Undo(void);
inline void SetShape(wxShape *s) { shape = s; }
inline wxShape *GetShape(void) { return shape; }
inline wxShape *GetFromShape(void) { return fromShape; }
inline wxShape *GetToShape(void) { return toShape; }
inline wxClassInfo *GetShapeInfo(void) { return shapeInfo; }
inline bool GetSelected(void) { return selected; }
void RemoveLines(wxShape *shape);
};
#endif
// _OGLSAMPLE_DOC_H_

View File

@@ -0,0 +1,17 @@
#
# File: makefile.b32
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright:
#
# Makefile : Builds sample for 32-bit BC++
WXDIR = $(WXWIN)
TARGET=ogledit
EXTRALIBS=$(WXDIR)\lib\ogl.lib
OBJECTS = $(TARGET).obj doc.obj view.obj palette.obj
!include $(WXDIR)\src\makeprog.b32

View File

@@ -0,0 +1,20 @@
#
# File: makefile.bcc
# Author: Julian Smart
# Created: 1998
# Updated:
#
# Builds a BC++ 16-bit sample
!if "$(WXWIN)" == ""
!error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
!endif
WXDIR = $(WXWIN)
TARGET=ogledit
EXTRALIBS=$(WXDIR)\lib\ogl.lib
OBJECTS = $(TARGET).obj doc.obj view.obj palette.obj
!include $(WXDIR)\src\makeprog.b32

View File

@@ -0,0 +1,88 @@
#
# File: makefile.dos
# Author: Julian Smart
# Created: 1995
# Updated:
# Copyright: (c) 1995, AIAI, University of Edinburgh
#
# "%W% %G%"
#
# Makefile : Builds OGLEdit example (MSVC++ 1.5).
# Use FINAL=1 argument to nmake to build final version with no debugging
# info
WXDIR = $(WXWIN)
!include $(WXDIR)\src\makemsc.env
THISDIR = $(WXDIR)\contrib\samples\ogl\ogledit
WXLIB = $(WXDIR)\lib\wx.lib
OGLLIB = $(WXDIR)\lib\ogl.lib
LIBS=$(WXLIB) $(OGLLIB) oldnames libw llibcew commdlg shell ddeml
OBJECTS = ogledit.obj doc.obj view.obj palette.obj
all: ogledit.exe
wx:
cd $(WXDIR)\src\msw
nmake -f makefile.dos
cd $(THISDIR)
wxclean:
cd $(WXDIR)\src\msw
nmake -f makefile.dos clean
cd $(THISDIR)
ogl:
cd $(OGLDIR)\src
nmake -f makefile.dos FINAL=$(FINAL)
cd $(THISDIR)
prologio:
cd $(PROLOGDIR)\src
nmake -f makefile.dos FINAL=$(FINAL)
cd $(THISDIR)
ogledit.exe: $(WXDIR)\src\msw\dummy.obj $(WXLIB) $(OBJECTS) $(OGLLIB) ogledit.def ogledit.res
link $(LINKFLAGS) @<<
$(WXDIR)\src\msw\dummy.obj $(OBJECTS),
ogledit,
NUL,
$(LIBS),
ogledit.def
;
<<
rc -30 -K ogledit.res
ogledit.obj: ogledit.h ogledit.$(SRCSUFF)
cl @<<
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
<<
view.obj: view.h view.$(SRCSUFF)
cl @<<
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
<<
doc.obj: doc.h doc.$(SRCSUFF)
cl @<<
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
<<
palette.obj: view.h doc.h ogledit.h palette.$(SRCSUFF) $(DUMMYOBJ)
cl @<<
$(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
<<
ogledit.res : ogledit.rc $(WXDIR)\include\msw\wx.rc
rc -r /dFAFA_LIB /i$(WXDIR)\include /i$(WXDIR)\contrib\include ogledit
clean:
-erase *.obj
-erase *.exe
-erase *.res
-erase *.map
-erase *.sbr
-erase *.pdb

View File

@@ -0,0 +1,18 @@
#
# File: makefile.g95
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright: (c) Julian Smart, 1999
#
# Makefile for wxWindows sample (Cygwin/Mingw32).
WXDIR = ../../../..
TARGET=ogledit
# EXTRACPPFLAGS=-I../../src
EXTRALIBS=-logl
OBJECTS = $(TARGET).o doc.o view.o palette.o
include $(WXDIR)/src/makeprog.g95

View File

@@ -0,0 +1,39 @@
#
# File: Makefile
# Author: Julian Smart
# Created: 1999
# Updated:
# Copyright: (c) 2000 Julian Smart
#
# Makefile for OGL demo (GTK version)
#
# This makefile requires wxWindows/GTK to be
# installed (possibly using "make install")
# on your system.
#
CPP = gcc -g
CC = gcc
WXCONFIG=../../../../wx-config
WXINCLUDE=-I../../../../include -I../../../include
WXLIB=-L../../../../lib -L../../../src/ogl
OBJECTS=ogledit.o palette.o doc.o view.o
ogledit: $(OBJECTS)
$(CPP) -o ogledit $(OBJECTS) `$(WXCONFIG) --libs` $(WXLIB) -logl
ogledit.o: ogledit.cpp
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c ogledit.cpp
palette.o: palette.cpp
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c palette.cpp
doc.o: doc.cpp
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c doc.cpp
view.o: view.cpp
$(CPP) `$(WXCONFIG) --cflags` -I../../src $(WXINCLUDE) -c view.cpp
clean:
rm -f *.o ogledit

View File

@@ -0,0 +1,29 @@
#
# File: makefile.vc
# Author: Julian Smart
# Created: 1993
# Updated:
# Copyright: (c) 1993, AIAI, University of Edinburgh
#
# "%W% %G%"
#
# Makefile : Builds ogledit example (MS VC++).
# Use FINAL=1 argument to nmake to build final version with no debugging
# info
# Set WXDIR for your system
WXDIR = $(WXWIN)
PROGRAM=ogledit
FINAL=0
!if "$(FINAL)" == "0"
EXTRALIBS=$(WXDIR)\lib\ogld.lib
!else
EXTRALIBS=$(WXDIR)\lib\ogl.lib
!endif
OBJECTS = $(PROGRAM).obj doc.obj view.obj palette.obj
!include $(WXDIR)\src\makeprog.vc

View File

@@ -0,0 +1,44 @@
#************************************************************************
# Makefile for DOCVIEW under VMS
# by Stefan Hammes
# (incomplete) update history:
# 09.06.95
#************************************************************************
#************************************************************************
# Definition section
# (cave: definitions and includes must begin with ',')
#************************************************************************
APPOPTS =
APPDEFS =
APPINCS =
#************************************************************************
# Module section
#************************************************************************
# Name of main module
MAIN = docview
# Object modules of the application.
OBJS = docview.obj view.obj doc.obj
OBJLIST =docview.obj,view.obj,doc.obj
.include [--.src]makevms.env
# main dependency
$(MAIN).exe : $(OBJS)
$(LINK) $(LINKFLAGS) /exec=$(MAIN).exe $(OBJLIST),$(WXLIB)/lib,$(OPTSFILE)/option
- purge *.exe
#************************************************************************
# Header file depedencies following
#************************************************************************
docview.$(OBJSUFF) : docview.$(SRCSUFF) docview.h doc.h view.h
doc.$(OBJSUFF) : doc.$(SRCSUFF) doc.h
view.$(OBJSUFF) : view.$(SRCSUFF) view.h

View File

@@ -0,0 +1,15 @@
#
# Makefile for WATCOM
#
# Created by D.Chubraev, chubraev@iem.ee.ethz.ch
# 8 Nov 1994
#
WXDIR = $(%WXWIN)
PROGRAM = ogledit
EXTRALIBS = $(WXDIR)\lib\ogl.lib
OBJECTS = $(PROGRAM).obj doc.obj view.obj palette.obj
!include $(WXDIR)\src\makeprog.wat

Binary file not shown.

After

Width:  |  Height:  |  Size: 766 B

View File

@@ -0,0 +1,45 @@
/* XPM */
static char * ogl_xpm[] = {
/* width height ncolors chars_per_pixel */
"32 32 7 1",
/* colors */
" s None c None",
". c #000000",
"+ c #000080",
"@ c #ff0000",
"# c #00ff00",
"$ c #00ffff",
"% c #ffffff",
/* pixels */
"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%",
"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%",
"%............%%%%%%........%%%%%",
"%.@@@@@@@@@@.%%%%..$$$$$$$$..%%%",
"%.@@@@@@@@@@.%%%.$$$$$$$$$$$$.%%",
"%.@@@@@@@@@@.+++.$$$$$$$$$$$$.%%",
"%.@@@@@@@@@@.+++.$$$$$$$$$$$$.%%",
"%.@@@@@@@@@@.%%%.$$$$$$$$$$$$.%%",
"%.@@@@@@@@@@.%%%%..$$$$$$$$..%%%",
"%............%%%%%.........%%%%%",
"%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%",
"%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%",
"%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%",
"%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%",
"%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%",
"%%%%%%++%%%%%%%%%%%%%%++%%%%%%%%",
"%%%%%%+.%%%%%%%%%%%%%%++%%%%%%%%",
"%%%%%%.+.%%%%%%%%%%%%.++..%%%%%%",
"%%%%%.+++.%%%%%%%%%..#####..%%%%",
"%%%%.+++++.%%%%%%%.#########.%%%",
"%%%.+++++++.%%%%%%.#########.%%%",
"%%.+++++++++.%%%%.###########.%%",
"%.+++++++++++.++++###########.%%",
"%%.+++++++++.+++++###########.%%",
"%%%.+++++++.%%%%%%.#########.%%%",
"%%%%.+++++.%%%%%%%.#########.%%%",
"%%%%%.+++.%%%%%%%%%..#####..%%%%",
"%%%%%%.+.%%%%%%%%%%%%.....%%%%%%",
"%%%%%%%.%%%%%%%%%%%%%%%%%%%%%%%%",
"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%",
"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%",
"%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%"};

View File

@@ -0,0 +1,213 @@
/////////////////////////////////////////////////////////////////////////////
// Name: ogledit.cpp
// Purpose: OGLEdit sample app
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
// #pragma implementation
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif
#include "ogledit.h"
#include "palette.h"
#include "doc.h"
#include "view.h"
#if defined(__WXGTK__) || defined(__WXMOTIF__)
#include "ogl.xpm"
#endif
// A macro needed for some compilers (AIX) that need 'main' to be defined
// in the application itself.
IMPLEMENT_APP(MyApp)
MyApp::MyApp(void)
{
frame = NULL;
myDocManager= NULL;
}
// The `main program' equivalent, creating the windows and returning the
// main frame
bool MyApp::OnInit(void)
{
wxOGLInitialize();
//// Create a document manager
myDocManager = new wxDocManager;
//// Create a template relating drawing documents to their views
(void) new wxDocTemplate(myDocManager, "Diagram", "*.dia", "", "dia", "Diagram Doc", "Diagram View",
CLASSINFO(DiagramDocument), CLASSINFO(DiagramView));
// If we've only got one window, we only get to edit
// one document at a time.
myDocManager->SetMaxDocsOpen(1);
//// Create the main frame window
frame = new MyFrame(myDocManager, NULL, "OGLEdit Demo", wxPoint(0, 0), wxSize(500, 400), wxDEFAULT_FRAME_STYLE);
//// Give it an icon
frame->SetIcon(wxICON(ogl));
//// Make a menubar
wxMenu *file_menu = new wxMenu;
wxMenu *edit_menu = NULL;
file_menu->Append(wxID_NEW, "&New...");
file_menu->Append(wxID_OPEN, "&Open...");
file_menu->Append(wxID_CLOSE, "&Close");
file_menu->Append(wxID_SAVE, "&Save");
file_menu->Append(wxID_SAVEAS, "Save &As...");
file_menu->AppendSeparator();
file_menu->Append(wxID_PRINT, "&Print...");
file_menu->Append(wxID_PRINT_SETUP, "Print &Setup...");
file_menu->Append(wxID_PREVIEW, "Print Pre&view");
edit_menu = new wxMenu;
edit_menu->Append(wxID_UNDO, "&Undo");
edit_menu->Append(wxID_REDO, "&Redo");
edit_menu->AppendSeparator();
edit_menu->Append(OGLEDIT_CUT, "&Cut");
edit_menu->AppendSeparator();
edit_menu->Append(OGLEDIT_CHANGE_BACKGROUND_COLOUR, "Change &background colour");
edit_menu->Append(OGLEDIT_EDIT_LABEL, "Edit &label");
frame->editMenu = edit_menu;
file_menu->AppendSeparator();
file_menu->Append(wxID_EXIT, "E&xit");
// A nice touch: a history of files visited. Use this menu.
myDocManager->FileHistoryUseMenu(file_menu);
wxMenu *help_menu = new wxMenu;
help_menu->Append(OGLEDIT_ABOUT, "&About");
wxMenuBar *menu_bar = new wxMenuBar;
menu_bar->Append(file_menu, "&File");
if (edit_menu)
menu_bar->Append(edit_menu, "&Edit");
menu_bar->Append(help_menu, "&Help");
frame->canvas = frame->CreateCanvas(NULL, frame);
frame->palette = wxGetApp().CreatePalette(frame);
myDocManager->CreateDocument("", wxDOC_NEW);
//// Associate the menu bar with the frame
frame->SetMenuBar(menu_bar);
frame->CreateStatusBar(1);
frame->Centre(wxBOTH);
frame->Show(TRUE);
return TRUE;
}
int MyApp::OnExit(void)
{
wxOGLCleanUp();
delete myDocManager;
return 0;
}
/*
* This is the top-level window of the application.
*/
IMPLEMENT_CLASS(MyFrame, wxDocParentFrame)
BEGIN_EVENT_TABLE(MyFrame, wxDocParentFrame)
EVT_MENU(OGLEDIT_ABOUT, MyFrame::OnAbout)
EVT_SIZE(MyFrame::OnSize)
EVT_CLOSE(MyFrame::OnCloseWindow)
END_EVENT_TABLE()
MyFrame::MyFrame(wxDocManager *manager, wxFrame *frame, const wxString& title,
const wxPoint& pos, const wxSize& size, long type):
wxDocParentFrame(manager, frame, -1, title, pos, size, type)
{
canvas = NULL;
palette = NULL;
editMenu = NULL;
}
void MyFrame::OnSize(wxSizeEvent& event)
{
if (canvas && palette)
{
int cw, ch;
GetClientSize(&cw, &ch);
int paletteX = 0;
int paletteY = 0;
int paletteW = 30;
int paletteH = ch;
int canvasX = paletteX + paletteW;
int canvasY = 0;
int canvasW = cw - paletteW;
int canvasH = ch;
palette->SetSize(paletteX, paletteY, paletteW, paletteH);
canvas->SetSize(canvasX, canvasY, canvasW, canvasH);
}
}
void MyFrame::OnCloseWindow(wxCloseEvent& event)
{
wxDocParentFrame::OnCloseWindow(event);
if (!event.GetVeto())
{
wxOGLCleanUp();
}
}
// Intercept menu commands
void MyFrame::OnAbout(wxCommandEvent& event)
{
(void)wxMessageBox("OGLEdit Demo\nTo draw a shape, select a shape on the toolbar and left-click on the canvas.\nTo draw a line, right-drag between shapes.\nFor further details, see the OGL manual.\n (c) Julian Smart 1996", "About OGLEdit");
}
// Creates a canvas. Called by OnInit as a child of the main window
MyCanvas *MyFrame::CreateCanvas(wxView *view, wxFrame *parent)
{
int width, height;
parent->GetClientSize(&width, &height);
// Non-retained canvas
MyCanvas *canvas = new MyCanvas(view, parent, -1, wxPoint(0, 0), wxSize(width, height), 0);
canvas->SetCursor(wxCursor(wxCURSOR_HAND));
// Give it scrollbars
canvas->SetScrollbars(20, 20, 50, 50);
return canvas;
}
MyFrame *GetMainFrame(void)
{
return wxGetApp().frame;
}

View File

@@ -0,0 +1,8 @@
NAME OGLEdit
DESCRIPTION 'OGL Editor Sample'
EXETYPE WINDOWS
STUB 'WINSTUB.EXE'
CODE PRELOAD MOVEABLE DISCARDABLE
DATA PRELOAD MOVEABLE MULTIPLE
HEAPSIZE 1024
STACKSIZE 8192

View File

@@ -0,0 +1,77 @@
/////////////////////////////////////////////////////////////////////////////
// Name: ogledit.h
// Purpose: OGL sample
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
// #pragma interface
#endif
#ifndef _OGLSAMPLE_OGLEDIT_H_
#define _OGLSAMPLE_OGLEDIT_H_
#include <wx/docview.h>
// Define a new application
class MyFrame;
class EditorToolPalette;
class MyApp: public wxApp
{
public:
MyFrame *frame;
wxDocManager* myDocManager;
MyApp(void);
bool OnInit(void);
int OnExit(void);
// Palette stuff
EditorToolPalette *CreatePalette(wxFrame *parent);
};
DECLARE_APP(MyApp)
// Define a new frame
class MyCanvas;
class MyFrame: public wxDocParentFrame
{
DECLARE_CLASS(MyFrame)
public:
wxMenu *editMenu;
MyCanvas *canvas;
EditorToolPalette *palette;
MyFrame(wxDocManager *manager, wxFrame *parent, const wxString& title,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE);
MyCanvas *CreateCanvas(wxView *view, wxFrame *parent);
void OnSize(wxSizeEvent& event);
void OnCloseWindow(wxCloseEvent& event);
void OnAbout(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
};
extern MyFrame *GetMainFrame(void);
// Menu/undo/redo commands
#define OGLEDIT_CUT 1
#define OGLEDIT_ADD_SHAPE 2
#define OGLEDIT_ADD_LINE 3
#define OGLEDIT_EDIT_LABEL 4
#define OGLEDIT_CHANGE_BACKGROUND_COLOUR 5
#define OGLEDIT_ABOUT 100
#endif
// _OGLSAMPLE_OGLEDIT_H_

View File

@@ -0,0 +1,10 @@
ogl ICON ogl.ico
TOOL1 BITMAP "bitmaps/tool1.bmp"
TOOL2 BITMAP "bitmaps/tool2.bmp"
TOOL3 BITMAP "bitmaps/tool3.bmp"
TOOL4 BITMAP "bitmaps/tool4.bmp"
ARROWTOOL BITMAP "bitmaps/arrow.bmp"
#include "wx/msw/wx.rc"

View File

@@ -0,0 +1,121 @@
/////////////////////////////////////////////////////////////////////////////
// Name: palette.cpp
// Purpose: OGLEdit palette
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
// #pragma implementation
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/toolbar.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>
#include "doc.h"
#include "view.h"
#include "ogledit.h"
#include "palette.h"
// Include pixmaps
#if defined(__WXGTK__) || defined(__WXMOTIF__)
#include "bitmaps/arrow.xpm"
#include "bitmaps/tool1.xpm"
#include "bitmaps/tool2.xpm"
#include "bitmaps/tool3.xpm"
#include "bitmaps/tool4.xpm"
#endif
/*
* Object editor tool palette
*
*/
EditorToolPalette::EditorToolPalette(wxWindow* parent, const wxPoint& pos, const wxSize& size,
long style):
TOOLPALETTECLASS(parent, -1, pos, size, style)
{
currentlySelected = -1;
#if 1 // ndef __WXGTK__
SetMaxRowsCols(1000, 1);
#endif
}
bool EditorToolPalette::OnLeftClick(int toolIndex, bool toggled)
{
// BEGIN mutual exclusivity code
if (toggled && (currentlySelected != -1) && (toolIndex != currentlySelected))
ToggleTool(currentlySelected, FALSE);
if (toggled)
currentlySelected = toolIndex;
else if (currentlySelected == toolIndex)
currentlySelected = -1;
// END mutual exclusivity code
return TRUE;
}
void EditorToolPalette::OnMouseEnter(int toolIndex)
{
}
void EditorToolPalette::SetSize(int x, int y, int width, int height, int sizeFlags)
{
TOOLPALETTECLASS::SetSize(x, y, width, height, sizeFlags);
}
EditorToolPalette *MyApp::CreatePalette(wxFrame *parent)
{
// Load palette bitmaps
#ifdef __WXMSW__
wxBitmap PaletteTool1("TOOL1");
wxBitmap PaletteTool2("TOOL2");
wxBitmap PaletteTool3("TOOL3");
wxBitmap PaletteTool4("TOOL4");
wxBitmap PaletteArrow("ARROWTOOL");
#elif defined(__WXGTK__) || defined(__WXMOTIF__)
wxBitmap PaletteTool1(tool1_xpm);
wxBitmap PaletteTool2(tool2_xpm);
wxBitmap PaletteTool3(tool3_xpm);
wxBitmap PaletteTool4(tool4_xpm);
wxBitmap PaletteArrow(arrow_xpm);
#endif
EditorToolPalette *palette = new EditorToolPalette(parent, wxPoint(0, 0), wxSize(-1, -1), wxTB_HORIZONTAL);
palette->SetMargins(2, 2);
palette->SetToolBitmapSize(wxSize(22, 22));
palette->AddTool(PALETTE_ARROW, PaletteArrow, wxNullBitmap, TRUE, 0, -1, NULL, "Pointer");
palette->AddTool(PALETTE_TOOL1, PaletteTool1, wxNullBitmap, TRUE, 0, -1, NULL, "Tool 1");
palette->AddTool(PALETTE_TOOL2, PaletteTool2, wxNullBitmap, TRUE, 0, -1, NULL, "Tool 2");
palette->AddTool(PALETTE_TOOL3, PaletteTool3, wxNullBitmap, TRUE, 0, -1, NULL, "Tool 3");
palette->AddTool(PALETTE_TOOL4, PaletteTool4, wxNullBitmap, TRUE, 0, -1, NULL, "Tool 4");
palette->Realize();
palette->ToggleTool(PALETTE_ARROW, TRUE);
palette->currentlySelected = PALETTE_ARROW;
return palette;
}

View File

@@ -0,0 +1,66 @@
/////////////////////////////////////////////////////////////////////////////
// Name: palette.h
// Purpose: OGL sample palette
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_PALETTE_H_
#define _OGLSAMPLE_PALETTE_H_
#ifdef __GNUG__
// #pragma interface
#endif
#include <wx/wx.h>
#include <wx/string.h>
#if 0 // def __WXGTK__
#include <wx/toolbar.h>
#else
#include <wx/tbarsmpl.h>
#endif
/*
* Object editor tool palette
*
*/
// TODO for wxWin: wxToolBar95 cannot be moved to a non-0,0 position!
// Needs to have a parent window...
// So use a simple toolbar at present.
#if 0 // def __WXGTK__
#define TOOLPALETTECLASS wxToolBar
#else
#define TOOLPALETTECLASS wxToolBarSimple
#endif
class EditorToolPalette: public TOOLPALETTECLASS
{
public:
int currentlySelected;
EditorToolPalette(wxWindow *parent, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxTB_VERTICAL);
bool OnLeftClick(int toolIndex, bool toggled);
void OnMouseEnter(int toolIndex);
void SetSize(int x, int y, int width, int height, int sizeFlags = wxSIZE_AUTO);
};
#define PALETTE_TOOL1 1
#define PALETTE_TOOL2 2
#define PALETTE_TOOL3 3
#define PALETTE_TOOL4 4
#define PALETTE_TOOL5 5
#define PALETTE_TOOL6 6
#define PALETTE_TOOL7 7
#define PALETTE_TOOL8 8
#define PALETTE_TOOL9 9
#define PALETTE_ARROW 10
#endif
// _OGLSAMPLE_PALETTE_H_

View File

@@ -0,0 +1,338 @@
/////////////////////////////////////////////////////////////////////////////
// Name: view.cpp
// Purpose: Implements view functionality in OGLEdit
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
// #pragma implementation
#endif
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/colordlg.h>
#if !wxUSE_DOC_VIEW_ARCHITECTURE
#error You must set wxUSE_DOC_VIEW_ARCHITECTURE to 1 in wx_setup.h!
#endif
#include "ogledit.h"
#include "doc.h"
#include "view.h"
#include "palette.h"
IMPLEMENT_DYNAMIC_CLASS(DiagramView, wxView)
BEGIN_EVENT_TABLE(DiagramView, wxView)
EVT_MENU(OGLEDIT_CUT, DiagramView::OnCut)
EVT_MENU(OGLEDIT_CHANGE_BACKGROUND_COLOUR, DiagramView::OnChangeBackgroundColour)
EVT_MENU(OGLEDIT_EDIT_LABEL, DiagramView::OnEditLabel)
END_EVENT_TABLE()
// What to do when a view is created. Creates actual
// windows for displaying the view.
bool DiagramView::OnCreate(wxDocument *doc, long flags)
{
frame = GetMainFrame();
canvas = GetMainFrame()->canvas;
canvas->view = this;
SetFrame(frame);
Activate(TRUE);
// Initialize the edit menu Undo and Redo items
doc->GetCommandProcessor()->SetEditMenu(((MyFrame *)frame)->editMenu);
doc->GetCommandProcessor()->Initialize();
wxShapeCanvas *shapeCanvas = (wxShapeCanvas *)canvas;
DiagramDocument *diagramDoc = (DiagramDocument *)doc;
shapeCanvas->SetDiagram(diagramDoc->GetDiagram());
diagramDoc->GetDiagram()->SetCanvas(shapeCanvas);
return TRUE;
}
#define CENTER FALSE // Place the drawing to the center of the page
// Sneakily gets used for default print/preview
// as well as drawing on the screen.
void DiagramView::OnDraw(wxDC *dc)
{
/* You might use THIS code if you were scaling
* graphics of known size to fit on the page.
*/
int w, h;
// We need to adjust for the graphic size, a formula will be added
float maxX = 900;
float maxY = 700;
// A better way of find the maxium values would be to search through
// the linked list
// Let's have at least 10 device units margin
float marginX = 10;
float marginY = 10;
// Add the margin to the graphic size
maxX += (2 * marginX);
maxY += (2 * marginY);
// Get the size of the DC in pixels
dc->GetSize (&w, &h);
// Calculate a suitable scaling factor
float scaleX = (float) (w / maxX);
float scaleY = (float) (h / maxY);
// Use x or y scaling factor, whichever fits on the DC
float actualScale = wxMin (scaleX, scaleY);
float posX, posY;
// Calculate the position on the DC for centring the graphic
if (CENTER == TRUE) // center the drawing
{
posX = (float) ((w - (200 * actualScale)) / 2.0);
posY = (float) ((h - (200 * actualScale)) / 2.0);
}
else // Use defined presets
{
posX = 10;
posY = 35;
}
// Set the scale and origin
dc->SetUserScale (actualScale, actualScale);
dc->SetDeviceOrigin ((long) posX, (long) posY);
// This part was added to preform the print preview and printing functions
dc->BeginDrawing(); // Allows optimization of drawing code under MS Windows.
wxDiagram *diagram_p=((DiagramDocument*)GetDocument())->GetDiagram(); // Get the current diagram
if (diagram_p->GetShapeList())
{
wxCursor *old_cursor = NULL;
wxNode *current = diagram_p->GetShapeList()->First();
while (current) // Loop through the entire list of shapes
{
wxShape *object = (wxShape *)current->Data();
if (!object->GetParent())
{
object->Draw(* dc); // Draw the shape onto our printing dc
}
current = current->Next(); // Procede to the next shape in the list
}
}
dc->EndDrawing(); // Allows optimization of drawing code under MS Windows.
}
void DiagramView::OnUpdate(wxView *sender, wxObject *hint)
{
if (canvas)
canvas->Refresh();
}
// Clean up windows used for displaying the view.
bool DiagramView::OnClose(bool deleteWindow)
{
if (!GetDocument()->Close())
return FALSE;
DiagramDocument *diagramDoc = (DiagramDocument *)GetDocument();
diagramDoc->GetDiagram()->SetCanvas(NULL);
canvas->Clear();
canvas->SetDiagram(NULL);
canvas->view = NULL;
canvas = NULL;
wxString s = wxTheApp->GetAppName();
if (frame)
frame->SetTitle(s);
SetFrame(NULL);
Activate(FALSE);
return TRUE;
}
wxShape *DiagramView::FindSelectedShape(void)
{
DiagramDocument *doc = (DiagramDocument *)GetDocument();
wxShape *theShape = NULL;
wxNode *node = doc->GetDiagram()->GetShapeList()->First();
while (node)
{
wxShape *eachShape = (wxShape *)node->Data();
if ((eachShape->GetParent() == NULL) && eachShape->Selected())
{
theShape = eachShape;
node = NULL;
}
else node = node->Next();
}
return theShape;
}
void DiagramView::OnCut(wxCommandEvent& event)
{
DiagramDocument *doc = (DiagramDocument *)GetDocument();
wxShape *theShape = FindSelectedShape();
if (theShape)
doc->GetCommandProcessor()->Submit(new DiagramCommand("Cut", OGLEDIT_CUT, doc, NULL, 0.0, 0.0, TRUE, theShape));
}
void DiagramView::OnChangeBackgroundColour(wxCommandEvent& event)
{
DiagramDocument *doc = (DiagramDocument *)GetDocument();
wxShape *theShape = FindSelectedShape();
if (theShape)
{
wxColourData data;
data.SetChooseFull(TRUE);
data.SetColour(theShape->GetBrush()->GetColour());
wxColourDialog *dialog = new wxColourDialog(frame, &data);
wxBrush *theBrush = NULL;
if (dialog->ShowModal() == wxID_OK)
{
wxColourData retData = dialog->GetColourData();
wxColour col = retData.GetColour();
theBrush = wxTheBrushList->FindOrCreateBrush(col, wxSOLID);
}
dialog->Close();
if (theBrush)
doc->GetCommandProcessor()->Submit(new DiagramCommand("Change colour", OGLEDIT_CHANGE_BACKGROUND_COLOUR, doc,
theBrush, theShape));
}
}
void DiagramView::OnEditLabel(wxCommandEvent& event)
{
wxShape *theShape = FindSelectedShape();
if (theShape)
{
wxString newLabel = wxGetTextFromUser("Enter new label", "Shape Label", ((MyEvtHandler *)theShape->GetEventHandler())->label);
GetDocument()->GetCommandProcessor()->Submit(new DiagramCommand("Edit label", OGLEDIT_EDIT_LABEL, (DiagramDocument*) GetDocument(), newLabel, theShape));
}
}
/*
* Window implementations
*/
BEGIN_EVENT_TABLE(MyCanvas, wxShapeCanvas)
EVT_MOUSE_EVENTS(MyCanvas::OnMouseEvent)
EVT_PAINT(MyCanvas::OnPaint)
END_EVENT_TABLE()
// Define a constructor for my canvas
MyCanvas::MyCanvas(wxView *v, wxWindow *parent, wxWindowID id, const wxPoint& pos,
const wxSize& size, long style):
wxShapeCanvas(parent, id, pos, size, style)
{
SetBackgroundColour(*wxWHITE);
view = v;
}
MyCanvas::~MyCanvas(void)
{
}
void MyCanvas::OnLeftClick(double x, double y, int keys)
{
EditorToolPalette *palette = wxGetApp().frame->palette;
wxClassInfo *info = NULL;
switch (palette->currentlySelected)
{
case PALETTE_TOOL1:
{
info = CLASSINFO(wxRectangleShape);
break;
}
case PALETTE_TOOL2:
{
info = CLASSINFO(wxRoundedRectangleShape);
break;
}
case PALETTE_TOOL3:
{
info = CLASSINFO(wxEllipseShape);
break;
}
case PALETTE_TOOL4:
{
info = CLASSINFO(wxDiamondShape);
break;
}
default:
break;
}
if (info)
{
view->GetDocument()->GetCommandProcessor()->Submit(
new DiagramCommand((char*) info->GetClassName(), OGLEDIT_ADD_SHAPE, (DiagramDocument *)view->GetDocument(), info,
x, y));
}
}
void MyCanvas::OnRightClick(double x, double y, int keys)
{
}
void MyCanvas::OnDragLeft(bool draw, double x, double y, int keys)
{
}
void MyCanvas::OnBeginDragLeft(double x, double y, int keys)
{
}
void MyCanvas::OnEndDragLeft(double x, double y, int keys)
{
}
void MyCanvas::OnDragRight(bool draw, double x, double y, int keys)
{
}
void MyCanvas::OnBeginDragRight(double x, double y, int keys)
{
}
void MyCanvas::OnEndDragRight(double x, double y, int keys)
{
}
void MyCanvas::OnMouseEvent(wxMouseEvent& event)
{
wxShapeCanvas::OnMouseEvent(event);
}
void MyCanvas::OnPaint(wxPaintEvent& event)
{
// if (GetDiagram())
wxShapeCanvas::OnPaint(event);
}

View File

@@ -0,0 +1,79 @@
/////////////////////////////////////////////////////////////////////////////
// Name: view.h
// Purpose: View-related classes
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _OGLSAMPLE_VIEW_H_
#define _OGLSAMPLE_VIEW_H_
#ifdef __GNUG__
// #pragma interface "view.h"
#endif
#include "doc.h"
#include <wx/ogl/ogl.h>
class MyCanvas: public wxShapeCanvas
{
// DECLARE_DYNAMIC_CLASS(wxShapeCanvas)
protected:
public:
wxView *view;
MyCanvas(wxView *view, wxWindow *parent = NULL, wxWindowID id = -1,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxRETAINED);
~MyCanvas(void);
void OnMouseEvent(wxMouseEvent& event);
void OnPaint(wxPaintEvent& event);
virtual void OnLeftClick(double x, double y, int keys = 0);
virtual void OnRightClick(double x, double y, int keys = 0);
virtual void OnDragLeft(bool draw, double x, double y, int keys=0); // Erase if draw false
virtual void OnBeginDragLeft(double x, double y, int keys=0);
virtual void OnEndDragLeft(double x, double y, int keys=0);
virtual void OnDragRight(bool draw, double x, double y, int keys=0); // Erase if draw false
virtual void OnBeginDragRight(double x, double y, int keys=0);
virtual void OnEndDragRight(double x, double y, int keys=0);
DECLARE_EVENT_TABLE()
};
class DiagramView: public wxView
{
DECLARE_DYNAMIC_CLASS(DiagramView)
private:
public:
wxFrame *frame;
MyCanvas *canvas;
DiagramView(void) { canvas = NULL; frame = NULL; };
~DiagramView(void) {};
bool OnCreate(wxDocument *doc, long flags);
void OnDraw(wxDC *dc);
void OnUpdate(wxView *sender, wxObject *hint = NULL);
bool OnClose(bool deleteWindow = TRUE);
wxShape *FindSelectedShape(void);
// void OnMenuCommand(int cmd);
void OnCut(wxCommandEvent& event);
void OnChangeBackgroundColour(wxCommandEvent& event);
void OnEditLabel(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
};
#endif
// _OGLSAMPLE_VIEW_H_

View File

@@ -0,0 +1,19 @@
# Makefile for OGL Studio.
# $Id$
top_srcdir = @top_srcdir@/..
top_builddir = ../../../..
program_dir = contrib/samples/ogl/studio
PROGRAM=studio
DATAFILES=studio_resources.wxr
OBJECTS=$(PROGRAM).o doc.o shapes.o symbols.o view.o cspalette.o\
mainfrm.o project.o dialogs.o csprint.o
APPEXTRALIBS=$(top_builddir)/lib/libogl.@WX_TARGET_LIBRARY_TYPE@
APPEXTRADEFS=-I$(top_srcdir)/contrib/include -I$(top_srcdir)/$(program_dir)/bitmaps
include $(top_builddir)/src/makeprog.env

View File

@@ -0,0 +1,391 @@
# Microsoft Developer Studio Project File - Name="StudioVC" - Package Owner=<4>
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Application" 0x0101
CFG=StudioVC - Win32 Debug
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
!MESSAGE use the Export Makefile command and run
!MESSAGE
!MESSAGE NMAKE /f "StudioVC.mak".
!MESSAGE
!MESSAGE You can specify a configuration when running NMAKE
!MESSAGE by defining the macro CFG on the command line. For example:
!MESSAGE
!MESSAGE NMAKE /f "StudioVC.mak" CFG="StudioVC - Win32 Debug"
!MESSAGE
!MESSAGE Possible choices for configuration are:
!MESSAGE
!MESSAGE "StudioVC - Win32 Release" (based on "Win32 (x86) Application")
!MESSAGE "StudioVC - Win32 Debug" (based on "Win32 (x86) Application")
!MESSAGE "StudioVC - Win32 Debug DLL" (based on "Win32 (x86) Application")
!MESSAGE "StudioVC - Win32 Release DLL" (based on "Win32 (x86) Application")
!MESSAGE
# Begin Project
# PROP AllowPerConfigDependencies 0
# PROP Scc_ProjName ""
# PROP Scc_LocalPath ""
CPP=cl.exe
MTL=midl.exe
RSC=rc.exe
!IF "$(CFG)" == "StudioVC - Win32 Release"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "Release"
# PROP BASE Intermediate_Dir "Release"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "Release"
# PROP Intermediate_Dir "Release"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/msw" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw.lib png.lib zlib.lib jpeg.lib tiff.lib regex.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /nodefaultlib:"msvcrtd.lib" /out:"Release/studio.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "Debug"
# PROP BASE Intermediate_Dir "Debug"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "Debug"
# PROP Intermediate_Dir "Debug"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswd" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmswd.lib pngd.lib zlibd.lib jpegd.lib tiffd.lib regexd.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /nodefaultlib:"msvcrt.lib" /out:"Debug/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# PROP BASE Output_Dir "DebugDLL"
# PROP BASE Intermediate_Dir "DebugDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 1
# PROP Output_Dir "DebugDLL"
# PROP Intermediate_Dir "DebugDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdlld" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D DEBUG=1 /D "__WXDEBUG__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /Yu"wx/wxprec.h" /FD /c
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "_DEBUG"
# ADD RSC /l 0x809 /d "_DEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wxmsw232d.lib ogld.lib /nologo /subsystem:windows /debug /machine:I386 /nodefaultlib:"libcd.lib" /nodefaultlib:"libcid.lib" /out:"DebugDLL/studio.exe" /pdbtype:sept /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# PROP BASE Output_Dir "ReleaseDLL"
# PROP BASE Intermediate_Dir "ReleaseDLL"
# PROP BASE Target_Dir ""
# PROP Use_MFC 0
# PROP Use_Debug_Libraries 0
# PROP Output_Dir "ReleaseDLL"
# PROP Intermediate_Dir "ReleaseDLL"
# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /O1 /Ob2 /I "../../../../include" /I "../../../../contrib/include" /I "../../../../lib/mswdll" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "__WINDOWS__" /D "__WXMSW__" /D "__WIN95__" /D "__WIN32__" /D WINVER=0x0400 /D "STRICT" /D WXUSINGDLL=1 /FD /c
# SUBTRACT CPP /YX
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE RSC /l 0x809 /d "NDEBUG"
# ADD RSC /l 0x809 /d "NDEBUG"
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
LINK32=link.exe
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib /nologo /subsystem:windows /machine:I386
# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib winmm.lib wx232.lib ogl.lib /nologo /subsystem:windows /machine:I386 /nodefaultlib:"libc.lib" /nodefaultlib:"libci.lib" /out:"ReleaseDLL/studio.exe" /libpath:"../../../../lib" /libpath:"../../../../contrib/lib"
!ENDIF
# Begin Target
# Name "StudioVC - Win32 Release"
# Name "StudioVC - Win32 Debug"
# Name "StudioVC - Win32 Debug DLL"
# Name "StudioVC - Win32 Release DLL"
# Begin Source File
SOURCE=.\cspalette.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\cspalette.h
# End Source File
# Begin Source File
SOURCE=.\csprint.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\dialogs.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\dialogs.h
# End Source File
# Begin Source File
SOURCE=.\doc.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\doc.h
# End Source File
# Begin Source File
SOURCE=.\mainfrm.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\mainfrm.h
# End Source File
# Begin Source File
SOURCE=.\project.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\project.h
# End Source File
# Begin Source File
SOURCE=.\shapes.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\shapes.h
# End Source File
# Begin Source File
SOURCE=.\studio.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\studio.h
# End Source File
# Begin Source File
SOURCE=.\studio.rc
# ADD BASE RSC /l 0x809
# ADD RSC /l 0x809 /i "../../../../include" /i "../../../../contrib/include"
# End Source File
# Begin Source File
SOURCE=.\symbols.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\symbols.h
# End Source File
# Begin Source File
SOURCE=.\view.cpp
!IF "$(CFG)" == "StudioVC - Win32 Release"
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug"
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Debug DLL"
# SUBTRACT BASE CPP /YX /Yc /Yu
# SUBTRACT CPP /YX /Yc /Yu
!ELSEIF "$(CFG)" == "StudioVC - Win32 Release DLL"
!ENDIF
# End Source File
# Begin Source File
SOURCE=.\view.h
# End Source File
# End Target
# End Project

View File

@@ -0,0 +1,29 @@
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "StudioVC"=.\StudioVC.dsp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *alignb_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c Yellow",
/* pixels */
" ",
" ........",
" .XXXXXX.",
" .XXXXXX.",
" .XXXXXX.",
" .XXXXXX.",
" .XXXXXX.",
" ..... .XXXXXX.",
" .XXX. .XXXXXX.",
" .XXX. .XXXXXX.",
" .XXX. .XXXXXX.",
" .XXX. .XXXXXX.",
" ..... ........",
" ",
" "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *alignl_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c Yellow",
/* pixels */
" ",
" ...... ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" ...... ",
" ",
" ",
" ........... ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" ........... ",
" "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *alignr_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c Yellow",
/* pixels */
" ",
" ...... ",
" .XXXX. ",
" .XXXX. ",
" .XXXX. ",
" ...... ",
" ",
" ",
" ........... ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" ........... ",
" "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *alignt_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c Yellow",
/* pixels */
" ",
" ..... ........",
" .XXX. .XXXXXX.",
" .XXX. .XXXXXX.",
" .XXX. .XXXXXX.",
" .XXX. .XXXXXX.",
" ..... .XXXXXX.",
" .XXXXXX.",
" .XXXXXX.",
" .XXXXXX.",
" .XXXXXX.",
" .XXXXXX.",
" ........",
" ",
" "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

View File

@@ -0,0 +1,31 @@
/* XPM */
static char *arrow_xpm[] = {
/* width height num_colors chars_per_pixel */
" 22 22 2 1",
/* colors */
". c #000000",
"# c #c0c0c0",
/* pixels */
"######################",
"######################",
"######################",
"######################",
"######################",
"#######.##############",
"#######..#############",
"#######...############",
"#######....###########",
"#######.....##########",
"#######......#########",
"#######.......########",
"#######........#######",
"#######.....##########",
"#######..#..##########",
"#######.###..#########",
"###########..#########",
"############..########",
"############..########",
"######################",
"######################",
"######################"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

Before

Width:  |  Height:  |  Size: 238 B

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,25 @@
/* XPM */
static char *copy_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 4 1",
" c None",
". c Black",
"X c Gray100",
"o c #000080",
/* pixels */
" ",
" ...... ",
" .XXXX.. ",
" .XXXX.X. ",
" .X..X.oooooo ",
" .XXXXXoXXXXoo ",
" .X....oXXXXoXo ",
" .XXXXXoX..Xoooo",
" .X....oXXXXXXXo",
" .XXXXXoX.....Xo",
" ......oXXXXXXXo",
" oX.....Xo",
" oXXXXXXXo",
" ooooooooo",
" "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *copysize_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c Yellow",
/* pixels */
" ",
".......... ... ",
".XXXXXXXX. . ",
".XXXXXXXX. . ",
".XXXXXXXX. .....",
".XXXXXXXX. ... ",
".......... . ",
" ",
" . . . . . . ",
" ",
" . ...... . ",
" .XXXX. ",
" . ...... . ",
" ",
" . . . . . . "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *cut_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c #000080",
/* pixels */
" ",
" . . ",
" . . ",
" . . ",
" .. .. ",
" . . ",
" ... ",
" . ",
" X.X ",
" X XXX ",
" XXX X X ",
" X X X X ",
" X X X X ",
" X X XX ",
" XX "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,25 @@
/* XPM */
static char *cutpoint_xpm[] = {
/* width height num_colors chars_per_pixel */
" 16 15 3 1",
/* colors */
". c #000000",
"# c #800000",
"a c #c0c0c0",
/* pixels */
"aaaaaaaaaaaaaaaa",
"aaaaaaaaaaaaaaaa",
"aa#aaaaaaaaa#aaa",
"aaa#aaaaaaa#aaaa",
"aaaa#aaaaa#aaaaa",
"aaaaa#...#aaaaaa",
"aaaaaa#.#.aaaaaa",
".......#........",
"aaaaaa#.#.aaaaaa",
"aaaaa#...#aaaaaa",
"aaaa#aaaaa#aaaaa",
"aaa#aaaaaaa#aaaa",
"aa#aaaaaaaaa#aaa",
"aaaaaaaaaaaaaaaa",
"aaaaaaaaaaaaaaaa"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *help_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c #008080",
/* pixels */
" ",
" ...... ",
" .XXXXX.. ",
" .XX...XX.. ",
" .X.. .X.. ",
" .X.. .XX.. ",
" .. .XX.. ",
" .XX.. ",
" .X.. ",
" .X.. ",
" .X.. ",
" .. ",
" .XX.. ",
" .XX.. ",
" ... "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *helpcs_xpm[] = {
/* width height num_colors chars_per_pixel */
" 16 15 2 1",
/* colors */
". c #000000",
"# c #c0c0c0",
/* pixels */
"################",
".########.....##",
"..######..###..#",
"...####..####...",
"....###..####...",
".....###..###..#",
"......######..##",
".......####..###",
"........##..####",
".....#####..####",
"..#..###########",
".###..####...###",
"####..####...###",
"#####..#########",
"#####..#########"
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

View File

@@ -0,0 +1,24 @@
/* XPM */
static char *horiz_xpm[] = {
/* columns rows colors chars-per-pixel */
"16 15 3 1",
" c None",
". c Black",
"X c Yellow",
/* pixels */
" ",
" ..... ",
" .XXX. ",
" .XXX. ",
" .XXX. ",
" ..... ",
" ",
" ",
" ........... ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" .XXXXXXXXX. ",
" ........... ",
" "
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 238 B

Some files were not shown because too many files have changed in this diff Show More