Compare commits

..

4026 Commits

Author SHA1 Message Date
Bryan Petty
ee3ad6dd6e This commit was manufactured by cvs2svn to create tag 'wxPy_2_3b1'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/wxPy_2_3b1@8905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 04:00:06 +00:00
Robin Dunn
2f2dc32851 Updated distribution stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 04:00:06 +00:00
Robin Dunn
1404c10bca *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 03:20:07 +00:00
Robin Dunn
d3f175108b a fix in the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 02:55:03 +00:00
Robin Dunn
2cd2fac87f Fixed a bunch of leaking references in how the callbacks deal with
objects.  Should be MUCH better now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 02:53:24 +00:00
Robin Dunn
cb29fb86c0 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-11 02:33:52 +00:00
Stefan Csomor
8d823dabdc cw6 makefiles (makemac6.mcp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 16:03:42 +00:00
Stefan Csomor
e9d7ad4dbf added cw6 fixes and patrick's patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 14:41:41 +00:00
Vadim Zeitlin
ca36c2cc8f merged in slider validation bug from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 12:50:32 +00:00
Vadim Zeitlin
3d8dea7e2e merged in the small changes from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 12:04:19 +00:00
Stefan Csomor
d015713e78 added cw6 fixes and patrick's patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 10:17:00 +00:00
Robin Dunn
de20db997d Fixed a bunch of leaking references in how the callbacks deal with
objects.  Should be MUCH better now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 08:37:52 +00:00
Vadim Zeitlin
2d5e89e1cd merged in the fix for printing \% on PS DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-10 00:24:06 +00:00
Vadim Zeitlin
d8edb3856b fixed compilation with wxUSE_TEXTFILE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-05 22:38:43 +00:00
Julian Smart
1192d9ecd0 Small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-04 16:44:50 +00:00
Julian Smart
51ab940072 Updated the FAQ a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-04 16:27:11 +00:00
Ron Lee
eb158888a0 added completed fi.po translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-04 05:48:47 +00:00
Ron Lee
97d69640d0 rebuilt .po files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-04 05:13:58 +00:00
Julian Smart
c57e060dc3 Corrected bug in cmdlpars.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-03 18:34:19 +00:00
Julian Smart
5e0e6ceb8f Added accelerators to Undo/Redo menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-03 18:25:13 +00:00
Vadim Zeitlin
b6a3d6ad88 fix for assert failure when deleting tree ctrl in-place edit window (sometimes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-01 01:39:16 +00:00
Vadim Zeitlin
3e79ed960a fix for enter processing of owner-drawn buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-12-01 01:13:20 +00:00
George Tasker
55842641bb A few spelling typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-29 15:29:04 +00:00
George Tasker
5df6ed1c52 Fixed mis-matched curley braces on third line from the end (missing a left curley brace -- [wxgetenv})
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-29 14:45:33 +00:00
David Webster
bf09fab3b6 wx22 to wx23
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-29 05:20:26 +00:00
David Webster
496fd9fb93 Minor updates to help compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-29 05:18:49 +00:00
David Webster
eedb15434a VA needs FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-29 05:17:43 +00:00
David Webster
05a8bfed08 Updates to Timer class and a couple of wxDC methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-28 22:13:33 +00:00
David Webster
b9cf5e6d2b Updates to Timer class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-28 22:12:58 +00:00
Robert Roebling
880d870ea4 Speed-up for wxCanvasImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-28 21:01:20 +00:00
David Webster
bd3e41f600 declare the wx2os2PenStyle helper in the header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 21:26:12 +00:00
David Webster
fd368161d9 Forgot to update this enhancement from last weekend
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 20:01:19 +00:00
David Webster
bf2c4b942a OS/2 VisualAge doesn't know about lower case true and false and redefine a for loop variable in gdicmn for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 20:00:18 +00:00
David Webster
3bdb723286 OS/2 VisualAge doesn't know about lower case true and false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 19:59:25 +00:00
Václav Slavík
aaa2b34e81 MSW fixes; ^M removal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 13:55:03 +00:00
Jouk Jansen
97b305b71c Modified Files:
wxWindows/setup.h_vms wxWindows/src/unix/utilsunx.cpp

 Updated VMScompile support
 Corrected typo
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 12:13:25 +00:00
Robert Roebling
3ac81fb1c5 Applied glcanvas patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 11:11:49 +00:00
Robert Roebling
6491f9335e Removed most of user dir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 11:11:12 +00:00
Robert Roebling
b9c6012844 Removed surplus file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 11:02:07 +00:00
David Webster
19bf0c6900 A few OS/2 additions to enable the colour database to work with PM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 04:18:36 +00:00
David Webster
26ac77dbe2 wxPen code to fully enable pens and their use in wxDC's.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 04:16:24 +00:00
David Webster
b34590ebf8 Some OS/2 customization to make a more presentable statusbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 04:14:45 +00:00
Vadim Zeitlin
308978f6aa wxSetEnv for Win32 (now seems to work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-27 00:21:29 +00:00
Vadim Zeitlin
1fb454751d wxSetEnv for Win32 (doesn't really work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 23:13:04 +00:00
Vadim Zeitlin
5807634c6e documented just added env functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 22:55:32 +00:00
Vadim Zeitlin
8fd0d89b7d added wxGet/Set/UnsetEnv() for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 22:46:35 +00:00
Vadim Zeitlin
b855ef7757 fixed SubString docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 19:40:50 +00:00
Robert Roebling
8636c073a3 Split wxCanvas into two (wxVectorCanvas).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 16:36:43 +00:00
Vadim Zeitlin
a2bd1fbb8b fix for uninit vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 14:18:27 +00:00
Vadim Zeitlin
6e50d0eb2f oops... compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 14:16:39 +00:00
Julian Smart
6292dad031 Added m_destroybuf initialisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 11:15:05 +00:00
Robert Roebling
da052901fd Corrected typos in geometry.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 10:25:20 +00:00
Robert Roebling
e22454beda Ported stable-tree refresh code to devel tree.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-26 10:20:11 +00:00
Vadim Zeitlin
af88eefff2 patch 102361 applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:41:27 +00:00
Vadim Zeitlin
ee495e4cab typo in AutosizeRowOrCol fixed (bug 115437)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:23:41 +00:00
Václav Slavík
9354814833 various bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:14:27 +00:00
Václav Slavík
2f34c1a97e updated XRC sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:14:11 +00:00
Václav Slavík
bee5a36e15 added growable cols and rows to wxFlexGridSizer XRC handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:13:57 +00:00
Václav Slavík
91dd52fe3b added wxFrame::IsMDIChild() (msw only, protected)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:13:29 +00:00
Václav Slavík
f94dfb3897 applied (part of) Alexey Leko's patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:13:06 +00:00
Vadim Zeitlin
4e00f54113 fixed Set(wxPercentOf) (bug #12227)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 23:12:57 +00:00
Vadim Zeitlin
4ad3c82fff compilation fix for !wxUSE_DIRDLGG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 22:44:55 +00:00
Vadim Zeitlin
5eaac5b574 fixed majorDim == 0 problem in wxGTK::wxRadioBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 22:23:44 +00:00
Robert Roebling
f03b31e838 Small mods to wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-25 20:07:21 +00:00
Robert Roebling
6c7873e1a5 Made geometry classes link.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 21:52:37 +00:00
Robert Roebling
cd79f7b0d9 Made geometry class link.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 21:51:52 +00:00
Robert Roebling
f9032263ab Trying to understand wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 20:19:39 +00:00
Václav Slavík
c8b7a961ff added i18n support to the compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:20:20 +00:00
Václav Slavík
c39755aa1c added support for 'imagefile' property type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:20:08 +00:00
Václav Slavík
26607f41ae wxrcedit bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:19:48 +00:00
Václav Slavík
fda09b3f66 fixed bug in wxFileDialog: it tested wxCHANGE_DIR against GetWindowStyle() instead of m_dialogStyle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:19:29 +00:00
Vadim Zeitlin
a1f79c1e00 1. added wxGTK::wxToolBar::SetToolShortHelp() and test for it in sample
2. fix a crash if SetSelection is called too early in wxTextCtrl
3. patch for mouse position in wxTreeCtrl events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 17:07:12 +00:00
George Tasker
38cfbffa15 Added wxDbTable::SetOrderByColNums() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 16:47:45 +00:00
George Tasker
eb3b9ddac4 Increased the max length of allowed WHERE clauses and full statements (eventually needs to be changed over to use wxString).
Fixed the order of params in TablePrivileges()
Changed 0s to NULLs in params


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 16:46:11 +00:00
George Tasker
2b63ff5d38 Added SetOrderByColNums() function
Changed 0s to NULLs for const char * params


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 16:43:36 +00:00
George Tasker
59990c225c More corrections and additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 16:40:44 +00:00
Vadim Zeitlin
5442f43593 small typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 14:27:09 +00:00
Robert Roebling
08bf1d5d98 matrix compile fix
make listctrl scroll one line in report more,
    not some arbitrary 15 pixels


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 13:34:35 +00:00
Robert Roebling
fdd4c4d0a4 Added matrix.cpp to compilables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:42:08 +00:00
Robert Roebling
513abb883f Made dnd reentrent safe as per stable tree.
Dropped in new wxMatrix.
  Compile wxMatrix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:41:23 +00:00
Robert Roebling
555526fbff dropped in new wxMatrix (from wxCanvas)
use wxUSE_GEOMETRY


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:40:19 +00:00
Robert Roebling
147a1f7e70 RPM version 2.3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:39:30 +00:00
Robert Roebling
e8f65ba610 Bump up version to 2.3.0,
Add wxUSE_GEOMETRY


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:38:55 +00:00
Robert Roebling
44f889cb5f Adding wxUSE_GEOMETRY to setup.h.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:36:52 +00:00
Robert Roebling
09cc749c7d Adding new wxCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:35:39 +00:00
Robert Roebling
84fba40bea Adding new wxCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 12:34:35 +00:00
Jouk Jansen
f90fbcc192 Committing in .
Modified Files:
 	wxWindows/src/gtk/listbox.cpp

 corrections for VMS since someone updated this one using an old version.

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 09:50:27 +00:00
Jouk Jansen
f58557a80d Committing in .
Modified Files:
 	wxWindows/src/gtk/app.cpp

 Someone included VMS-stuff that I removed several month ago because it was
not working. Now it not even compiled!!!!

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 08:27:02 +00:00
Vadim Zeitlin
b913871062 linking fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-24 04:22:05 +00:00
Robert Roebling
b1f541081a Updated afm files as per stable branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 21:46:23 +00:00
Robert Roebling
585266618c Don't call busy cursor when creating a message
dialog - it takes longer to set the cursor than
    to create the dialog under GTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 21:44:01 +00:00
Robert Roebling
733b25e1a9 Ported DrawPolygone fix and new PS font name
matching from stable branch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 21:42:55 +00:00
Robert Roebling
96997d6511 Ported new double idle handlers for pending events
processing from stable branch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 21:41:37 +00:00
Robert Roebling
4a82abc831 Upported wxListBox key handling and SetFirstItem()
from stable branch. Removed Vadim's code since
    I think mine handles all cases correctly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 21:40:26 +00:00
Robert Roebling
d1dea842a0 Busy cursor don't need wxYield(), SendIdleEvents()
is enough and safe.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 21:38:41 +00:00
Julian Smart
42b3e73ede Some mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 20:33:40 +00:00
Vadim Zeitlin
47fc03d21a more fixes to stream code: allow deriving from wxStreamBuffer and using custom
buffers with wxBufferedInput/OutputStream


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 19:45:46 +00:00
Julian Smart
ee21d1542c Clarified some things for Mingw32 compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 19:07:49 +00:00
Vadim Zeitlin
67c8c225f4 compilation fixes for wxMemoryStreams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 16:26:12 +00:00
George Tasker
c67d60484b Corrections and additions to the wxODBC docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 14:39:03 +00:00
George Tasker
3924dd226e Lots more memory/resource leak fixes. There are still more, but this solves about 75% of them.
These fixes also speed up tex2rtf greatly.  I can now build all the RTF version of the wxWindows manual in under 30 seconds, when before it took around 90 seconds.
Curley Brace matching is turned back on again.  I cannot find any places where it does not work.  If you find one, let me know


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 13:27:52 +00:00
Vadim Zeitlin
49e399d8c0 fixed memory allocation code of wxStreamBuffer to not realloc() new[]ed memory any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-23 04:34:27 +00:00
George Tasker
35d367d8dd Fixed missing Curley Brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-22 11:45:41 +00:00
David Webster
fa5593acee Update OS/2 Frame WM_PAINT processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-22 06:07:25 +00:00
George Tasker
973f253905 Fixed double deletion of a dialog in the effect of a failed connection to the datasource
Fixed call to TablePrivileges() in a commented out piece of code to use the correct parameters, in case someone uses it for an example


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-22 00:28:35 +00:00
George Tasker
d8a0a1c930 Fixed problems with the wxDb::Open(wxDb *copyDb) not copying in all the different data types required values
Added Interbase database support based on contributions from Roger Gammans
Enabled the wxDb::TablePrivileges() function for v2.3/2.4
Fixed a bunch of problems with wxDb::TablePrivileges() not working correctly with all databases.
Added the ability to pass in a SCHEMA to wxDbTablePrivileges() that greatly improves the speed of the privileges lookup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-22 00:19:25 +00:00
George Tasker
f02d4a64a1 Added what I think is full support for Null column values in the tables, partially based on submissions by Roger Gammans
Added a parameters to wxDbTable::Open() to indicate whether Open() should check for table privileges or not.
wxDbTable::ClearMemberVar() added to set a single column to an initialized value
::ClearMemberVar() and ::ClearMemberVars() can now optionally set a column to be NULL via ::SetColNull()
::SetColNull() added as the primary function name for setting a column to be a NULL value, and ::SetNull() is deprecated
::SetColNull() now has a param to select whether a columns value is NULL or not.
::SetColNull() will now clear the column value in memory when setting the column to be NULL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-22 00:18:45 +00:00
Vadim Zeitlin
3988b155d7 fixed wxTextCtrl::GetValue() bug for empty richedit ctrls (Marvin Aviles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-21 18:01:27 +00:00
Vadim Zeitlin
e5f56a004e fixed bug with Broadcast() not waking up all threads (Pieter van der Meulen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-21 17:22:03 +00:00
Robin Dunn
185d7c3ee4 New typemaps for wxString when compiling for Python 2.0 and beyond
that allow Unicode objects to be passed as well as String objects.  If
a Unicode object is passed PyString_AsStringAndSize is used to convert
it to a wxString using the default encoding.

Fixed the generic buttons so tool tips work for them.

Fixed a bug in the demo's tree control.

Added a listbox to the listbox demo that shows how to find items with
a patching prefix as keys are typed.

Added code to the wxListCtrl demo to show how to get text from a
column in report mode.

Added code to the toolbar demo to clear the long help from the status
bar after 2 seconds.

Added wxJoystick.

Fixed wxTimer so it can be used as described in the docs, either with
a Notify method in a subclass, or sending an event to a wxEvtHandler
object, (usually a window.)

Added wxNotifyEvent.Allow()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-21 03:44:14 +00:00
George Tasker
baeea2909c Added From(), OrderBy() and Where() functions that correspons to the Set/GetWhereClause(), Set/GetOrderByClause() and Set/GetFromClause() functions.
Changed signature of wxDbTable constructor to have the default value of tblPath be "" instead of NULL which prevents crashes in the logging code if the constructor initialization fails for some reason.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 17:31:24 +00:00
George Tasker
e93a3a18fc SQL Server and (preliminary) DB2 support added
Fixed some potentially uninitialized variables


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 17:25:04 +00:00
George Tasker
a8aa2258e8 Added preliminary DB2 support.
Removed the #if EXPERIMENTAL_WXDB_FUNCTIONS blocks from around functions that will now be available in 2.4
Changed functions to return const char * rather than char * on certain functions
Added the wxDb::TablePrivileges() function
Added wxDb copy constructors and wxDbGetConnection() copy constructors which are able to copy the typing definitions of data types retrieved from the source wxDb instance to the new data connection instance to avoid the network/database overhead of querying the datasource for its data types once they are already known once.
SQL Server and (preliminary) DB2 support added
If compiling with Visual C++, the wxDbCreateDataSource() can now be enabled


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 17:23:06 +00:00
George Tasker
e2f4e132c1 Added preliminary DB2 support.
Removed the #if EXPERIMENTAL_WXDB_FUNCTIONS blocks from around functions that will now be available in 2.4
Changed functions to return const char * rather than char * on certain functions
Added the wxDb::TablePrivileges() function


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 17:17:09 +00:00
George Tasker
7d33179be4 Fixed the wxDirExists() function so that if asked about the root directory of a drive (i.e. "d:\") or a UNC directory, WIN32 apps will correctly report whether the dir exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 15:14:22 +00:00
David Webster
445c7bca97 Another DC fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 15:13:18 +00:00
David Webster
6f95262744 Fix and errant commented out line of code in DoGetPixel.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 14:09:24 +00:00
David Webster
b7084589db More OS/2 Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-20 05:18:32 +00:00
Julian Smart
75212e68fd Removed #if wxUSE_TREECTRL (not in setup0.h, and not applied consistently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-19 16:42:12 +00:00
David Webster
9adfefacbd New module def for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-19 00:32:38 +00:00
David Webster
d08f23a71c Window proc processing updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-19 00:25:42 +00:00
Václav Slavík
a1db952fde added wxCursor ctor for creation from bits array
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-18 14:46:58 +00:00
Julian Smart
5740d24a02 Updated info on handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-17 09:06:56 +00:00
David Webster
51c1d535fc New, reworked frame class for wxOS2 and more drawing routines in wxDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-17 06:02:53 +00:00
David Webster
60161cfac9 New, reworked frame class for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-17 06:01:48 +00:00
Vadim Zeitlin
3170a63c6f added an entry for Italian
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-16 13:48:03 +00:00
Vadim Zeitlin
05a7f61d90 patch from Mike Oliver <oliver@math.ucla.edu> to have correct position in wxTree/ListCtrl click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-16 13:38:56 +00:00
Václav Slavík
2c99715a09 applied Brian's patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-15 22:57:54 +00:00
David Webster
da4cc40ce0 For some reason VA needs a default ctor for wxHtmlHelpTreeItemData for helpfrm to compile under VA 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-15 16:54:08 +00:00
David Webster
8a985b8492 Need to define wxArrayGenericTreeItems as WX_DEFINE_WXPORTED_ARRAY instead of just WX_DEFINE_ARRAY to prevent msw .dll builds from complaining.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-15 16:52:53 +00:00
David Webster
e42b1b71ae New OS/2 VA .def file for treectrl code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-15 05:00:36 +00:00
David Webster
e15bbde041 Some OS/2 updates for VA3.0, specifically, in gsocket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-15 04:59:08 +00:00
David Webster
86b3203fb1 bad delete operator, should be delete [] for gs_FSMimeFallbacks and removing debug allocs and deallocs for OS/2 in memory.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-15 04:58:06 +00:00
David Webster
79a4c912b5 TreeCtrl updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-14 22:47:31 +00:00
David Webster
1de711d740 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-13 19:53:34 +00:00
George Tasker
eea22fd5ff Added documentation for wxDbTable class
Added fixes/corrections for wxDb class and other associated helper classes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-12 20:05:53 +00:00
Julian Smart
20a2bdc9c3 Minor tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-12 19:55:10 +00:00
Julian Smart
34cfc23c75 Added missing VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-12 11:10:52 +00:00
Julian Smart
aea1dc7174 Corrected distribution file & removed ^M characters from about/makefile.g95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-12 00:14:35 +00:00
Robin Dunn
21b020b543 some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-12 00:07:56 +00:00
Robin Dunn
a4f7bf5849 Changed wxGridCellEditor::IsAcceptedKey to only check Control and Alt,
not Meta.  (NumLock is Meta for me, and so the old setting wouldn't
let any key activate the control if NumLock was on.)

Checked for WXK_NUMPAD_ENTER everywhere we were checking for
WXK_RETURN.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-12 00:07:15 +00:00
Julian Smart
3f3e668e3e Added Word template for formatting wxWindows manual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-12 00:05:28 +00:00
Robin Dunn
84912ef8b7 Allow a NULL editor and/or renderer to be passed to RegisterDataType
and not crash when it tries to get them later.  (If NULL it falls back
to the grid's default like it used to before the type registry was
added.)

Added wxTE_PROCESS_TAB to wxTextCtrl style for MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-11 23:57:16 +00:00
Robin Dunn
7c0d801cb4 fixed a typo and uncommented some methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-11 22:29:22 +00:00
Robin Dunn
425b21c7e3 for testing...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-11 22:12:45 +00:00
Vadim Zeitlin
b41ec29ad2 added missing function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-11 16:12:09 +00:00
Vadim Zeitlin
33737618bc part of the previous patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-10 19:21:59 +00:00
Vadim Zeitlin
8591268f8f applied patches from Mike Oliver <oliver@math.ucla.edu> to return click position for item (right) click events in treectrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-10 16:44:27 +00:00
Vadim Zeitlin
779812aa23 added chinese translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-09 13:23:04 +00:00
Vadim Zeitlin
8ce88dfa24 changed lbox font to be more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-09 13:00:12 +00:00
Vadim Zeitlin
17260efd72 compilation fix for !WXWIN_COMPATIBILITY_2 and some code cleanup + smarter
code in wxDocManager::SelectViewType()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-09 00:21:04 +00:00
Vadim Zeitlin
96bcf4f9cc compilation fix for builds when WXWIN_COMPATIBILITY_2 is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-08 23:58:42 +00:00
Vadim Zeitlin
59bd9598bc compilation/warning fixes for HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-06 20:06:20 +00:00
Vadim Zeitlin
51a9ecbc68 ugly compilation fix for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-06 20:03:21 +00:00
Vadim Zeitlin
703f03c342 and another note about wxStringList vs wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-06 11:43:17 +00:00
Vadim Zeitlin
064998bf8b small note about untyped lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-06 11:41:19 +00:00
Václav Slavík
a62da4c56f added font and flags properties to wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 22:50:58 +00:00
Vadim Zeitlin
f4b6093eee updated files to know about darwin (Mac OS X)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 22:25:18 +00:00
Václav Slavík
237387ad31 fixed typo (IsOK instead of IsOk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 18:35:48 +00:00
Václav Slavík
4f9297b0ee wxHTML src code indentation now conforms (more) to wxWin coding style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 14:59:59 +00:00
Václav Slavík
1da7aa8c4a fixed <li><p> paragraph break problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 14:59:08 +00:00
Vadim Zeitlin
bb250157d9 typos fix from the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 14:04:04 +00:00
Vadim Zeitlin
52860855bf fix from the main branch which replaces delete with the (proper) delete []
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 13:26:16 +00:00
Julian Smart
68f30f26d2 Removed spurious brace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-05 11:44:44 +00:00
Václav Slavík
12d9e30820 reworked the editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 23:34:33 +00:00
Václav Slavík
dbb88122c9 workarounded false memory leak report
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 23:32:29 +00:00
Robin Dunn
3351077305 some little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 07:41:29 +00:00
Robin Dunn
abbe77c16b Added base_IsAcceptedKey which was fogotten somehow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 07:41:05 +00:00
Robin Dunn
bcb276d2ae *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 07:38:44 +00:00
Robin Dunn
8362557923 Added demo of creating a custom Grid Editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 07:38:17 +00:00
Robin Dunn
dbbb98cd9e updated SWIG generated stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 07:37:31 +00:00
Robin Dunn
e7d63784e8 added /GX- to get around an internal compiler error in MSVC. I don't
get the error anymore but apparently others still do.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-04 07:36:36 +00:00
Vadim Zeitlin
3d49ce4485 ok, it does work - it's just that wxGTK doesn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-03 21:11:41 +00:00
Vadim Zeitlin
d6c9c1b71e added wxGetMultiChoice() (which refuses to work for some reason - will fix
a.s.a.p.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-03 20:52:17 +00:00
Julian Smart
53ccf1c0ba Replaced comparisons with zero, with IsOk()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-03 18:02:03 +00:00
Vadim Zeitlin
f8c5636c42 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-03 17:26:40 +00:00
Václav Slavík
10992a81d3 fixed incorrect GetTextExtent for wxTELETYPE font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-11-01 23:04:13 +00:00
Robin Dunn
f641dada64 Changed version number in DLL name to 23_0
Added a new value for the FINAL flag to make another kind of wxPython
build possible


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-31 23:12:24 +00:00
Vadim Zeitlin
7b30ac82dd compilation fix (sorry!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-31 15:13:54 +00:00
Robin Dunn
ea7c631cd4 The sticky tag as a bit too sticky... This check-in should now update
the right branch!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 22:10:23 +00:00
Robin Dunn
494f8eacda Re-added a couple files that got left out of the merge somehow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 21:58:36 +00:00
Robin Dunn
f97d84a63b Merged some STC fixes over to the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 21:57:12 +00:00
Robin Dunn
c368d904fc Merged wxPython 2.2.2 over to the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 21:08:42 +00:00
Vadim Zeitlin
7874bf5430 applied patch to uncover cells next to 0 automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 17:06:43 +00:00
Vadim Zeitlin
f469b27cac wxDC::GetSize() should work now in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 16:46:34 +00:00
Vadim Zeitlin
376aa62a5d wxDC::GetSize() should work now in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 16:43:37 +00:00
Vadim Zeitlin
188781dbbd fixes from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-30 16:38:56 +00:00
Vadim Zeitlin
4d1c1c3c70 replaced ++/-- with InterlockedInc/Decrement for accessing global vars
also cleaned wxConditionInternal code a bit (more)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-26 00:19:13 +00:00
Jouk Jansen
bbee61e50e Committing in .
Modified Files:
 	wxWindows/src/common/object.cpp

 properly #ifdef'd the DEBUG_PRINTF calls

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-25 09:47:26 +00:00
David Webster
f44fdfb032 OS/2 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-25 04:22:11 +00:00
David Webster
99f73df9b4 compile bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-25 04:18:41 +00:00
David Webster
480b358063 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-25 04:17:17 +00:00
David Webster
7e99520bd3 OS/2 updates for statusbar processing and easier VA debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 21:48:58 +00:00
David Webster
28be2e8a17 OS/2 updates for statusbar processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 21:48:24 +00:00
David Webster
415ca026b4 OS/2 updates for easier VA debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 21:47:55 +00:00
David Webster
d7e1a32274 OS/2 updates for debugging and statusbar processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 21:46:49 +00:00
David Webster
4720388fc5 Updates for os/2 -- mostly to allow easier VA debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-24 21:45:56 +00:00
Julian Smart
b078fa025d Applying submitted wxOS2 mod
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-23 06:26:19 +00:00
Vadim Zeitlin
eb750029be minor fixes from the bug reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 16:10:13 +00:00
Vadim Zeitlin
e379e25847 mention 'b' flag for wxFFile::Open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 15:48:49 +00:00
Vadim Zeitlin
523050b607 removed incorrect param from docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 15:41:02 +00:00
Vadim Zeitlin
ba81034d1a removed the pad from wxWindow::DoGetBestSize(), now do it in Fit() only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 15:32:30 +00:00
Vadim Zeitlin
9ef6ff8c4d an implementation of wxListBox::SetFirstItem() which seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 15:31:41 +00:00
Vadim Zeitlin
820f05f0c5 fixed off by 1 error in CharsetToEncoding() for CP encodings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 14:39:18 +00:00
Vadim Zeitlin
0104114590 fixed problem with calling SetFont() when (multiline) text control didn't have any value yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 14:11:42 +00:00
Ron Lee
69754f3253 updated icon to yes (after losing the race to commit by a matter of milliseconds :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 11:49:10 +00:00
Vadim Zeitlin
3dfaaa4d1d updated Swedish translation state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-20 11:43:14 +00:00
Vadim Zeitlin
4f37a20b74 added listbox test/demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 23:58:42 +00:00
Vadim Zeitlin
6ba636000f 1. some more tests in console
2. added wxFileType::GetOpenCommand() demo in the exec sample
3. "fixed" the error messages from wxExecute() - still no idea why it happens
   though :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 23:50:07 +00:00
Vadim Zeitlin
bab004238d added swedish translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 19:00:44 +00:00
Vadim Zeitlin
ea5ac909f8 fixed GetItemRect() and GetItemPosition() for scrolled items (patch from Mike Oliver <oliver@math.ucla.edu>)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 16:34:23 +00:00
Ron Lee
26345af835 updated translators info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 16:14:55 +00:00
Vadim Zeitlin
bada28f00f set more event object fields for lbox dbl click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-19 00:52:57 +00:00
Václav Slavík
159933045e applied Brian's patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-18 21:51:04 +00:00
Vadim Zeitlin
216870690e crash due to missing break before WM_HELP handler fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-18 17:23:04 +00:00
Julian Smart
43b06bf976 Fixed memory bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-18 17:00:01 +00:00
Václav Slavík
c13cace125 added automatic growing of in-place wxTextCtrls for generic wxListCtrl and wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-17 22:14:35 +00:00
Julian Smart
7328394a2a Made wxGenericDirCtrl compile with Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-17 17:15:18 +00:00
Julian Smart
8f5bda17b3 Fixed memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-16 07:10:32 +00:00
Ron Lee
019df10ed0 merged new and updated translations from WX_2_2_BRANCH.
updated all po files with the main trunk source.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-15 18:41:37 +00:00
Vadim Zeitlin
3cc487d140 fixed false alert in wxRegKey::DeleteSelf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-14 20:28:18 +00:00
Vadim Zeitlin
f4dcad9933 oops, removed the fix from the main branch which I somehow managed to commit in this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-14 00:22:45 +00:00
Julian Smart
f1d93f0bee Doc/distribution script mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-13 18:02:44 +00:00
Julian Smart
849c2b0b5f Added missing GIFs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-13 16:07:33 +00:00
Julian Smart
1620f478e5 Added distribution script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-13 15:04:40 +00:00
Vadim Zeitlin
6dfec4b8d9 added QueryRawValue() to wxRegKey and test code for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 23:40:26 +00:00
Vadim Zeitlin
1fc8878582 another GetInt/GetId bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 19:20:49 +00:00
Julian Smart
73a2995f98 Fixes for distribution scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 16:32:03 +00:00
Vadim Zeitlin
1be06faf73 fix for assert when setting tooltip for a readonly combo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-12 00:31:18 +00:00
Vadim Zeitlin
80a24267cb cosmetic fixes to font encoding names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 23:21:32 +00:00
Václav Slavík
8a3f08bc6f fixed Cyrillic encodings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 21:45:39 +00:00
Julian Smart
f5a7a9e1a9 Added a couple of distribution-related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 21:12:25 +00:00
Julian Smart
83b968da1a First draft of a cygwin script to create wxMSW distributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 18:12:14 +00:00
Julian Smart
c7107a453c Added some VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 15:33:49 +00:00
Vadim Zeitlin
b3daa5a322 added (MSW/GTK) and documented new frame and dialog flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 13:16:37 +00:00
Vadim Zeitlin
2fb40b2cd2 create dialog with !NULL parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 12:55:38 +00:00
Vadim Zeitlin
91773b3f0d added WS_POPUP style to resizeable dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-11 12:49:04 +00:00
Václav Slavík
1b113a811d added wxHtmlWindow::HistoryCanBack/Forward
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 22:07:16 +00:00
Julian Smart
d9300df9e6 Added wxXML demo VC++ project files; corrected filename in xmldemo.cpp (but still doesn't
load menu bar)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 17:10:24 +00:00
Julian Smart
f485492a1e Added VC++ project files (seems logical)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 16:59:34 +00:00
Vadim Zeitlin
5a2762f083 fixed MDI accel bug, more tests for it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 13:55:10 +00:00
Vadim Zeitlin
e5f741e5d4 attempts at making modal dialogs without parent work - failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 13:16:16 +00:00
Vadim Zeitlin
b8505921fc make msg boxes without parent owned by top level app window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 13:08:59 +00:00
Julian Smart
0f05afcced Removed 'interface' pragma for gcc 2.96
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 12:38:09 +00:00
Julian Smart
deea56b14f Doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 11:11:36 +00:00
Julian Smart
2f3ebe4c1a Added wxGenericDirCtrl documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-10 10:50:27 +00:00
Václav Slavík
d84a4d519d fix for assertion failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-09 22:59:05 +00:00
Julian Smart
e3c10211e4 Added wxQuantize, wxTipWindow, wxSplashScreen docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-09 14:31:03 +00:00
Julian Smart
4e28924cdb Doc corrections; added HelpGen project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-09 13:53:33 +00:00
Julian Smart
7cb74906e1 Added context-sensitive help docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-09 13:13:39 +00:00
Vadim Zeitlin
f368ba4b28 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-08 23:40:43 +00:00
Vadim Zeitlin
3f6638b82b wxFileDialog changed to use (new) wxCHANGE_DIR flag, docs updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-08 23:35:09 +00:00
Václav Slavík
d7ace8a929 fixed EditLabel() for wxLC_REPORT mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-08 22:29:38 +00:00
Václav Slavík
e066e2566a change in XRC format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 21:56:37 +00:00
Václav Slavík
3efb0e4bbd renamed resource.xml to resource.xrc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 21:52:57 +00:00
Václav Slavík
88a2dafd70 fixed use of wxMenuItem::SetBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 21:52:01 +00:00
Vadim Zeitlin
ef8698d677 1. more warnings fixed
2. fixed wxProgressDialog to work as wxDialog now does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 21:34:35 +00:00
Vadim Zeitlin
b0a6bb75bc 1. a couple of compilation warnings fixed (strconv/listctrl)
2. now reenable windows disabled by wxWindowDisabler slightly earlier:
   this solves the problem with "wrong" window being brought to top and
   eliminates the need for BringWindowToTop() and SetActiveWindow() in
   our code
3. style wxFRAME_FLOAT_ON_PARENT is now obsolete and unused, all frames
   have WS_EX_APPWINDOW style and appear on the taskbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 20:19:10 +00:00
Robin Dunn
98243feda0 Added a WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-07 02:38:05 +00:00
Václav Slavík
15db3cf513 fixed bug in parsing incomplete HTML when the very last tag was not closed with >
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-06 20:22:26 +00:00
Václav Slavík
df4b7d9894 changed \n\r to \r\n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-06 20:21:47 +00:00
Julian Smart
12ed316d02 Added DECLARE/IMLEMENT_CLASS for wxToolBarBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-06 16:52:29 +00:00
Jouk Jansen
6955ce29ed Modified Files:
wxWindows/descrip.mms wxWindows/docs/readme_vms.txt
 	wxWindows/utils/dialoged/src/descrip.mms
 Added Files:
 	wxWindows/samples/dnd/descrip.mms

 Updated VMS compile support and readme.

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-06 11:22:27 +00:00
Vadim Zeitlin
9eeb92ac44 fixed assert failures about missing status bar field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-05 15:23:41 +00:00
Julian Smart
f0e9f0d3ff Removed wxFindFocusDescendant for non-wxMSW platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-05 13:05:50 +00:00
Vadim Zeitlin
fb20fa43a0 merged in the commit from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 23:38:26 +00:00
Julian Smart
3438012b66 More fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 15:16:20 +00:00
Julian Smart
4f43043985 Removed wxWS_EX_NO_AUTOFOCUS (use AcceptsFocus instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 14:33:20 +00:00
Julian Smart
08793a6da9 Fixes to generic dir dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 13:47:13 +00:00
Julian Smart
e63fdcd600 Speed fix for wxGenericDirCtrl, starting to add text input control;
added wxWS_EX_NO_AUTOFOCUS for wxMSW so we can stop wxToolBar accepting
the focus; UI update improvement to send commands to current focus window;
split tree control horiz. scrollbar problem fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 12:53:28 +00:00
Jouk Jansen
511eb3e71d Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/docs/readme_vms.txt
 Added Files:
 	wxWindows/samples/calendar/descrip.mms

 Compile support on VMS for the calendar sample

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 08:15:16 +00:00
Jouk Jansen
b780fc0057 Committing in .
Modified Files:
 	wxWindows/docs/readme_vms.txt

 Updated VMS build instructions
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-04 07:17:09 +00:00
Jouk Jansen
a17203df9e Committing in .
Modified Files:
 	wxWindows/setup.h_vms


 Oops wrong file committed earlier today
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-03 13:08:45 +00:00
Jouk Jansen
181cbcf49e Modified Files:
wxWindows/setup.h_vms wxWindows/lib/vms_gtk.opt
 	wxWindows/src/common/fileconf.cpp
 	wxWindows/src/unix/utilsunx.cpp

Patches for VMS:
  Updated Setup
  The conftest sample in wxGTK now can read_to/write_from the home-directory.

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-03 10:34:40 +00:00
Julian Smart
659d096cea Small fixes to defs.h; change "windows.h" to <windows.h> in filefn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-03 07:41:33 +00:00
Vadim Zeitlin
1c68fb912d fix for group names containing ']'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 18:20:54 +00:00
David Webster
cd212ee425 interface additions (mostly for new generic/toolwin)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 03:42:05 +00:00
David Webster
353149f8f2 Add some new files for interface additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 02:53:18 +00:00
David Webster
5b3ed31135 OS/2 Statusbar fixes, and class interface updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 02:49:35 +00:00
David Webster
f5526d3613 OS/2 Statusbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-02 02:45:47 +00:00
Václav Slavík
63ee409315 fixed LoadPanel (created two instances previously and returned the wrong one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-01 21:31:35 +00:00
Vadim Zeitlin
2d19ad2578 fix from Robert for extra refreshes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-30 16:30:30 +00:00
Václav Slavík
426bb74a93 removed loading from in-memory document (illicit idea)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-29 19:58:31 +00:00
Václav Slavík
2e12c11a90 added wxListCtrl::AssignImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:29:26 +00:00
Václav Slavík
0377efa2e9 added wxTreeCtrl::AssignImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:26:15 +00:00
Václav Slavík
b656febdf0 added wxNotebook::AssingImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:25:07 +00:00
Václav Slavík
46cd520d1e added wxTreeCtrl::AssignImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:19:57 +00:00
Václav Slavík
8fd2b35cbe modified wxHtmlHelpFrame to use AssignImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 22:18:47 +00:00
Vadim Zeitlin
da599db240 added event.Skip() to OnIdle() handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-28 14:23:00 +00:00
Václav Slavík
3ad1cd4a67 added bitmaps to menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-27 23:13:02 +00:00
Václav Slavík
0996d32a07 documented wxMenuItem::SetBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-27 23:10:05 +00:00
Jouk Jansen
5fdff4a5b4 Committing in .
Modified Files:
 	wxWindows/include/wx/motif/menuitem.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-27 11:32:03 +00:00
Václav Slavík
2193517f1b updated resources convertor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 21:59:37 +00:00
Václav Slavík
bbda1088f7 fixed bug in wxHtmlWindow: HistoryBack/Forward now correctly preserves last entry's scrolled position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 21:54:29 +00:00
Václav Slavík
dc743689dd added ability to read resources directly from wxXmlDocument to wxXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 21:52:08 +00:00
Julian Smart
d1c8aaa3ee Fiddled with wxFindWindowAtPoint to make it work with notebooks and static boxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 15:36:12 +00:00
Julian Smart
cc1fcb9584 Removed assert complaining about out-focus without in-focus, because it happens a lot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 14:46:42 +00:00
Vadim Zeitlin
cdddaeea10 fix from Robert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 13:54:47 +00:00
Jouk Jansen
03c046d1d5 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/src/common/filefn.cpp


 Filename problem on VMS fixed.
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 10:49:41 +00:00
Robin Dunn
fe47ec10b7 wxPython changes for new and improved wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 05:32:50 +00:00
Robin Dunn
4370573a45 new and improved wxSTC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-26 05:15:39 +00:00
Julian Smart
fac9339629 Enabled context-sensitive help for wxRadioBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-25 16:01:44 +00:00
Julian Smart
480df2cf57 Added wxID_IGNORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-25 14:26:56 +00:00
Ron Lee
904a68b6f6 implemented wxDisplaySizeMM for gtk, msw & motif.
used wxDisplaySize and wxDisplaySizeMM to calculate real screen PPI in
wxPostScriptPrinter.
documented wxDisplaySize and wxDisplaySizeMM.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-25 08:51:35 +00:00
Ron Lee
11207aa4c2 removed unneccesary (and unwanted) asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-24 15:25:57 +00:00
Ron Lee
9732ef1cb8 make contrib symlink relative to WXDIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-24 15:24:10 +00:00
Vadim Zeitlin
f4b8bf2fd1 wxCaret now uses backing store instead of forcing window refresh each time the
caret is hidden; the non blinking carets work too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-22 22:44:34 +00:00
Václav Slavík
64d452a82d added XML resources sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-18 20:01:54 +00:00
Vadim Zeitlin
697e0cdd12 attempts to implement non blinking caret - failed so far
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-18 19:06:35 +00:00
Vadim Zeitlin
ca8bf9766e give frame a reasonable default size if none specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-18 15:40:15 +00:00
Václav Slavík
9f8276c7d4 added XML resources sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:20:16 +00:00
Václav Slavík
1c8ac192c6 added unknown widget support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:19:18 +00:00
Václav Slavík
d33a1e8b7b added <bitmap> and <icon> resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:18:31 +00:00
Václav Slavík
28c0bed36a added wxStaticLine handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:18:02 +00:00
Václav Slavík
a07a98dbe5 documented EVT_LIST_ITEM_RIGHT_CLICK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:17:55 +00:00
Václav Slavík
88d42654d7 added rc2xml and wxr2xml convertor (no makefiles yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:17:13 +00:00
Václav Slavík
5183bfc60c added disabled, focus and selected to wxBitmapButton handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:16:22 +00:00
Václav Slavík
d7716e1ec9 removed bitmap scaling in bitmap button handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-17 19:16:13 +00:00
Robert Roebling
d786bf877e Set the m_isFrame flag corrcetly.
Typo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-16 11:26:28 +00:00
Robert Roebling
9cc7121f68 Minor corrections to new theme code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 16:51:07 +00:00
Julian Smart
a2d93e735a Added Set/GetThemeEnabled and used this for determining whether to paint a theme
background.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 13:15:37 +00:00
Robert Roebling
117247fd2c wxFrame's m_mainWidget didn't have themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 11:49:39 +00:00
Robert Roebling
789dbcd4e3 Notebook theme attampt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-15 11:13:06 +00:00
Václav Slavík
b29483b980 added new controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 21:32:46 +00:00
Václav Slavík
b008b592cc added new controls: wxBitmapButton, wxCalendarCtrl, wxListCtrl, wxScrollBar, wxStaticBox, wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 21:32:23 +00:00
Robert Roebling
96f5fca9e4 Readded TrueType text.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 13:02:34 +00:00
Robert Roebling
b13480f269 Another theme fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 09:23:12 +00:00
Robert Roebling
2bc6945a25 More theme goodies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 09:08:18 +00:00
Robert Roebling
27d1065d38 Compilation fixes, bug fixes and streamlining in wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-14 06:42:27 +00:00
Robert Roebling
300aaa8f77 wxListCtrl::InsertItem() returned wrong index.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 20:03:27 +00:00
Kevin Hock
5143c96b4f added polygon and polyline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 19:58:09 +00:00
Robert Roebling
3fb435df3a Themed headers for wxListCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 15:35:45 +00:00
Vadim Zeitlin
c0f09a2e88 1. wxFrame::IsIconized() fixed - seems to work
2. a couple of unused vars removed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 12:25:42 +00:00
Robert Roebling
43f5c4930f Did the unmap/map trick for wxFrame::IsIconized().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 11:45:43 +00:00
Julian Smart
8088e4c628 Added accelerator to bitmap menu item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 11:34:15 +00:00
Julian Smart
191ebf4d45 wxListMainWindow::HitTest no longer tests 'flags' which is garbage
at this point. HitTesting now working, hurrah!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 09:35:43 +00:00
Vadim Zeitlin
99646f7ee4 wxTimer::Start() now calls Stop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 09:04:48 +00:00
Robert Roebling
33ebcd800c First shot at wxBitmap based wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-13 08:04:28 +00:00
Vadim Zeitlin
bdb310a720 attempt to fix crash in tree ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 16:27:41 +00:00
Julian Smart
e37ce17035 Added cshelp.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 15:48:06 +00:00
Julian Smart
a1b8f5489d Minor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 15:47:20 +00:00
Vadim Zeitlin
83141d3a74 1. removed 'B' flag from treebase.cpp and regenerated the makefiles
2. fixed wxMemoryInputStream::Eof()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 15:15:44 +00:00
Julian Smart
5100cabffa Added wxHelpControllerHelpProvider, added DisplayContextPopup, DisplayTextPopup
to wxHelpControllerBase and wxCHMHelpController; updated sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 14:53:39 +00:00
Jouk Jansen
135ce19c67 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms

 VMS compile update for new files and some new wxGTK samples
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 11:28:35 +00:00
Vadim Zeitlin
80d2803f70 fixed bug in mouse handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 08:29:02 +00:00
Robert Roebling
cc47eed9ca Corrcted accel keys for bitmap menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 08:18:03 +00:00
Robert Roebling
fcaf9e704e Added test for bitmap menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-12 08:17:23 +00:00
Robert Roebling
343e14b3e2 Added experim. support for wxFRAME_TOOL_WIN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 17:12:38 +00:00
Robert Roebling
efad36b8e9 Tiny patch for wxListCtrl::HitTest(). I didn't
even test if it compiles, oh dear.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 16:28:34 +00:00
Julian Smart
84eacd3032 Corrected frame.cpp to recognise wxNO_BORDER properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 13:02:54 +00:00
Robert Roebling
872f1044c8 Some more tests and mouse events for wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 12:52:39 +00:00
Julian Smart
98e8d44a9e Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 12:45:29 +00:00
Julian Smart
129caaddf1 wxHelpProvider now cleans itself up. wxTipWindow doesn't
grab the mouse, but instead deletes itself when it's deactivated
or loses the focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 12:37:44 +00:00
Julian Smart
afb02ca57c Included tipwindow.h unconditionally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 12:03:22 +00:00
Robert Roebling
21840a6c0a Compile fixes for wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-11 08:13:34 +00:00
Julian Smart
2eebb742ab Made the docs compile again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-10 19:01:03 +00:00
Vadim Zeitlin
01fa3fe74d wxTipWindow added and is now used by wxSimpleHelpProvider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-10 16:30:16 +00:00
Julian Smart
4204da658a #ifdefs for WIN16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-10 15:16:17 +00:00
Vadim Zeitlin
bd83cb56d2 1. added wxHelpProvider and (unfinished) wxSimpleHelpProvider
2. added wxStringHashTable which wxStringHashTable uses


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-10 12:43:37 +00:00
Vadim Zeitlin
6b6267d320 use the native msg box if available, fall back to wxWin one instead of doing the opposite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-10 11:27:21 +00:00
Václav Slavík
99397a94d0 yet another fix in wxHtmlParser::DoParsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 22:02:46 +00:00
Kevin Hock
59fae84103 oops winnt path to fonts wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 18:42:58 +00:00
Kevin Hock
fcbb6b37bf added groups of canvasobject and references to groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 18:42:57 +00:00
Vadim Zeitlin
afdefa8e84 GetSelection() replaced with GetId() in OnMRUFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 18:09:34 +00:00
Julian Smart
9b8f6fa217 Removed spurious _
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 15:56:54 +00:00
Julian Smart
2189c64415 Fixed non-recognition of wxLIST_MASK_IMAGE flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 15:49:14 +00:00
Vadim Zeitlin
84bfc0d503 fixed wxContextHelpButton bitmap (dis)appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 15:48:54 +00:00
Julian Smart
0460407f86 Added manual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 14:51:08 +00:00
Julian Smart
91c9bd3d71 Tried to fix problem with 'clean' target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 14:48:25 +00:00
Julian Smart
68fdcf29fd Added dcclient.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 14:45:34 +00:00
Julian Smart
6981d3ecf6 Fixed memory leak in listbox, fixed memory leak reporting in app.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 14:36:00 +00:00
Julian Smart
542acbee80 Added context-sensitive help dialog demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 14:26:33 +00:00
Julian Smart
57591e0edb Fixed some broken things related to context help, fixed memory leak
in wxGenericTreeCtrl (Init should be called before Create, not _in_ Create)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 13:52:10 +00:00
Julian Smart
fb6261e9ba Put wxContextHelp into cshelp.h/cpp, added wxContextHelpButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 10:49:39 +00:00
Robin Dunn
d134f1702e Moved from Scintilla version 1.25 to 1.32
Still more changes to be made in the wxSTC wrappers for new
functionality...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-08 04:06:33 +00:00
Brian Smith
95f99113a6 Reformatting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 22:57:51 +00:00
Brian Smith
ebe0155da5 OS/2 version was using ~ instead of * for a termination character so
executables created with this packinst would not function.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 22:53:38 +00:00
Brian Smith
6ab5e82fc3 Somehow the packinst.c and directory got removed from the archive, so I
included the version from the OS/2 installer which probably has some fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 22:00:52 +00:00
Václav Slavík
19bcc6049d fixed bug in parsing html strings longer than 1024 chars than does not contain tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 20:55:06 +00:00
Julian Smart
1f33eb9ff0 Added memcheck to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 15:21:37 +00:00
Julian Smart
2db0bbdecd Applied memory allocation patch, and worked around bug that crashes memcheck.cpp
by using wxLogStderr.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 15:02:33 +00:00
Julian Smart
26a80c2246 Added some docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 13:33:56 +00:00
Julian Smart
d3db92b294 Added comment to old wxGetMousePosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 13:32:28 +00:00
Julian Smart
1772ead058 Used GetCursorPos for new wxGetMousePosition implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 13:32:05 +00:00
Julian Smart
59a12e9034 Got wxHelpContext working, plus wxFindWindowAtPointer, wxGetMousePosition,
wxFindWindowAtPoint.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 13:22:42 +00:00
Robert Roebling
b85cfb6fd4 There was no need to create the buffer in OnIdle().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 11:17:46 +00:00
Julian Smart
3723b7b1d8 Made wxContextHelp implementation generic and added wxFindWindowAtPointer,
wxGetMousePosition functions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 09:43:05 +00:00
Robin Dunn
bfabd11afb Interface file defining functionality available in Scintilla. Will
possibly be used to automatically generate some of the wxWindows code
that wraps Scintilla.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-07 01:34:14 +00:00
David Webster
5615ab3770 fix to OWNER_DRAWN assert in listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 19:18:35 +00:00
Julian Smart
68237521ed Implemented wxHelpContext for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 16:44:17 +00:00
Robert Roebling
61b64bd92a Added various missing bits to scrolling wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 15:09:17 +00:00
Julian Smart
c43e86bda6 Dialogs can now show a question mark for context-sensitive help.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 13:23:21 +00:00
Robert Roebling
41328253cd Trying to make wxCanvas less simple.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 13:08:28 +00:00
Julian Smart
0e929d5fd6 Added #include in helpbase.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:52:18 +00:00
Julian Smart
b96340e6f4 Added wxHelpEvent, wxContextHelp (MSW only so far), modified help sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:45:24 +00:00
Robert Roebling
ceae98ef7a Applied PS patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-06 09:18:44 +00:00
Kevin Hock
9f3b9298c0 added moving an object with the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 20:08:47 +00:00
Kevin Hock
dc16900b10 capturing the mouse in wxCanvasObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 20:07:57 +00:00
Robin Dunn
21156596eb Fixed some off-by-one errors that were visible on wxGTK but actually
affected wxMSW too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 18:10:31 +00:00
Vadim Zeitlin
501662d307 added Dutch translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 18:04:41 +00:00
David Webster
4d0986499b Updates to keep OS/2 Frame apps from crashing on exit. Fixes WM_QUIT processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 13:59:50 +00:00
Julian Smart
206b0a6792 Generic wxListCtrl now supports wxLC_HRULES, wxLC_VRULES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 12:20:16 +00:00
Julian Smart
2702ed5a3d Added rules to wxListCtrl (MSW now, GTK+ soon)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 11:39:14 +00:00
Robert Roebling
3d0c4d2e7b Applied DrawArc patch.
Applied break-up-region patch.
  Implemented sort of ShowFullScreen() - test in scrollsub.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-05 10:51:30 +00:00
Robert Roebling
4dbd4ee604 Virtualized coordinate system for wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-04 15:39:52 +00:00
Julian Smart
b3eb36dfb6 Commented out palette code for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-04 14:07:50 +00:00
Julian Smart
736b80cd76 Corrected off-by-one bug in wxRect(const wxPoint&, const wxPoint&) ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-04 06:58:30 +00:00
Robert Roebling
cabec8729e Added FreeType II beta 8.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-03 16:51:07 +00:00
Robert Roebling
1e1af41e4b Minor update to wxCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-03 16:38:53 +00:00
Robert Roebling
e83bf4f7e1 Makefile adaption for freetype.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-03 13:41:07 +00:00
Robert Roebling
37b09a9a1a Makefile correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-03 13:40:39 +00:00
Robert Roebling
3fed184012 Preparing makefiles for freetype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-03 11:51:42 +00:00
Robert Roebling
239c1f50b0 Added wxCanvasLine, Freeze() and Thaw() and mouse events (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-02 18:01:32 +00:00
Robin Dunn
3e1c4e0021 1. Setting the listctrl as the event object before sending the event
to any user event handlers.

2. InsertItem returns the actual index used when given one beyond the
end of the list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 21:30:18 +00:00
Vadim Zeitlin
cba349dc6e use TRUETYPE env var for the font location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 17:43:19 +00:00
Julian Smart
267a710851 Small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 16:48:25 +00:00
Julian Smart
25093cf311 Ignored palettes for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 16:47:04 +00:00
David Webster
e604d44b4b Several updates for fixing the subclassing problems and accelerator processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 13:52:31 +00:00
David Webster
37123da440 Fix to properly define WXFARPROC for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 13:51:48 +00:00
Robert Roebling
0fb0dd8361 Added check for <fnctl.h> which FreeType seems to need.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 12:47:14 +00:00
Robert Roebling
2154485967 Various improvements and addition to wxCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 10:25:39 +00:00
Julian Smart
6a86a6c893 Corrected typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 09:13:41 +00:00
Julian Smart
37d403aa1c Added to wxSystemSettings for better GTK+ themes compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-09-01 08:35:30 +00:00
Robert Roebling
cb281cfc8c TrueType support for Canvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-30 16:20:37 +00:00
Robert Roebling
d1f9b20611 Added alpha blending in prep for FreeType text to canvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-30 13:05:24 +00:00
Julian Smart
43bcf4c950 Fixed jumping problem with remotely scrolled tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-30 09:58:14 +00:00
Julian Smart
5b211fbf54 Added wxSYS_COLOUR_3DLIGHT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-30 09:38:14 +00:00
Robert Roebling
3b111dbe53 Added wxCanvasControl before anyone else would do
any harm.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 20:06:25 +00:00
Julian Smart
a103e4e201 Small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 17:56:06 +00:00
Vadim Zeitlin
5b09e9c2c3 added missing .c_str() here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 17:33:59 +00:00
Julian Smart
dbf2885911 Fixed CanCut
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 16:18:39 +00:00
Julian Smart
8c023dee92 Sash window layout algorithm now fails if not enough space to complete.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 16:09:59 +00:00
Julian Smart
fa755cf187 Don't allow for status or toolbar size if they are not currently shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 13:21:07 +00:00
Julian Smart
d11bb14faa Added wxCLIP_SIBLINGS. CVS also seems to think lots of other files need updating.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 12:46:21 +00:00
Robert Roebling
aa21b5090a Merged sizer fix from stable branch
Added support for transparent wxImage::Paste()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 08:55:40 +00:00
Robert Roebling
6a2c187404 Added wxCanvas prototype and sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 08:54:17 +00:00
Vadim Zeitlin
5a7faf1e02 make clean shouldn't delete lib/CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-28 18:34:35 +00:00
Vadim Zeitlin
dfd4f3278c added Dutch translator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-28 18:29:13 +00:00
Václav Slavík
09dc1241b7 added AddWindowStyles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-27 20:52:36 +00:00
Vadim Zeitlin
fcec64291d compilation fixes for mingw32 (still leaving disabled for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-27 12:16:02 +00:00
Václav Slavík
3e0a432117 fixed clearly wrong use of APPEXTRALIBS in gizmos samples' Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-26 21:02:06 +00:00
Václav Slavík
eb29e7071f gizmos compilation fixes (gcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-26 21:01:48 +00:00
Julian Smart
40fab78bcf Added some casts in hopes of fixing HP compilation problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 16:52:05 +00:00
Julian Smart
621f9767c8 Added a flag to avoid Capture/Release asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 16:51:31 +00:00
Julian Smart
2f82899bba Fixed sample; enhanced wxLayoutAlgorithm to give remaining space to
last window


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 15:51:23 +00:00
Jouk Jansen
16d57d674f Committing in .
Modified Files:
 	wxWindows/lib/vms_gtk.opt wxWindows/src/motif/mdi.cpp

 For VMS only

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 10:39:12 +00:00
Julian Smart
601c163b1c Typo in doc, wxCHECK2_MSG replaced with wxCHECK_MSG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 09:37:16 +00:00
Jouk Jansen
2f20fe2222 Committing in .
Modified Files:
 	wxWindows/samples/mdi/mdi.cpp

 VMS patch

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 09:22:41 +00:00
Jouk Jansen
bcd055ae10 Committing in .
Modified Files:
 	wxWindows/src/generic/scrolwin.cpp wxWindows/src/motif/app.cpp
 	wxWindows/src/motif/bitmap.cpp
 	wxWindows/src/motif/bmpbuttn.cpp
 	wxWindows/src/motif/button.cpp
 	wxWindows/src/motif/checkbox.cpp
 	wxWindows/src/motif/choice.cpp wxWindows/src/motif/dialog.cpp
 	wxWindows/src/motif/filedlg.cpp wxWindows/src/motif/msgdlg.cpp
 	wxWindows/src/motif/radiobox.cpp
 	wxWindows/src/motif/radiobut.cpp
 	wxWindows/src/motif/statbox.cpp
 	wxWindows/src/motif/stattext.cpp
 	wxWindows/src/motif/textctrl.cpp wxWindows/src/motif/utils.cpp
 	wxWindows/src/motif/window.cpp

 More patches for VMS only

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 08:00:04 +00:00
Václav Slavík
ea129d333a fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 20:56:21 +00:00
Julian Smart
fa8ba9a10e Added gizmos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 11:32:04 +00:00
Julian Smart
352d44d268 Fixed for wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 11:31:32 +00:00
Julian Smart
32321f51b4 Fixed #pragma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 11:31:03 +00:00
Jouk Jansen
4dff340069 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/demos/bombs/descrip.mms
 	wxWindows/lib/vms.opt wxWindows/samples/caret/descrip.mms
 	wxWindows/samples/checklst/descrip.mms
 	wxWindows/samples/config/descrip.mms
 	wxWindows/samples/controls/descrip.mms
 	wxWindows/samples/dialogs/descrip.mms
 	wxWindows/samples/drawing/descrip.mms
 	wxWindows/samples/image/descrip.mms
 	wxWindows/samples/mdi/descrip.mms
 	wxWindows/samples/menu/descrip.mms
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/samples/resource/descrip.mms
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/gdicmn.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/motif/choice.cpp wxWindows/src/motif/descrip.mms
 	wxWindows/src/motif/font.cpp wxWindows/src/motif/frame.cpp
 	wxWindows/src/motif/gauge.cpp wxWindows/src/motif/listbox.cpp
 	wxWindows/src/motif/menu.cpp wxWindows/src/motif/msgdlg.cpp
 	wxWindows/src/motif/toolbar.cpp wxWindows/src/motif/window.cpp
 	wxWindows/src/motif/xmcombo/xmcombo.c
 	wxWindows/src/unix/descrip.mms
 	wxWindows/utils/dialoged/src/descrip.mms
 Added Files:
 	wxWindows/include/wx/vms_x_fix.h

VMS patches

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 10:58:27 +00:00
Julian Smart
748a3af8e7 Replaced true/false with TRUE/FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 08:55:46 +00:00
Jouk Jansen
f920114415 Committing in .
Modified Files:
 	wxWindows/include/wx/gtk/app.h

Added wxEntry like in other ports (i.e. Motif)
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 05:50:48 +00:00
Vadim Zeitlin
35b45b332b added test of wxFileSelector() def ext handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-23 22:47:33 +00:00
Vadim Zeitlin
954f4710fa bug #105 (wxFileSelector misinterprets the def extension) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-23 22:45:59 +00:00
Václav Slavík
35ec54d3c5 fixed my previous fix in wxListCtrl::SetItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-23 10:39:33 +00:00
Václav Slavík
525fd27d24 fixed bug in wxListCtrl::SetItem (forgot to delete previous attribute from m_attrs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 21:56:52 +00:00
Vadim Zeitlin
136edc27f9 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 15:28:12 +00:00
Julian Smart
07d09af8cc Added Reset() to command line parser and called it from Parse(), so
that you can call Parse() multiple times and get the desired result.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 14:00:47 +00:00
Vadim Zeitlin
64acfbb2be bug #101 (wxListCtrl::GetItemRect() returns rectangle with incorrect height) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 10:12:26 +00:00
Vadim Zeitlin
1464778143 bug #103 (encodings not enumerated correctly) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-22 10:06:37 +00:00
Julian Smart
47608cc184 Double oops, removed include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-21 17:08:02 +00:00
Julian Smart
de53ac1ee1 Oops, missed out include file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-21 17:07:16 +00:00
Julian Smart
97d590469d Doc fix and SetArguments implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-21 17:06:38 +00:00
David Webster
760ac9abdd no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-21 11:08:33 +00:00
Jouk Jansen
deb818d619 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/samples/caret/descrip.mms

 Compile support for caret sample on wxGTK/VMS
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-21 10:31:06 +00:00
Václav Slavík
74d52dedf8 fixed bug in gizmos Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-20 21:53:14 +00:00
Václav Slavík
0071943936 added contrib/gizmos to configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-20 21:53:09 +00:00
Václav Slavík
29bf79638e added contrib/gizmos to configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-20 21:52:37 +00:00
Václav Slavík
2148cce296 fixed stupid loop in wxFileSystem::OpenFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-20 21:52:12 +00:00
Julian Smart
15770d1a1c Doc mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-20 19:56:24 +00:00
Robert Roebling
b0f1bf1c51 The mac text ctrl wants '/r' from the log system for line breaks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-19 08:59:50 +00:00
Robert Roebling
d467e0c72d Added child window scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-19 08:58:19 +00:00
Robert Roebling
2116861993 Added wxChoice::GetCount() and Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-19 08:56:44 +00:00
Kevin Hock
fc4e7a035c wxDrawObject::Draw vritual and non const wxDCBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-19 06:32:50 +00:00
David Webster
3210d001bf Minor fix to app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 16:45:45 +00:00
Julian Smart
1a584f14bf Added companion window. Now it's working pretty much as expected except
for the usual flickering...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 16:28:38 +00:00
Stefan Neis
f1f2204967 Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 16:27:32 +00:00
Jouk Jansen
58e81f24f1 Committing in .
Modified Files:
 	wxWindows/descrip.mms wxWindows/demos/bombs/descrip.mms

  wxGTK compile support for VMS extended

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 13:54:58 +00:00
Vadim Zeitlin
d9b815ac5c removed obsolete parts of SetIcon docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 13:51:11 +00:00
Julian Smart
1ed01484e7 Implemented IsVisible and GetFirst/NextVisibleItem for generic tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 12:45:21 +00:00
David Webster
f409b413be Updates to wxFrame to include SHowFullScreen method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 12:03:03 +00:00
David Webster
f09d8a3b94 Reparied accel processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 12:00:39 +00:00
Julian Smart
be44e7a5f4 Added tree.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 09:43:36 +00:00
Julian Smart
1724915f18 Bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 09:42:43 +00:00
David Webster
1a2bf4ebfc Add quantize and treebase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-18 01:52:09 +00:00
David Webster
64e0c5c617 New frame class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-17 20:49:41 +00:00
Julian Smart
7cc92097f6 Added psbox.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-17 15:39:31 +00:00
Julian Smart
37980ec800 Small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-17 15:38:33 +00:00
Julian Smart
58580a7e3c Added gizmos hierarchy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-17 11:53:48 +00:00
Julian Smart
08c6402af6 Increased bib buffer size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-17 07:17:19 +00:00
Vadim Zeitlin
9b5ae11a39 added wxUsE_XPM_H_IN_PATH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-16 15:24:38 +00:00
Václav Slavík
bebb14d53d added wxXmlResourceHandler::GetDimension for 1D values that may be in dialog units
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 21:46:26 +00:00
Václav Slavík
b6b0af42a0 added 'centered' property to wxDialog handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 21:44:26 +00:00
Václav Slavík
019faef468 added wxIcon::CopyFromBitmap to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 21:44:18 +00:00
Václav Slavík
8767fe35a3 fixed wxListCtrl::SetItem -- changing attributes of item with attributes already set had no effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 21:44:04 +00:00
Julian Smart
45961fa0a5 Mods to the intro.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 10:19:45 +00:00
Jouk Jansen
14329e037b Committing in .
Modified Files:
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/descrip.mms wxWindows/src/unix/descrip.mms

 Compilation wxGTK for VMS updated. Now the minimal sample works OK.

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-15 08:54:05 +00:00
Julian Smart
c49edcd039 wxBook mods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 16:19:20 +00:00
Julian Smart
e846929090 Backslashes now allowed in \input filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 13:16:32 +00:00
George Tasker
241c426ca8 Typecasting added to prevent warnings.
Instead of copying the temp file, if the temp file directory and output file directory for RTF are the same, program does a rename instead of a copy.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 12:05:13 +00:00
Julian Smart
405c846fc4 Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 12:02:31 +00:00
George Tasker
71599f0a0a Code added to cleanup memory/resource leaks on exit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 12:02:13 +00:00
Julian Smart
0f3cd383b7 Fixing broken file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 12:01:32 +00:00
George Tasker
f90e5ed24a Typecasts added to prevent compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 12:00:58 +00:00
George Tasker
d0c6b305af v2.2.1 TAGGED copy ported over to main trunk of CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 11:44:26 +00:00
George Tasker
4c6224f523 Removed the reference to table.tex, as it is no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 11:43:19 +00:00
George Tasker
dbd25a9f8a wxTable renamed to wxDbTable
This file is no longer needed though, as the relevent text is now included in db.tex


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 11:42:35 +00:00
Julian Smart
6172afe90d Added VC++ makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 11:03:31 +00:00
Julian Smart
eecb035112 wxBook updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 10:18:04 +00:00
Julian Smart
397f14ce52 Added chapter stubs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 09:44:35 +00:00
Stefan Csomor
a959b08869 transparent xpm bitmaps added, thread support finished
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 08:16:52 +00:00
Stefan Csomor
acd9676ebb thread support for mac finished
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 08:15:51 +00:00
Julian Smart
fdb8ab1db9 Started to add wxBook files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-14 07:05:37 +00:00
Václav Slavík
81dc0f5d41 fixed creation of toolbars under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 20:06:59 +00:00
Václav Slavík
f19c82dd2a fixed bug in zlib compressed binary xml resources saving (crashed due to a typo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 20:06:54 +00:00
Mark Johnson
27ced3613f de.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 11:59:01 +00:00
Mark Johnson
a9f4558ff1 db.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 11:15:24 +00:00
Mark Johnson
0cd121f9e1 db.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 11:14:40 +00:00
Mark Johnson
6d9f443958 de.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-12 11:14:02 +00:00
Václav Slavík
98b99630a5 added toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 19:11:06 +00:00
Václav Slavík
8576d6a454 added toolbar handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 19:10:39 +00:00
Václav Slavík
792064e93f fixed loading of bitmaps from mem_fs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 19:08:18 +00:00
Václav Slavík
6ba549f2a5 added binz handler to standard handlers initialized always
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 19:07:54 +00:00
Václav Slavík
f6853b4a5d stored bitmaps in generated resources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 19:07:43 +00:00
Václav Slavík
ef02ad9ee7 fixed bug: wxButton hasn't name set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 19:07:30 +00:00
Mark Johnson
909e23737c de.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 14:47:19 +00:00
Julian Smart
579b10c2be Now show/hide status bar in ShowFullScreen, instead of deleting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 12:27:40 +00:00
Stefan Csomor
292d1a2fdd changed license type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 03:30:47 +00:00
Stefan Csomor
2e492c85ab added plstringfuncs comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-11 03:29:29 +00:00
Stefan Csomor
1ebfaf0c59 wxMac merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 15:27:08 +00:00
Jouk Jansen
fa156b74fc Committing in .
Modified Files:
 	wxWindows/src/gtk/app.cpp

Patch for wxGTK on VMS
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 13:26:37 +00:00
Jouk Jansen
d02af7bbb9 Committing in .
Modified Files:
 	wxWindows/include/wx/gtk/app.h wxWindows/lib/vms_gtk.opt
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/colrdlgg.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/descrip.mms
 	wxWindows/src/gtk/filedlg.cpp wxWindows/src/gtk/fontdlg.cpp
 	wxWindows/src/gtk/frame.cpp wxWindows/src/gtk/listbox.cpp
 	wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
 	wxWindows/src/gtk/window.cpp wxWindows/src/unix/descrip.mms

Patches for wxGTK for VMS
----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 13:24:55 +00:00
Vadim Zeitlin
40d432c482 wxMDIFrames define DoGetClientSize() and not GetClientSize() to avoid hiding
the base class methods


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 11:00:06 +00:00
Vadim Zeitlin
885df446a3 src/gtk/mdi.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 10:59:02 +00:00
Stefan Csomor
9c0571f341 header files for carbon targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 08:46:48 +00:00
Stefan Csomor
f2debe4d8b helper for changing types of files to TEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 07:56:09 +00:00
Stefan Csomor
be11d578d1 wxMac merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 07:21:41 +00:00
Stefan Csomor
ee6b1d97e7 wxMac merge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-10 04:43:04 +00:00
Julian Smart
6342bd1ab3 Added chapter on collection and container classes to contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 16:51:33 +00:00
Stefan Csomor
a02bb1438a merge of wxMac into main repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 11:14:15 +00:00
Stefan Csomor
05adb9d2fd merge of wxMac into main repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 11:02:59 +00:00
Stefan Csomor
30a70b29ce merge of wxMac into main repository (Carbon Precompiled Headers)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:57:08 +00:00
Stefan Csomor
4a13f6e37e merge of wxMac into main repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:54:44 +00:00
Stefan Csomor
2040ececde merge of wxMac into main repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:44:37 +00:00
Vadim Zeitlin
0e74909dd1 no changes, testing cvs logging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:41:24 +00:00
Vadim Zeitlin
089e459b74 no changes, testing cvs logging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:40:42 +00:00
Stefan Csomor
7d610b90ff merge of wxMac into main repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:36:50 +00:00
Vadim Zeitlin
f71c3b49e2 use CVSROOT/modules now instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:24:59 +00:00
Stefan Csomor
2c5d45edb5 moved code fix from 3.5.5 into this release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:15:58 +00:00
Stefan Csomor
2f1ae41432 merge with latest sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 10:10:14 +00:00
Jouk Jansen
57681e5bfd Committing in .
Modified Files:
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/unix/utilsunx.cpp

 Updates for VMS

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


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 09:51:03 +00:00
Stefan Csomor
1eaf19628c docs for building with the latest headers and carbon/macosX targets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 08:54:10 +00:00
Julian Smart
9ec98f7c7f Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-09 06:25:38 +00:00
Julian Smart
df613907d0 Changed default value for eliminateBorders (MakeExtendedStyle)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 12:21:14 +00:00
Michael Bedward
695a326318 Added Paul Gamman's patch for 0 as FALSE in bool editor and renderer.
Fixed bug in grid selection code that caused crashes (e.g. when grid
had just 1 col and mode was row selection).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 10:43:16 +00:00
Julian Smart
a98c006d8d Minor update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 08:41:55 +00:00
Bryan Petty
3ca6a5f046 second merge of the 2.2 branch (RL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-08 06:11:51 +00:00
Julian Smart
8fb3bfe20f Added first stab at GetBoundingRect for generic tree control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-07 14:42:48 +00:00
Julian Smart
2736b3ce6d Mingw32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 17:56:21 +00:00
Václav Slavík
3e14ad2f45 fixed some bugs in wxrc compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 16:52:00 +00:00
Václav Slavík
0ceae93229 removed debug message ; improved resource loading logic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 16:51:54 +00:00
Václav Slavík
2ada7c652c wxrcedit improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 16:51:32 +00:00
Julian Smart
ad90972f27 Some BC++ fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 08:18:52 +00:00
Kevin Hock
aec4371660 support for drawing arbitary object on DC's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 05:55:39 +00:00
Michael Bedward
33fed83514 Minor compilation fixes for Borland.
Changed tabs to spaces.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-06 03:15:14 +00:00
Václav Slavík
0e67e9e2d0 fixed bug in wxrcedit makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 21:26:32 +00:00
Václav Slavík
266527ec60 added minsize variable for sizers and sizeritems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 21:25:54 +00:00
Václav Slavík
29b5f2cc19 got rid of wxXmlResourceHandler::CheckPlatform, the check is now done while loading xml file ; also fixed bug in XMLID macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 21:25:20 +00:00
Václav Slavík
f737d3967f got rid of wxXmlResourceHandler::CheckPlatform, the check is now done while loading xml file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-05 21:25:07 +00:00
Julian Smart
27316302a4 Generic tree control text editor now has simple boder (no 3D effect)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 15:35:15 +00:00
Julian Smart
233058c7ab Generic tree control fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 15:23:28 +00:00
Julian Smart
941830cbe5 Renamed generic tree control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 14:24:01 +00:00
Julian Smart
3bd380a388 Added settings.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 14:09:39 +00:00
Julian Smart
484523cf52 Modified generic wxTreeCtrl to work under non-Unix platforms simultaneously
with the native control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 13:59:45 +00:00
Michael Bedward
b1944ebcd0 Removed redundant m_left etc. variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-04 05:22:34 +00:00
Václav Slavík
b64de91622 fixed low resolution problem with wxPostScriptDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-03 21:43:30 +00:00
Julian Smart
63da7df701 Added ability to call wxWindow::OnPaint under Windows (experimental).
Added wxTR_NO_LINES to remove lines from tree control (MSW only).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-03 16:11:51 +00:00
Julian Smart
bfc38e4363 Corrected resource type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-02 14:59:10 +00:00
Julian Smart
8062a6ab7b Made some member variables protected so derived classes can use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-02 14:45:05 +00:00
Julian Smart
9e85f5ec6c Removed winmm.dll from delayload list.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-02 06:35:58 +00:00
Václav Slavík
d44523b1e0 fixed bug in APPEXTRALIBS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-31 22:04:39 +00:00
Václav Slavík
a793c17b6c added binz handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-31 22:03:55 +00:00
Václav Slavík
4b0ca8b999 added wxListBox handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-31 22:03:49 +00:00
Unknown (NI)
f6fb552e5d added null pointer check in DoGetSize functions; else programs crash when resizing list heads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-30 08:42:13 +00:00
Unknown (NI)
0bc6abf126 added a wrapper class for opengl contexts (like that used in the gtk and msw
ports)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-30 03:32:39 +00:00
Unknown (NI)
2695b17409 added a simple wrapper class for shared opengl contexts (like in the gtk and msw
ports)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-30 03:30:37 +00:00
Julian Smart
85d03040fc FloodFill correction, wxQuantize correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-29 17:25:36 +00:00
Julian Smart
2f382cc6be Added version of Quantize that manages the palette itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-29 13:41:56 +00:00
Julian Smart
5e5437e00b Added Set/Get/HasOption members and moved palette to ref data class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-29 11:44:57 +00:00
Julian Smart
3f4fc7967b Added wxQuantize, wxSplashScreen, wxEffects & added palette to wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-28 17:53:25 +00:00
Michael Bedward
cbb4b02f09 Updated docs for wxGrid::SelectBlock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-28 05:21:17 +00:00
Michael Bedward
c909783630 Renamed existing wxGrid::SelectBlock to HighlightBlock.
Added new wxGrid::SelectBlock that does what the name suggests
(consistent with the other SelectXXX functions).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-28 05:12:32 +00:00
Václav Slavík
a6a997a68d radiobox default dimension changed from 0 to 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 18:53:23 +00:00
Václav Slavík
11b6e0c533 fixed setting value in spinctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 18:53:13 +00:00
Václav Slavík
75e0bd4460 added more controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 18:53:04 +00:00
Václav Slavík
ab13d1c58f added notebooks support; added not_supported variable type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 18:52:12 +00:00
Václav Slavík
45a248176c added XMLCTRL() macro for fast access to dialog controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 18:51:28 +00:00
Václav Slavík
0bed1ceef8 notebooksizer is now property of notebook, not special kind of sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 18:51:07 +00:00
Julian Smart
f9c165b1d6 Generic dirctrl corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 16:34:51 +00:00
Julian Smart
d62653e63f Updated wxMotif files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 15:12:56 +00:00
Julian Smart
55b88634eb Updated file list to include dirctrlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 15:11:47 +00:00
Václav Slavík
b0f853260e recommited binary files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 09:38:40 +00:00
Václav Slavík
af2251f16f oops, forgot -kb
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 09:37:32 +00:00
Václav Slavík
4ee0ff3bd6 standardized projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 09:36:50 +00:00
Václav Slavík
7f3938321d now uses resources, not xpm files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 09:35:42 +00:00
Václav Slavík
f443043db0 fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 09:35:35 +00:00
Václav Slavík
1ad83f6b37 added WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 09:35:16 +00:00
Michael Bedward
ae9cab0676 Fix for bug where the cell highlight was not cleared from a cell
that was only partially in view.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 06:37:41 +00:00
Michael Bedward
a0948e2723 Added another hack to the collection of hacks in
wxGridCellTextEditor::SetSize so that the caret will show
for cells in the first row.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 06:23:33 +00:00
Michael Bedward
0767cb6f44 Changed wxGridCellAttr::HasAlignment to treat values of -1 as no
alignment because wxALIGN_LEFT and wxALIGN_TOP are 0.

Updated griddemo.cpp to use correct alignment defs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 04:09:21 +00:00
Michael Bedward
4c7277db42 Changed cell and label alignment functions to use wxALIGN_XXX defs.
SetXXXAlignment() functions still accept wxTOP, wxLEFT etc
for (some) backwards compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 01:57:24 +00:00
Michael Bedward
5c69031cd1 Some more wxGrid function docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-27 01:29:07 +00:00
Václav Slavík
35a0184e7d xmlres: added support for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:49:18 +00:00
Václav Slavík
10461e195f standardized syntax of bool properties: '1' means true, anything else false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:34:36 +00:00
Václav Slavík
d3e41b770e changed content of checklist, choice, combobox, radiobox from <children> to <content>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:34:26 +00:00
Václav Slavík
78cb10ef7d visual enhancements of wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:34:19 +00:00
Václav Slavík
fccd6cdc31 added handling of wxGridSizer and wxFlexGridSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:34:05 +00:00
Václav Slavík
55db6a69ce added wxMSW support to wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:33:23 +00:00
Václav Slavík
4ccd46a29e fixed typo in wxStaticBitmap wxrcedit definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:33:10 +00:00
Václav Slavík
dfc0e3fb9a xmlres: added support for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:32:47 +00:00
Václav Slavík
1cfae2e074 added xmlres format docs (uncomplete)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:32:26 +00:00
Václav Slavík
1d43cb9e7f changed shared library version number to 2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 21:31:39 +00:00
David Webster
07d7f20b50 fix for VA 3.0 vs 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 20:06:24 +00:00
Julian Smart
ad9cd15cb0 Better behaviour on NT (no dialogs when searching drives)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 14:08:39 +00:00
Julian Smart
031dfec8d4 WIN32 compilation of wxrc, wxrcedit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 12:40:49 +00:00
Julian Smart
1126585b76 Corrected makefile target bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 11:53:38 +00:00
Julian Smart
df801fc6d4 Added additional wxXML makefiles and projects files; added some
flexibility to VC++ make include files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 11:43:54 +00:00
Julian Smart
e45212eb04 Not sure why this file is being committed (CVS glitch?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-26 08:50:18 +00:00
Václav Slavík
fd433c2e31 added xml resources readme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 18:48:13 +00:00
Václav Slavík
3fa4bd0e78 wxGTK compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 18:47:58 +00:00
Václav Slavík
3509d340e2 wxGTK compilation fix (undefined wxDirDialogDefaultFolderStr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 18:47:48 +00:00
Václav Slavík
3112490359 gtk 1.2.8 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 18:47:29 +00:00
Václav Slavík
56d2f75071 added XML resources library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 18:47:21 +00:00
Mark Johnson
ca7408bd9a dbbrowse.cpp dbgrid.cpp dbtree.cpp doc.cpp pgmctrl.cpp
dbbrowse.dsp dbbrowse.dsw dummy.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 12:15:55 +00:00
Guillermo Rodriguez Garcia
54ca0d120a Modified mouse ENTER/LEAVE events so that they also
carry information about the state of the mouse buttons
(they only had info about SHIFT and CTRL keys so far)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-25 06:27:45 +00:00
Ove Kaaven
3419e8e7bd Fix gtk+ 1.2 compilation...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 23:44:17 +00:00
Julian Smart
5e679c4070 Fixed wxMotif breakage, sorry!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 19:55:22 +00:00
Julian Smart
f77034779a Added insertion point code to wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 15:26:59 +00:00
Ove Kaaven
3e61dfb0e8 Try to include windows.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 13:47:19 +00:00
Guillermo Rodriguez Garcia
0a1c1e6214 Fixed broken compilation due to Ove's last nice changes :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 13:28:01 +00:00
Guillermo Rodriguez Garcia
bb8a8dc5f7 Corrected comment about Norlander headers (no changes to the code itself)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 11:55:34 +00:00
Julian Smart
2a2b997f07 Updated version number.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 09:44:46 +00:00
Julian Smart
012286eb3b Corrected test for _vsnprintf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 09:01:57 +00:00
Michael Bedward
632efa475b Changes as per patch from Paul Gammans to fix bug with edit control
handling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 06:16:49 +00:00
Michael Bedward
64c13219b0 Had accidentally added gridwork.tex to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-24 04:58:40 +00:00
Julian Smart
51a58d8b4b Added wxGenericDirCtrl, wxGenericDirDialog and associated icons.
Altered dialog sample to show generic dir dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-23 19:10:27 +00:00
Julian Smart
4567f2b2c6 Updated project and makefiles (VC++) to be more consistent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-23 14:26:37 +00:00
Julian Smart
74afbadc17 Cygwin 1.1 mods (main branch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-22 14:03:36 +00:00
David Webster
494a19d6d9 fixes for trailing commas for OS/2 from WX_2_2_BRANCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 20:45:20 +00:00
David Webster
71c97a89fa fixes for S_IFMT for OS/2 from WX_2_2_BRANCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 20:44:39 +00:00
Julian Smart
a55e0ebc56 Corrected some combobox-related code, changed ordering and added wxSpinCtrl
support as per bug report


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 15:43:14 +00:00
Unknown (NI)
264de0cc03 moved check for x include/library paths from motif configuration section to main scope of confiure.in; added opengl libs to freebsd target if configured with opengl support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 10:37:26 +00:00
Unknown (NI)
919ae91ad7 uses now the platform independant attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 10:16:53 +00:00
Michael Bedward
03817a5e24 Trying again to add these files to the main trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 08:30:47 +00:00
Michael Bedward
78c49c5829 First batch of work for new wxGrid docs.
Very incomplete - still lots to do but will commit more
next week.  Please don't edit yet without letting me know
via the list.

 - Michael


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 08:24:18 +00:00
Michael Bedward
d82323930c Added ForceRefresh() to request immediate repainting of a grid.
Calling Refresh() doesn't do this because of our minimal OnPaint
handler (to reduce screen flicker).

Setting of position coords for wxGridEvents now takes account of
row and col label sizes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 06:51:22 +00:00
Guillermo Rodriguez Garcia
47af912426 Changes for VISAGECPP (use _ftime to avoid clock skew bug)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-21 05:32:07 +00:00
Unknown (NI)
aff5d59148 another small error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 19:18:38 +00:00
Unknown (NI)
e6afccba51 no comment :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 18:18:18 +00:00
Unknown (NI)
83918cccc9 umph, had made a dangerous mistake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 18:14:23 +00:00
Unknown (NI)
f48d169c4a applied the patch by Garrick Meeker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 17:31:40 +00:00
Unknown (NI)
0f8d11dc8d Applied the patch by Garrick Meeker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-20 17:27:25 +00:00
Ove Kaaven
8943b4030c Really cheesy attempt to make wxDC::DrawText() utilize gtk+ 1.3.1's
multilingual text rendering engine to draw Unicode text (doubt this works
on wxMemoryDC, but at least it makes the generic listctrl show unicode text).

But I suspect that the text engine really should be abstracted at
a higher level in wxWindows...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 10:44:14 +00:00
Ove Kaaven
a2d8ce854e There's no ONSCREEN/OFFSCREEN flag in gtk+ 1.3.1, so I had to #ifndef
them out. Also used GTK_CLASS_TYPE...
(For some reason, scrolling no longer works with gtk+ 1.3.1 now...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 10:34:52 +00:00
Ove Kaaven
dd00f3f6fa Make this compile with gtk+ 1.3.1... not sure what the "casting"
(class assignment) of the widget styles are for, but I used
_G_TYPE_IGC anyway...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 10:31:58 +00:00
Ove Kaaven
2afa14f2c7 Use GTK_OBJECT_GET_CLASS macro.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 10:28:26 +00:00
Ove Kaaven
ff67d5860d May as well also add a GTK_CLASS_TYPE macro for compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 09:45:24 +00:00
Ove Kaaven
b7c2d6ffcb gtk+ 1.3.1's region transformation code no longer returns a new region,
but rather seems to operate on the source region... added a bunch
of ifdefs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 09:39:18 +00:00
Ove Kaaven
9d084560f8 There's no gtk_widget_push_visual/pop_visual in gtk+ 1.3.1, so I just
ifndef-ed it out. Not sure if it matters.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 09:35:41 +00:00
Ove Kaaven
e6ae733061 Added "stand-ins" for a couple of Pango (Owen Taylor's multilingual text
rendering engine, used by gtk+ 1.3 widgets) types, and added
GTK_OBJECT_GET_CLASS macro for backwards compatibility with gtk+ 1.2


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 09:32:26 +00:00
Ove Kaaven
7edc258ec2 If the "partial" argument is true, you're probably meant to set the
LVFI_PARTIAL flag, not the LVFI_STRING flag again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:56:40 +00:00
Ove Kaaven
df530a2693 Still no such thing as gtkfeatures.h in gtk+ 1.3.1...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:51:31 +00:00
Ove Kaaven
307fc8d582 Casting to GdkColormapPrivate is neither possible nor necessary in
gtk+ 1.3.1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:50:37 +00:00
Ove Kaaven
2d4dc3a4d0 If compiling with WXGTK20, set wxConvCurrent to wxConvUTF8, as all
gtk+ 1.3.1's widgets (except the deprecated/obsoleted ones) work
solely with UTF-8. (I knew my forward thinking regarding wxConvCurrent
would pay off someday...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:47:46 +00:00
Ove Kaaven
4aefa363ef If, in a single-selection listctrl, a focused item is selected, and the
focus is moved programmatically (SetItemState) without selecting the new
item, the old focused item wasn't deselected, making the listctrl end up
with TWO selected items when the focused item gets selected by the user.
So I made SetItemState deselect the old focused item when the focus is
moved in a single-selection listctrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:36:53 +00:00
Ove Kaaven
63c8fa9565 Another case of fn_str() in wxFopen() ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:31:36 +00:00
Ove Kaaven
d42508c2a0 gtkfeatures.h does not exist under gtk+ 1.3.1, #ifndef it out
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:28:55 +00:00
Ove Kaaven
8a667305e7 wxGTKDash is also a gint8 under WXGTK20
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:27:41 +00:00
Ove Kaaven
10ca1c1459 Replaced WXGTK13 with WXGTK20
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:26:42 +00:00
Ove Kaaven
1cd5241886 An attempt at make the wxCSConv class useful. Uses iconv under Unix,
Internet codepages under Windows, wxEncodingConverter if all else fails.
Not really complete, not really optimized, nor really tested,
but I'll let you check whether it could be useful at least.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:25:15 +00:00
Ove Kaaven
66b3ec7f9a More Unicode compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:20:03 +00:00
Ove Kaaven
888b0f22a9 The wxFopen() fix again, but in the main branch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:13:58 +00:00
Ove Kaaven
6f72b08293 Configure checks for:
sizeof(wchar_t)
iconv.h
langinfo.h
gtk+ 1.3.1, defines __WXGTK20__ (I removed __WXGTK13__)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:08:43 +00:00
Ove Kaaven
ecc7ceee42 aclocal configure macro from gtk+ 1.3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-19 08:03:55 +00:00
Guillermo Rodriguez Garcia
a3c8a7ad5e Added opengl32 to DLL libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-17 13:52:38 +00:00
Bryan Petty
f6bcfd974e merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-07-15 19:51:35 +00:00
Karsten Ballüder
8a693e6e04 Added RTLD_GLOBAL to dlopen() flags which is needed if libraries depend
on each other.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-08 20:11:51 +00:00
Guilhem Lavaux
c42b1de68a wxMMedia doc updates
wxMMedia compilation fixes
OGL and STC makefile build fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-06-04 08:38:36 +00:00
Guilhem Lavaux
b97a2c5385 Added WXDLLEXPORT symbol for DynLib classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-17 16:45:01 +00:00
Unknown (HK)
05ba6762b5 updated wxStudio module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-12 07:26:18 +00:00
Robin Dunn
00a96720ec removed wxPython module from the modules file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 21:18:05 +00:00
Jouk Jansen
a8e72c8f27 Committing in .
VMS compile support for samples/drawing/

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/drawing/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-11 12:12:59 +00:00
Jouk Jansen
dbaf885e87 Committing in .
VMS compile support for samples/mdi

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/mdi/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-09 12:28:12 +00:00
Jouk Jansen
0384e718cf Committing in .
Added Files:
 	wxWindows/samples/resource/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-09 11:29:36 +00:00
Jouk Jansen
e0fcbf2390 Committing in .
VMS compile support for samples/resource

 Modified Files:
 	wxWindows/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-09 11:27:09 +00:00
Unknown (HK)
55a76346b1 Removed -a switch for wxStudio.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-06 12:13:02 +00:00
Julian Smart
fbdcff4a78 Misc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 16:40:32 +00:00
Unknown (HK)
8947dc6d65 Fixed wxStudio module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 15:21:59 +00:00
Unknown (HK)
1f7fd1a500 Added wxStudio module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-05-05 13:11:45 +00:00
Vadim Zeitlin
d8ecfb85ee compilation fix inside WXWIN_COMPATIBILITY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 16:14:07 +00:00
Vadim Zeitlin
09b61d999d const cast inside WXWIN_COMPATIBILITY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 16:10:25 +00:00
Vadim Zeitlin
69d4002111 added -mt note for Sun CC 4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 16:06:44 +00:00
Vadim Zeitlin
da27bd0b4a mention wxNB_LEFT/RIGHT/BOTTOM styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 15:47:22 +00:00
Vadim Zeitlin
b01ca3e3d9 fixed double eol problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-11 14:34:38 +00:00
Guilhem Lavaux
8c6f3b9c6d Changed a little the initialization code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-04-03 17:41:16 +00:00
Robin Dunn
88b780d9f9 Undoing Eric's changes on the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-31 17:44:48 +00:00
Eric W. Sink
64a3ee5fd2 This commit includes the following changes:
1.  I have grabbed a new copy of the original Scintilla code from its
CVS repository on SourceForge.  I believe this code corresponds to
Scintilla 1.24.

2.  That code included several new files (stc/scintilla/src/Lex*.cxx)

3.  I added mentions of those files to Makefile.in and the .dsp file.

4.  I added a new required method to PlatWX.cpp, but it doesn't do
anything, and I don't think it needs to.

5.  I added code to stc.cpp which gratuitously references all of the
lexers, to prevent them from being optimized away by the linker.

6.  I modified (stc/scintilla/src/Lex*.cxx) to make the LexerModule
objects externally visible.

Gripes to me.  (eric@sourcegear.com)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-30 18:43:38 +00:00
Robin Dunn
13d7105a66 simple change to test new CVS server
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-28 17:15:58 +00:00
Karsten Ballüder
bb4624242b joystick made conditional
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-27 11:20:54 +00:00
David Webster
b963e7d546 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-23 05:17:18 +00:00
David Webster
40bd6154f1 Reworked Frame class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 23:22:48 +00:00
Vadim Zeitlin
96525e629a french translation done!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:50:10 +00:00
Jouk Jansen
02c6eadbc8 Committing in .
Modified Files:
 	wxWindows/src/gtk/wx_gtk_vmsjackets.c
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:42:38 +00:00
Vadim Zeitlin
15b8c27a7a small fix to the msg catalog search path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:32:46 +00:00
Vadim Zeitlin
61714c237d note about comctl32.dll bug with tree ctrl colours added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-22 12:11:54 +00:00
David Webster
2df793f9f4 Quick VA fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 13:39:53 +00:00
David Webster
d92a1d4f5a Settle on one shortcut key utility proc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 13:39:23 +00:00
Julian Smart
d6a3816816 Added WXDLLEXPORT keywords
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-21 10:39:00 +00:00
Robert Roebling
ea1f75db44 Great. A dot mssing in the spec file so I can start
building again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 18:51:59 +00:00
Vadim Zeitlin
dc3d889d0b 1. some (benign) warnings fixed
2. make dist/install fixes for wxBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 18:41:55 +00:00
Vadim Zeitlin
b18cfdd9bd wxThread::Kill() doesn't call OnExit() incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 17:39:18 +00:00
Julian Smart
f8f3e76318 Had to #ifdef out wxGetFullHostName for Cygwin b20
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 16:52:43 +00:00
Julian Smart
f47cd02d71 Win16 BC++ makefile fixes, other v. small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 16:32:55 +00:00
Julian Smart
05edc41991 SetBrushOrgExt broke WIN16 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 15:48:54 +00:00
David Webster
6aa929e784 gsocket update. Fix for EMX broke VA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 14:47:47 +00:00
Vadim Zeitlin
8916026b7e always link with libm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 13:46:14 +00:00
Julian Smart
0a0352f2f8 Docview mended (grrr) and OGL studio partially working under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 13:41:16 +00:00
Guillermo Rodriguez Garcia
26993c4f64 Added extern "C" around winsock and moved it before "wx/msw/private.h"
to make it work with mingw (2.95 is buggy)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 13:00:27 +00:00
Guillermo Rodriguez Garcia
062a3faae7 Patch to add extern "C" to winsock.h in gcc2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 12:57:26 +00:00
Julian Smart
09fb214e01 Added joytest Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 10:54:26 +00:00
Julian Smart
34cb2199dc Fixed wrong cursor problem in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 10:53:48 +00:00
Julian Smart
cca602accb Fixed problem with CaptureMouse if cursor is null.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 10:53:04 +00:00
David Webster
dae167759c OS/2 Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 00:31:11 +00:00
David Webster
8c5907cea3 OS/2 Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-20 00:20:29 +00:00
Guillermo Rodriguez Garcia
c2c436609d A duplicate case label broken mingw compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 23:43:38 +00:00
Guillermo Rodriguez Garcia
dbf75be725 Added a Motif-only extra call to UpdateInfoText() just after frame creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 23:19:52 +00:00
Ron Lee
ceded8b925 fixed broken test for wxUSE_JOYSTICK in configure.
added joytest sample to samples_dist and samples/configure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 23:04:18 +00:00
Julian Smart
281b0186b8 Misc small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 19:55:13 +00:00
Robert Roebling
1f3c610d03 The Return of WM Size Hints Part IV.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 19:51:08 +00:00
Vadim Zeitlin
a20b6d3ab3 zlib objects linked together with wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 18:51:40 +00:00
Vadim Zeitlin
7ff26ec2ae wxFTP::Close() shouldn't hide base wxSocket function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 18:46:55 +00:00
Robin Dunn
bae411099c Allows wxStatusBar95 to send common events like other windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 17:21:28 +00:00
Vadim Zeitlin
bd3277fec0 1. corrected HAVE_PW_GECOS detection in configure (which never worked)
2. added and documented wxGetFreeMemory() for Unix (Linux/Solaris only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 16:45:43 +00:00
Robert Roebling
15909a16b3 Funny resize behaviour fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 16:23:09 +00:00
Václav Slavík
3d6f72618e fixed KeySym handling ((keysym & 0xF000) != 0 instead of keysym < 0xFF to determine printable characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 15:28:45 +00:00
Julian Smart
9c6751aa46 Small mods to distrib files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 15:24:27 +00:00
Julian Smart
7fee680be8 Some VC++ makefile fixes; minor comment mods to setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:47:13 +00:00
Ron Lee
8e792b5432 added missing object file for vidxanm to unix makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:43:52 +00:00
Stefan Neis
3720ab6a98 Added info about versions for XFree86/OS2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:34:23 +00:00
Vadim Zeitlin
2633045c32 some old Danish translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 14:18:16 +00:00
Vadim Zeitlin
c837a756e8 OS/2 info added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:59:52 +00:00
Vadim Zeitlin
a5ea1d7cc8 compilation fix for anything different from VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:52:50 +00:00
Ron Lee
08c921042e added missing object files for oss & esd to unix makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:51:13 +00:00
Vadim Zeitlin
e9f88d0414 some more (apparently harmless) changes from Klass Holwerda
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:27:52 +00:00
Vadim Zeitlin
af7451accc translator for Swedish added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:20:06 +00:00
Vadim Zeitlin
f7aa71fa81 some more explanations about thread exiting/killing/deleting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 13:10:02 +00:00
Stefan Neis
444cb676b2 Chnaged includes to work without precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 12:57:08 +00:00
Vadim Zeitlin
6e58645e86 apparent gcc bug workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 12:36:04 +00:00
Robert Roebling
d06b34a73e Highly experimental, unstable code (for determining the
encoding of the default GUI font). #ifdeffed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 10:31:26 +00:00
Robert Roebling
aaef15bf82 Small speed-up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 09:08:09 +00:00
Ron Lee
3711412e38 repaired some of the more obvious horrors in the contrib (configure) Makefiles
reworked makelib.env so that it now can create shared libs and has (un)install
targets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 04:09:08 +00:00
Robin Dunn
ede8795ff0 wxUSE_DYNAMIC_CLASSES was left out.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 03:41:25 +00:00
Unknown (NI)
e8741ccae8 fixed wxListMainWindow::HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 02:10:09 +00:00
Vadim Zeitlin
feea7c52e9 don't compile docvwmdi sample if !wxUSE_MDI_ARCHITECTURE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 00:57:10 +00:00
Vadim Zeitlin
3b415ba4cd 1. fixed crash in wxDateTime::ParseDate
2. some DLL compilation fixes
3. wxHandleFatalExceptions() implemented for MSW and documented
4. some attempts to make setup0.h a bit nicer


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-19 00:56:22 +00:00
Stefan Neis
b59c98ddb8 Added includes needed if not using precompiled headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 23:42:28 +00:00
Stefan Neis
999e841c9e Removed redundant member variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 23:24:51 +00:00
Stefan Neis
7a85f3f97c Don't try to use Tooltips, if they are not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 23:12:01 +00:00
Stefan Neis
6040c9de74 No precompiled headers for gcc, even if compiling WXPM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 22:50:07 +00:00
Stefan Neis
468e327aac Added a couple of fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 22:28:28 +00:00
Vadim Zeitlin
eb4efbdc86 some files for wxHandleFatalException() I previously forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 22:25:22 +00:00
Václav Slavík
08abd69b58 changed titlebar text colour from white to fg[GTK_STATE_SELECTED]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 21:46:18 +00:00
Ron Lee
c56371028f These two makefiles were *horrid* abominations.
In fact they still are.  But at least now they have
some _chance_ of actually working..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 21:15:16 +00:00
Ron Lee
99ad02720b made makefile more robust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 20:22:18 +00:00
Robert Roebling
1bd59dddc3 wxAccel fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 20:18:00 +00:00
Julian Smart
fac2666314 Added def files for making OpenGL DLLs (Mingw32); added comment to wxHTML format
doc; added OpenGL libs to makeg95.env


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 20:11:10 +00:00
Robert Roebling
7c1122c4eb I don't think the last person to edit splitter.cpp did
actually run the sample afterwards. I did.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 18:47:00 +00:00
Stefan Neis
2b33b72819 Added conversion of menu labels (&->~)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 17:39:14 +00:00
Guillermo Rodriguez Garcia
90cfeaab3f Had to #ifdef out all the new wxGetFullHostName code as it breaks all
the samples and apps _at least_ under mingw (and I think it will also
cause other problems). Sorry, will have to wait for 2.1.14 to be released
before this can be properly fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 16:48:02 +00:00
Julian Smart
2d027cfa88 Removed the wonderfully malicious WS_CLIPSIBLINGS style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 15:50:40 +00:00
Julian Smart
d50af7148c Corrected my correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 14:12:11 +00:00
Julian Smart
2c68bdb64e Moved position of WXDLLEXPORT keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 13:24:58 +00:00
Julian Smart
541418efad Corrected WXDLLEXPORT keyword position.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 13:19:54 +00:00
Julian Smart
741f371c68 Restored sane way of using BC++ linker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 09:34:56 +00:00
Julian Smart
6787e41e49 Added stub for wxHandleFatalExceptions. But where's the implementation?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 09:26:44 +00:00
Julian Smart
528e0faf1c Doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 09:20:21 +00:00
Robin Dunn
ee284519e4 When making the DLL with glcanvas then you have to link the dll with
the gl libraries.  Added a flag to let the makefile do that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 08:33:15 +00:00
Robin Dunn
bd53731ec3 When making the DLL with glcanvas then you have to link the dll with
the gl libraries.  Added a flag to let the makefile do that.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 08:15:25 +00:00
Robin Dunn
4107335720 new swig generated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 07:57:59 +00:00
Robin Dunn
de9d9ed211 changes for wxDash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-18 07:57:15 +00:00
Vadim Zeitlin
89e6035748 more tests: OS/user info functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:02:38 +00:00
Vadim Zeitlin
2e8a1588f8 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:02:03 +00:00
Stefan Neis
c092213d52 Added include of module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:01:33 +00:00
Vadim Zeitlin
1f0500b3ee 1. wxGetFullHostName() does return the full host name now under MSW
2. wxGetEmailAddress() doesn't always return empty string...
3. status bar created under MSW is of type wxStatusBar, hence wxWin RTTI
   works for it
4. carsh in IPC sample fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 23:00:10 +00:00
Robin Dunn
8759d4d519 fixes for drop source and for capturing the mouse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 19:30:19 +00:00
Robin Dunn
aa9fb2be6d Some wxPython doc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:59:26 +00:00
Robin Dunn
6a6d5b4731 fixing the STC sample makefile to find the include directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:49:18 +00:00
Vadim Zeitlin
a7987cc1a2 fix in fontspec parsing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:29:58 +00:00
Vadim Zeitlin
b2b3552407 HTTP_PROXY bug (freeze on program startup) should be fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:18:58 +00:00
Robin Dunn
fb04b3438d wxFont remembers facename of actual font used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 18:16:08 +00:00
Julian Smart
b2cf617cb8 Some doc fixes; BC++, Watcom C++, Mingw32 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 17:59:56 +00:00
Vadim Zeitlin
a37a5a73c5 wxHandleFatalExceptions() added, documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 16:55:34 +00:00
Stefan Neis
3bfbab1e83 Added missing IMPLEMENT_DYNAMIC_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 16:41:12 +00:00
Robert Roebling
5d9fe0892b Small makefile change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 15:42:54 +00:00
Vadim Zeitlin
7d9fd00474 skip status bars in wxWindow::Fit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 15:30:55 +00:00
Guillermo Rodriguez Garcia
e5b502f3a6 Fixed bug for late events arriving after connections had been destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 15:09:18 +00:00
Vadim Zeitlin
bc1dcfc1aa warnings from FreeBSD compilation log removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 14:08:54 +00:00
Julian Smart
f4bfe7e0c1 Removed an include from windres flags since it can't cope with a long command line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 14:05:16 +00:00
Vadim Zeitlin
a18db02249 oops, compilation error - fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:59:54 +00:00
Vadim Zeitlin
2d8a5cb1da wxSTIPPLE_MASK_OPAQUE implementation from Klaas Holwerda
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:58:17 +00:00
Bart A.M. Jourquin
7ef53f2dc5 fix for textctrl height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:39:45 +00:00
Bart A.M. Jourquin
5a074a3c22 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:31:51 +00:00
Bart A.M. Jourquin
780ee02d16 default font for dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 13:12:10 +00:00
Stefan Neis
1c85008fcf Added #pragma implementation for gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:47:10 +00:00
Stefan Neis
a78e08d6cb bool-> int, gcc doesn't like bool in _C_ code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:46:29 +00:00
Stefan Neis
27f37ae504 bool->int, since gcc doesn't like bool in _C_ code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:45:29 +00:00
Julian Smart
f6a3517155 Added back gnuwin32 include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 12:01:00 +00:00
George Tasker
ec974d2300 RCS left a turd in the previous checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 11:18:46 +00:00
George Tasker
2750885629 Fixed compilation in release mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 11:15:57 +00:00
Julian Smart
6158481fe5 Added some makefiles, more BC++/win16 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 10:08:07 +00:00
Julian Smart
9c824f2977 Doc updates; new grid disabled for BC++/WIN16 (too much global data)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 09:19:37 +00:00
Mark Johnson
595b5c4eb6 db.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:44:44 +00:00
Mark Johnson
e2f1cfb2cc browsedb.cpp browsedb.h doc.cpp doc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:43:57 +00:00
Unknown (MT)
6fb8177afd added WS_CLIPSIBLINGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:10:09 +00:00
Unknown (MT)
d3f5d09d47 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-17 08:07:00 +00:00
David Webster
c3cea74805 more framework fixes for menu displays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 23:24:38 +00:00
Guillermo Rodriguez Garcia
cc534ff767 Removed bool params and retvalues in GSocket interface to avoid mismatch
between C-compiled bools in gsocket and C++ real bools as passed by wxSocket


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 21:57:21 +00:00
Guillermo Rodriguez Garcia
5c9eff3055 Removed bool params and retvalues in GSocket interface to avoid mismatch
between C-compiled bools in gsocket and C++ real bools as passed by wxSocket


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 21:57:20 +00:00
Guillermo Rodriguez Garcia
032d558182 Fixed a problem in GAddress related to CHECK_ADDRESS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:46:52 +00:00
Robert Roebling
80629c8bf6 Next take at getting mini-frames even with Life! to work...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:41:27 +00:00
Guillermo Rodriguez Garcia
609c60af5e More debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 20:09:08 +00:00
Robert Roebling
8185521695 Fixed mini-frame problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:47:23 +00:00
George Tasker
69d042c37d Fixed a typo in wxDbConnectionsInUse()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:42:29 +00:00
Stefan Neis
039bec17f4 Readded #if wxUSE_UNICODE to ~wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:27:40 +00:00
George Tasker
3f755e2d96 Modified to use the newly defined names for functions/classes/structs defined to match the wxWindows conventions for naming (primarily prefacing these items with wx).
Fixed program so it would not crash when using FILE|EXIT
Fixed widget alignment issues


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:09:42 +00:00
George Tasker
df991b9dfb Modified to use the newly defined names for functions/classes/structs defined to match the wxWindows conventions for naming (primarily prefacing these items with wx).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:02:22 +00:00
George Tasker
fdc0367851 Cleaned up the API for class/structure/function names to follow the wxWindows conventions (mostly prefixing wx to all of them). Backward compatability is maintained by keeping the old names calling the new functions, or typedef-ing the old names to the new names. The old names can be totally disabled at the end of the file by changing the #if 1 block that surrounds the old names
Added a wxDbCreateDataSource() function, though it only works under MSW using VC6, because the API is not available with iODBC.  To use this, it requires linking in odbccp32.lib and #including odbcinst.h in db.h.  This function is disabled with #if 0 for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:00:24 +00:00
George Tasker
4a8fc2c8b3 Cleaned up the API for class/structure/function names to follow the wxWindows conventions (mostly prefixing wx to all of them). Backward compatability is maintained by keeping the old names calling the new functions, or typedef-ing the old names to the new names. The old names can be totally disabled at the end of the file by changing the #if 1 block that surrounds the old names
Added a param to GetWhereClause() so that now the LIKE operator can be applied to strings rather than EQUAL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 19:00:07 +00:00
George Tasker
8128349e81 Cleaned up the API for class/structure/function names to follow the wxWindows conventions (mostly prefixing wx to all of them). Backward compatability is maintained by keeping the old names calling the new functions, or typedef-ing the old names to the new names. The old names can be totally disabled at the end of the file by changing the #if 1 block that surrounds the old names
Undid RRs last change, as it breaks backward compatabilty with using this class with 1.6x (GetData() is still a supported function, and is used in dozens of other places in this file, so it could not have broken compilation).
Added a param to GetWhereClause() so that now the LIKE operator can be applied to strings rather than EQUAL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 18:59:40 +00:00
Vadim Zeitlin
ab0f03868e added test for bug #38
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:57:19 +00:00
Robin Dunn
4e0dcbb14a converted some args to return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:37:32 +00:00
Vadim Zeitlin
0d910be798 tooltip fix: compile-time test removed, comment explaining it added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:37:18 +00:00
Václav Slavík
23d38b36f8 added remark on hhp2cached
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 17:22:25 +00:00
Vadim Zeitlin
ccdb23df47 better TestSocketServer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 16:47:45 +00:00
Vadim Zeitlin
9239628cfc bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 16:30:14 +00:00
Guillermo Rodriguez Garcia
8e3aec856b Only added \n to debug printfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 16:00:19 +00:00
David Webster
13588544c5 compile bug fixed in SetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 15:53:49 +00:00
Guillermo Rodriguez Garcia
aac67d4c3d More debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 15:35:10 +00:00
Guillermo Rodriguez Garcia
29c25a8e01 MSW: Grouped all MSVC #pragma disable
Unix: Fixed GAddress_destroy leak as Vadim did for MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 12:26:15 +00:00
Guillermo Rodriguez Garcia
0ca580f6fb Process pending events before deleting pending objects, and do it
regardless of the value of wxUSE_THREADS (wxPostEvents can be used
in single threaded apps). Changed: wxApp::OnIdle


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 12:05:01 +00:00
Jouk Jansen
967a572877 Committing in .
Modified Files:
 	wxWindows/docs/readme_vms.txt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:49:44 +00:00
Jouk Jansen
27df579a6f Committing in .
Patches for the wxGTK compilation on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/include/wx/gtk/app.h
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/generic/filedlgg.cpp wxWindows/src/gtk/app.cpp
 	wxWindows/src/gtk/descrip.mms wxWindows/src/gtk/listbox.cpp
 	wxWindows/src/gtk/utilsgtk.cpp wxWindows/src/gtk/win_gtk.c
 	wxWindows/src/gtk/window.cpp
 	wxWindows/src/gtk/wx_gtk_vmsjackets.c
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 08:07:59 +00:00
Vadim Zeitlin
117082d17b 1. fixed memory leak in GAddress
2. fixed memory leak with wxLogStderr in wxBase
3. updated tmake files/makefiles for wxBase with wxSocket under MSW
4. fixed wxSashWindow cursor bug by allowing SetCursor(wxNullCursor)
5. fixed warning in gsock*.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:12:31 +00:00
Vadim Zeitlin
89fc5e5d66 removed test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:05:20 +00:00
Vadim Zeitlin
9fc3cba7fa some fixes in TestSocketServer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:04:50 +00:00
Vadim Zeitlin
8a9c22462a 1. fixed memory leak in GAddress
2. fixed memory leak with wxLogStderr in wxBase
3. updated tmake files/makefiles for wxBase with wxSocket under MSW
4. fixed wxSashWindow cursor bug by allowing SetCursor(wxNullCursor)
5. fixed warning in gsock*.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 01:03:52 +00:00
Robin Dunn
9eb662e94c dropTarget is now dynamically allocated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-16 00:15:48 +00:00
Unknown (NI)
7e42f2f863 included missing header files - without them mingw32 compilation failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 23:31:15 +00:00
David Webster
c0dbf1fb90 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 23:27:47 +00:00
Stefan Neis
8138a3b0c6 Bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 22:01:45 +00:00
Ron Lee
a99b3d76f2 removed TAB_TRAVERSAL style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 20:51:43 +00:00
Julian Smart
d834f22c8e Some C++Builder fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 19:53:30 +00:00
Vadim Zeitlin
8dfea369ea wxSocketServer test added to console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 19:19:44 +00:00
Julian Smart
669f7a111f Various compiler changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 18:52:23 +00:00
Vadim Zeitlin
2d8e9af9c9 test data file for console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 17:16:56 +00:00
Vadim Zeitlin
8e907a13ea 1. wxFTP works (somehow)
2. wxSocket/GSocket wxBase support for Unix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 17:16:35 +00:00
David Webster
76990f630b no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 16:39:36 +00:00
Ron Lee
e893cd66dc added some missing makefile.unx to samples_dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 16:16:53 +00:00
Ron Lee
39fc1a6a05 makefile changes for utils_dist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 14:58:04 +00:00
Guillermo Rodriguez Garcia
5f3629babd Fixed _Read() when waitall was not set and there was data in the pushback buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 14:35:33 +00:00
Guillermo Rodriguez Garcia
7b28543293 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 14:34:41 +00:00
Guillermo Rodriguez Garcia
f4d5e0098a Fixed a endianness stupidity in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 13:29:07 +00:00
Guillermo Rodriguez Garcia
52fbdb5892 Added a warning for unknown events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 13:28:07 +00:00
Julian Smart
53adbc34a2 Changes to ProjGen for new sample filenames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 12:11:38 +00:00
Guillermo Rodriguez Garcia
896e4cbf4d list.h was included twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 09:31:26 +00:00
Guillermo Rodriguez Garcia
2288191b9c Forgot to commit this one - changes for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 09:03:40 +00:00
Bart A.M. Jourquin
032da43172 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:49:20 +00:00
Bart A.M. Jourquin
3cfd2b707d removing ogl from utils
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:48:14 +00:00
Julian Smart
de8e98f133 Added missing includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:41:00 +00:00
Vadim Zeitlin
bbd41262ca mingw32 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 08:09:17 +00:00
Vadim Zeitlin
9f303149a0 some fwd declarations added to the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 07:52:46 +00:00
Guillermo Rodriguez Garcia
ed2eb9afcb Some modifications and additions for full wxBase support -
not tested yet, but it should work OK as is or with little
changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 06:05:00 +00:00
Guillermo Rodriguez Garcia
bac6b9676c Fixed a bug in the latest 'micro optimization' - was skipping one
of each two events.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 03:30:40 +00:00
Guillermo Rodriguez Garcia
f6f13cd4a8 err.. not sure :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 02:14:54 +00:00
Julian Smart
627a3091c8 Possible fix for DestroyWindow message in MDI apps (call DestroyChildren in destructor)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 00:22:33 +00:00
Julian Smart
fa482912e4 Some doc proofreading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 00:21:49 +00:00
Robert Roebling
8cb9f0d0f8 Fixed missing paint events when overriding DoMoveWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 20:08:31 +00:00
Ron Lee
07a9af327e renamed treelay sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:55:34 +00:00
Ron Lee
11e2dfd37d renamed dragimag sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:47:10 +00:00
Ron Lee
c4f02b1fd8 renamed thread sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:35:40 +00:00
Ron Lee
6718d773ad renamed splitter sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:30:04 +00:00
Ron Lee
b2f757f9b7 renamed notebook sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:24:14 +00:00
Ron Lee
14057bf4dc renamed minifram sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:17:41 +00:00
Ron Lee
f30dcba95d renamed grid sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 19:09:12 +00:00
Ron Lee
8fef0a6eae renamed tab sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:58:22 +00:00
Ron Lee
13f5935c36 renamed wizard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:50:24 +00:00
Vadim Zeitlin
68662769ff some micro optimisations in SearchEventTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:46:17 +00:00
Ron Lee
5301d93336 renamed treectrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:37:46 +00:00
Vadim Zeitlin
e72007907a call wxMenubarSetInvokingWindow for submenus appended during run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:28:19 +00:00
Ron Lee
eeb75ae603 ...and extra proplist makefiles too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:22:50 +00:00
Ron Lee
30b641919c renamed proplist sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 18:20:11 +00:00
Vadim Zeitlin
9ce2171eed portuguese translator added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:58:33 +00:00
Julian Smart
9ba09ba5e6 Removed some redundant files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:53:11 +00:00
Robert Roebling
b4bee866f3 Corrected status bar redraw problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:20:42 +00:00
Vadim Zeitlin
8461a0598c removed -Icontrib from src/make.env, use APPEXTRADEFS for such things instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 17:09:45 +00:00
Vadim Zeitlin
aaa2f29761 fixed crash in OnChar() after m_key_current was deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:51:43 +00:00
Vadim Zeitlin
624d1a4f31 fixed infinite recursion in TAB handling with panels inside panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:35:03 +00:00
Vadim Zeitlin
110b5d83a6 stc targets in the global makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:11:33 +00:00
Vadim Zeitlin
0f8df1b95c wxDropSource should have def ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:01:06 +00:00
Vadim Zeitlin
e9b663934d makefiles for stc lib and sample for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 16:00:24 +00:00
Julian Smart
5d525ad911 Doc edits; adding mmedia.rsp; added STC BC++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 15:18:20 +00:00
Vadim Zeitlin
e32ddbaae5 temp ugly hack around the bug under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 15:15:35 +00:00
Vadim Zeitlin
4e6bceff3b reverted all changes by Mark Johnson
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 15:10:15 +00:00
Vadim Zeitlin
8e97b17bbd 1. aapplied patch for bcc makefiles from Ricky Gonzales
2. regenerated makefiles with tmake


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:57:16 +00:00
Vadim Zeitlin
a1a4396142 some appearance fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:50:30 +00:00
Bart A.M. Jourquin
8ba3dcde1e better dialog for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:43:30 +00:00
Vadim Zeitlin
f6c881b448 compilation fir for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:42:25 +00:00
Vadim Zeitlin
73fd4a6046 changed test -a into 2 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:34:28 +00:00
David Webster
dafec3de59 Tiff library icc for VisualAge 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:07:33 +00:00
Ron Lee
367e57ec9b updated samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 14:06:41 +00:00
Robert Roebling
a8a0b892df Even more printfs in GSocket,
Copmile fix for splitter.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 13:53:34 +00:00
David Webster
ee453a161f Some changes to fix event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 13:36:35 +00:00
Karsten Ballüder
0902e71a16 fixed arguments to "test"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 12:33:37 +00:00
Julian Smart
9f15eeb32a Added/updated some BC++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:51:29 +00:00
Václav Slavík
0f3168aa5b Czech message catalog is now up to date
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:33:48 +00:00
Václav Slavík
997e13fca4 removed files that have nothing to do here (cz is alias for cs, .mo files for other languages are not here)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:33:22 +00:00
Julian Smart
c0bcc48068 Fixed crash-on-exit bug due to status bar being deleted twice (MDI apps);
small changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 11:25:54 +00:00
Guillermo Rodriguez Garcia
bc7e88ae03 Changed Socket() and SocketEvent() to Get... in the samples, also added
a few more comments and output messages for easier understanding of what's
going on inside wxSocket.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:56:38 +00:00
Guillermo Rodriguez Garcia
da051b23fe Changed declaration of functions taking an empty arglist (which means
no prototype in C, not (void) like in C++) to take (void) instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:32:27 +00:00
Julian Smart
09707570eb Added gsockmsw.c to VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:02:13 +00:00
Julian Smart
8c014dbafe Added prototypes to eliminate BC++ warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 09:00:46 +00:00
Guillermo Rodriguez Garcia
1c282a3a62 Added new file: gsockmsw.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:44:32 +00:00
Guillermo Rodriguez Garcia
70988afbb1 Added gsockmsw which now contains all GUI-specific code for the MSW version
of gsocket - a step towards wxBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:43:58 +00:00
Guillermo Rodriguez Garcia
5ff8699684 src\unix\gsocket.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:41:34 +00:00
Unknown (MT)
ac6482e0eb remove HWND association when DestroyWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 03:13:01 +00:00
Guillermo Rodriguez Garcia
711df835d3 Removed the PREEXTRALIBS hack - no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 01:05:54 +00:00
Guillermo Rodriguez Garcia
672186efa8 A few unimportant changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 01:00:08 +00:00
Vadim Zeitlin
8b8bff20d0 1. demo of status bar at the top in statbar
2. kbd accels added to splitter


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:47:03 +00:00
Vadim Zeitlin
43b5058d59 1. status bar can now be positioned on top (and anywhere, in fact)
2. status bar without wxST_SIZEGRIP style won't have the size grip (wow)
3. scrollbars don't get the cursor of the main window any more
4. introduced wxSetCursorEvent and use it in wxSplitterWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:45:54 +00:00
Guillermo Rodriguez Garcia
e828e4f7f1 Added PREEXTRALIBS and .cxx rule
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:09:00 +00:00
Guillermo Rodriguez Garcia
d29e95a922 Added PREEXTRALIBS (ugh)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 00:08:41 +00:00
Guillermo Rodriguez Garcia
afc68427d8 new
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 23:41:18 +00:00
David Webster
8df85a6123 Some changes to fix event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 23:29:44 +00:00
Stefan Neis
399b60a0ad Improved selection mode handling in wxGrid::SelectBlock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 22:11:24 +00:00
Václav Slavík
add95ac378 replaced 'wxPCX/GIFHandler:' by 'PCX/GIF:' in error messages -- these are for users, should not reveal internals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 17:22:49 +00:00
Vadim Zeitlin
58b3bdc933 added test for selection events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 17:20:39 +00:00
Robin Dunn
c6e7d14fa9 Initialize the field count in Create(). It was using a garbage value
and causing havoc...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 17:12:31 +00:00
Robert Roebling
2035e10e83 Found bug that skrewed up display wrt horizontal
scrolling of wxListCtrl. The selected area still
    seems wrong, though.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 16:45:26 +00:00
Vadim Zeitlin
5f170f33fd 1. some patches from Janos Vegh to docview template detection
2. fixed reentrancy bug in wxGetTranslation/wxLogError resulting in infinite
   number of messageboxes
3. wxMenuItem::GetLabelFromText("&Foo") now returns "Foo", not "&Foo" in GTK
   as well
4. test for update region being NULL in wxPaintDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 15:48:03 +00:00
Vadim Zeitlin
c9ce2da080 suppress gcc warning about non virtual dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 15:31:15 +00:00
Robert Roebling
d5ab387d2a Typo GtkPizza,
More debug printf()s in GSocket_Write()
  Did I touch plot.cpp ?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 15:21:40 +00:00
Ron Lee
236a9de39a moved wxDash typedef to gdicmn.h
added wxXXXDash, platform dependant types for all ports
made using native dialogs the default in msw/setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 14:34:35 +00:00
Guillermo Rodriguez Garcia
dfd2e67583 Fixed a harmless warning about $d in sprintf and long argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 13:52:49 +00:00
Guillermo Rodriguez Garcia
8290d43d0d Use system default font for all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 13:00:26 +00:00
Stefan Neis
6fc0f38fe0 More compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 12:04:25 +00:00
Julian Smart
12646a5ae2 Added tech note on adding class documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 11:20:59 +00:00
Vadim Zeitlin
e59890c3e8 fixed cross-compilation for Windows with mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 09:45:00 +00:00
Vadim Zeitlin
f83e3685a5 remove \r from literal strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 08:28:21 +00:00
Vadim Zeitlin
6098c7f953 check for strtok_r() using C++ compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 08:27:44 +00:00
Robin Dunn
67003d1af8 Added methods for folding
dropTarget is now allocated with new


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 06:50:32 +00:00
David Webster
a06066343d no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 05:43:53 +00:00
Unknown (NI)
6e395e9c60 someone forgot to clear the m_needUpdating flag, so Splitter-Windows were always redrawn after the first sash move in the OnIdle function, even after the dragging was over\!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 02:34:50 +00:00
Unknown (NI)
7e8583bdef someone forgot to clear the m_needUpdating flag, so Splitter-Windows were always redrawn after the first sash move in the OnIdle function, even after the dragging was over\!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 01:59:16 +00:00
Robert Roebling
856bc99a57 Added debuf printf()s to GSocket,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 21:26:48 +00:00
Robert Roebling
6e7b6cc6f7 Some doc updates,
makefile and distrib things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 17:11:54 +00:00
Guilhem Lavaux
760e231bf0 Latex doc compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 16:10:13 +00:00
Robert Roebling
d6d26e0414 Corrected scrollwin thumb release event,
Reenabled horizontal scrolling, cannot currently
    reproduce misbehaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 15:37:49 +00:00
Julian Smart
0d3a69ec70 Added project files for STC; fixed wxStringList memory leaks; small doc changes;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 15:04:12 +00:00
Ron Lee
2eca425d4b separated wxDash type from platform specific wxGTKDash type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 11:49:19 +00:00
Julian Smart
8f19c916dc Made iniconf compile on BC++ 5.01 (involved adding Set... accessors to wxConfigBase);
added SafeWord patch to Dialog Editor


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 11:29:13 +00:00
Julian Smart
10d432b1b4 Added Mmedia makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 11:27:01 +00:00
Mark Johnson
36ba4665ff dbbrowse.cpp doc.cpp de/dbbrowse.mo de/dbbrowse.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 09:11:36 +00:00
Vadim Zeitlin
79f585d903 fixed (rare but fatal) bug in wxWindowDisabler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 00:49:42 +00:00
Vadim Zeitlin
cbc66a2704 1. wxProgressDialog uses wxWindowDisabler, not (dumb) wxEnableTopLevelWindows
2. some more wxWindowDisabler bugs fixed (updated dialogs sample to test them)
3. Esc won't close the dialogs without cancel button under MSW
4. status bar can be child of windows of clases other than wxFrame
   (updated statbar sample to show it)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 00:26:21 +00:00
Robin Dunn
5028104652 reenabled the old wxGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 22:38:39 +00:00
Václav Slavík
e81910e077 fixed incorrect use of _() where it should be wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 19:31:33 +00:00
Václav Slavík
f5ba273ecd some != NULL checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 19:31:19 +00:00
Václav Slavík
86f6187197 fixed DoGetBestSize -- it returned too small bounding box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 19:31:03 +00:00
Stefan Neis
0b7e6e7da2 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 18:01:18 +00:00
Stefan Neis
c78b3acd0c Added WXUNUSED_GTK and WXUNUSED_GTK_AND_MOTIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 17:28:36 +00:00
Vadim Zeitlin
451868847b replaced make with $MAKE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 16:38:01 +00:00
Stefan Neis
aa5e1f75d9 Added many WXUNUSED, untabified once again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 13:59:41 +00:00
Stefan Neis
4a64bee465 Fixed remaining int vs. long warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 13:27:39 +00:00
Václav Slavík
f3d05fe417 fixed GTK 1.2.7 vs. <= 1.2.6 API incompatibility: gdk_gc_set_hashes, argument 3 gint8* vs. char*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 12:28:31 +00:00
Julian Smart
f3979fcc3b Oops, compile errors...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:49:46 +00:00
Václav Slavík
5d9dba5b1a documented wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:12:20 +00:00
Václav Slavík
71155438f0 documented wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:06:36 +00:00
Václav Slavík
04a4a2afd5 documented wxFontMapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:40 +00:00
Václav Slavík
de52822400 now compiles with wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:23 +00:00
Václav Slavík
ba9f095e75 fixed documentation of wxList::Clear behavior after DeleteContents(TRUE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:09 +00:00
Václav Slavík
77611ad4da fixed typo : _ instead of wxT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:05:02 +00:00
Robin Dunn
7ece89c6b1 Did splitting of wxEntry for wxMSW. Not nearly as complex as wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 09:05:03 +00:00
Robin Dunn
c5a7371313 some tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 07:32:25 +00:00
Robin Dunn
954de0f158 Split up wxEntry so wxPython can use the bits it needs instead of
copying code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 07:25:01 +00:00
Robin Dunn
7ff49f0c73 More updates.
Began splitting up wxEntry so wxPython can use the bits it needs
instead of copying code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 07:24:00 +00:00
Robin Dunn
4c9993c3c7 updates to correct build errors (new locations, etc.)
minor bug fixes, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 03:20:42 +00:00
Unknown (NI)
8775b35700 small change to avoid floating point exception in wxScrolledWindow::Scroll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 03:05:27 +00:00
Vadim Zeitlin
b7e1921351 some warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 00:47:45 +00:00
Vadim Zeitlin
378d2bd3a8 some warnings fixed in the sockets code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 00:47:00 +00:00
David Webster
7c8aaed1c7 remove the VisualAge 3.0 hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 23:12:50 +00:00
David Webster
b41cdbf4d3 Icon bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 23:12:21 +00:00
David Webster
9a0c6b1ed2 combine minimal with the .dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 22:24:54 +00:00
David Webster
7bed7a507c no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 22:24:07 +00:00
Stefan Neis
0b7e77395d Replaced long by wxCoord as used in the other ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 22:07:01 +00:00
Stefan Neis
4a277ceb2b Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 20:55:15 +00:00
Robert Roebling
b420fb6a37 Small oops in redrawing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 19:49:54 +00:00
Guillermo Rodriguez Garcia
5adbbc2995 Updated to reflect latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 17:59:20 +00:00
Robert Roebling
27d0ab2482 Committing menubar changes again after CVS trashed them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 17:30:22 +00:00
Robert Roebling
186baeb237 Fixed various bugs (from - err - various authors) related
to inserting and replacing menubars etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 17:24:09 +00:00
Julian Smart
a5a55c458f Added icons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 16:09:01 +00:00
Julian Smart
66f55ec64c Doc corrections, wxMotif toolbar AddControl implementation (untested as yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 16:06:33 +00:00
Stefan Neis
723d1b1da1 Removed unused parameter addToSelected.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:57:58 +00:00
David Webster
32e768ae94 OS/2 patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:56:17 +00:00
David Webster
3d407edab0 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 13:53:58 +00:00
Stefan Neis
e32352cf66 Changed wxGridCellCoords from long to int (get rid of most HP warnings?)
Added Shift/Control+Click handling for labels.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 12:27:27 +00:00
Karsten Ballüder
2c4ad28347 fixed configure script for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 11:33:19 +00:00
Julian Smart
3f8e5072f7 Small fixes for Tex2RTF but alas, we still get memory problems.
Added wxUSE_MFC setting (doesn't include windows.h, removes own memory
tracing); added include <ctype.h> in case where PCH isn't used;
wxExit now exits :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 11:18:22 +00:00
Julian Smart
0a5835068c Added GIF files to help sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 08:18:14 +00:00
Guillermo Rodriguez Garcia
9bdc99bec2 Fix from Mumit Khan to allow mingw DLL compilation, v.2 :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 07:32:25 +00:00
Guillermo Rodriguez Garcia
af7b970e76 Fix from Mumit Khan to allow mingw DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 07:29:51 +00:00
David Webster
d853016702 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 06:23:53 +00:00
Guillermo Rodriguez Garcia
02d15cad11 Ups, mismatch between header and source wrt InterruptWait()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:54:35 +00:00
Guillermo Rodriguez Garcia
ee80814753 Set IPC by default on MSW (need to test recent changes), instead of DDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:32:40 +00:00
Guillermo Rodriguez Garcia
bffc1eaaf5 Finally deprecated callbacks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:31:53 +00:00
Guillermo Rodriguez Garcia
cdc59bb69e Some parts rewritten to use wxSocket events instead of callbacks, as the
latter will be deprecated soon. Also, some slight bugs fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 05:30:53 +00:00
Robin Dunn
ecc888a08f Fixes for building the DLL with the new auxillary library names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 02:58:58 +00:00
Michael Bedward
f41986da2d Compilation fix for Borland. Write 'T' or 'F' to logBuf rather than
bool return values of XXXDown() key query functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 02:27:48 +00:00
Vadim Zeitlin
dee1b66f85 changed default image size to 16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 01:17:08 +00:00
Vadim Zeitlin
d7da975624 1. fixed warning which was hiding a bug in wxGrid::SendEvent()
2. started documenting wxDateTime
3. and wxLongLong


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 01:15:17 +00:00
Guillermo Rodriguez Garcia
3adb47a937 - Uses wxSocketBase::Destroy() now.
- Fixed a memory leak when connection requests failed.
- Maybe some other (small) bugfix as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 00:21:25 +00:00
Guillermo Rodriguez Garcia
557e701169 Bugfix:
GSocket_Shutdown sets m_detected to GSOCK_LOST_FLAG.
This avoids that Wait operations from wxSocket get caught in an endless
loop, if called after wxSocketBase::Close(). Was breaking IPC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 00:20:00 +00:00
Julian Smart
5da69e38e6 Help sample should work for .zip help files now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 23:41:57 +00:00
Julian Smart
98beeb8ba9 Added wxHtmlHelpController version of help file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 23:08:53 +00:00
David Webster
75acb5321e os2 update. Need initializers like windows, not unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 22:26:41 +00:00
David Webster
052e089dce Module definitions files for build VisualAge C++ V3.0 dlls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:15:03 +00:00
David Webster
413098d06c Update for building jpeg as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:12:50 +00:00
David Webster
1d4ad4df1d Update for building png as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:12:29 +00:00
David Webster
4de601b128 Update for building xpm as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:12:05 +00:00
David Webster
7e415a0f66 Update for building zlib as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:11:46 +00:00
David Webster
3bedfb1d17 Update for building tiff as an os2 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:11:21 +00:00
David Webster
426d574504 Loads of framework and dll fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:10:00 +00:00
David Webster
60b8078990 Updates for build dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:07:55 +00:00
David Webster
9add53a470 More framework fixes and fixes for building dlls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 21:06:48 +00:00
Vadim Zeitlin
b0a0942105 fix for resourses compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:32:10 +00:00
Vadim Zeitlin
3283290881 patch from Paul Gammans <paul.gammans@brunel.ac.uk> for cross compiling for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:18:59 +00:00
Julian Smart
7b28757f5e Mmedia, OGL lib directory changes; omitted naughty wxGA_SMOOTH style from wxProgressDialog;
wxMotif toolbar fix; ~wxWindow Motif fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:15:44 +00:00
Julian Smart
b4414c1f37 wxHtmlHelpController made compatible with other controllers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:05:52 +00:00
Robert Roebling
304e5625e5 Disabled horizontal report mode scrolling in wxListCtrl
as it skrews up the display,
  Corrected disabling the closing of top level window
    when there are open (modal) dialogs,
  Minor change to redrawing window-less widgets.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:04:36 +00:00
Robin Dunn
9ce192d417 Initial version of wxStyledTextCtrl, a Scintilla wrapper. There is
still LOTS and LOTS to be done, but this is already very functional.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:42:06 +00:00
Vadim Zeitlin
7b22b912fd updated from the current sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:35:16 +00:00
Robin Dunn
fe98790977 Oops. Removed duplicate target.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:26:18 +00:00
Robin Dunn
50a5c3f33e Made clean target be not quite so agressive, added 'cleanall'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 19:25:20 +00:00
Guillermo Rodriguez Garcia
c17e495529 Removed a space (oh, dear, it looks like a joke
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 18:34:59 +00:00
Vadim Zeitlin
7e12d1bf7f very minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 18:33:16 +00:00
Vadim Zeitlin
b4da05a638 (failed) attempts at fixing menu bar swapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 17:53:58 +00:00
Vadim Zeitlin
8862e11b01 fixed parsing of non quoted entries in .mime.types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 17:14:26 +00:00
Vadim Zeitlin
b97f6d757b regenerated with tmake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:48:37 +00:00
Vadim Zeitlin
bd9724b905 Get/SetDefaultItem docs corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:47:20 +00:00
Vadim Zeitlin
6cbe6d0821 don't define __cplusplus for DECCXX if it is already defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:40:55 +00:00
Vadim Zeitlin
0e8c82331d don't translate wxASSERT_MSG messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:33:49 +00:00
Vadim Zeitlin
771779ed91 use wxFAIL_MSG, not wxMessageBox for programming errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:33:03 +00:00
Vadim Zeitlin
793867a736 explain why quotes/brackets should be used in #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:31:35 +00:00
Vadim Zeitlin
c5d3832cfe fixed the value of LVM_SETEXTENDEDLISTVIEWSTYLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:22:51 +00:00
Vadim Zeitlin
0e93516996 don't allow multiple root in the tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 16:19:35 +00:00
Stefan Neis
6b10575493 Make correct cell visible for cursor movement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 15:55:17 +00:00
Stefan Neis
f0d5fc50ef Added workaround for life crashing in toolbar deletion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:58:40 +00:00
Stefan Neis
ca4f2b729c Modified keyboard and mouse handling wrt selecting blocks/cells.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:25:07 +00:00
Guillermo Rodriguez Garcia
4bd87101b3 Added samples.inc to DATAFILES in Makefile.in - is that enough?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:19:32 +00:00
Mark Johnson
30bb7c133e doc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 14:01:39 +00:00
Stefan Neis
d95b0c2ba0 Changed Shift+Arrow handling
Fixed Ctrl/Shift/Alt/Meta handling in generated events.
Added display of Ctrl/Shift/Alt/Meta status to griddemo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:57:02 +00:00
Robert Roebling
b6fa52db66 Some make corrections for HP and related,
Changed refresh order so that window-less widgets
    don't get overdrawn anymore,
  Prevent GTK from filtering our supposedly unneeded
    expose events,
  Block all expose calls if a resize is requested and
    do a full redraw then, thus removing flicker and
    behaving like wxMSW,
  Moved some doubled expose and draw code from GtkPizza
    to the respective callbacks in window.cpp,
  Set idle priority to a higher value (which should
    indicate a lower priority if I interpret glib.h
    correctly) but the desired side-effect didn't
    really show up.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 13:24:34 +00:00
Guillermo Rodriguez Garcia
6da3a3ef1f Removed an extra scope resolution operator in the declaration of class LifeShape
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 12:07:01 +00:00
Vadim Zeitlin
c77ae1d950 (blind) gcc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:12:29 +00:00
Vadim Zeitlin
39d03faf4e warnings in wxCHeCK_MSG fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:08:42 +00:00
Vadim Zeitlin
5bcea60e1b warning in wxCustomDataObject::Free fix (I hope)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:08:17 +00:00
Ron Lee
ecb017924c final (touch wood) tidy after things went pearshaped on line 666
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 15:06:28 +00:00
George Tasker
a00d62c913 Fixed the fix of the fix so it will compile under VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 14:40:56 +00:00
Ron Lee
87e1d2a51b fixed my own typo.. oops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 14:17:37 +00:00
Julian Smart
8fdffc7e9b Correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 14:10:30 +00:00
David Webster
58ca01aeae Placed an ifndef for VA around the MSWGetImagePixels declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:48:14 +00:00
Ron Lee
4dcfef961d fix for pageup 'blind spot'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:34:14 +00:00
Julian Smart
7c4a59a881 Added WinHelp sample doc to samples/help, and made it possible to show
both native and wxHTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 13:04:51 +00:00
Julian Smart
07fce3c2f9 More makefile and project fun
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 10:38:50 +00:00
Julian Smart
5fa399c9e2 Made VC++ makefiles and project files a bit more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:32:31 +00:00
Guillermo Rodriguez Garcia
90da75e673 Forgot to add this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:30:29 +00:00
Guillermo Rodriguez Garcia
061379e2ac Updated to reflect some of the latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:29:16 +00:00
Mark Johnson
6bf783984a calctrl.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:28:40 +00:00
Guillermo Rodriguez Garcia
f187448d85 All IO calls take void* instead of char*
Added Get/SetClientData to wxSocketBase and wxSocketEvent
Some other deprecated functions & co.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:28:20 +00:00
Julian Smart
62ea79f381 Added WIN16 code for window disabler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 08:25:42 +00:00
Jouk Jansen
6ad7611a5c Committing in .
Modified Files:
 	wxWindows/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-08 07:28:35 +00:00
Václav Slavík
96becbd8fa fix of previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:32:40 +00:00
David Webster
70a5b429e7 makefile enhancements for dll, ne wxwindll.ics for VA 4.0 dll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:29:46 +00:00
David Webster
f23208cacc more minimal stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:28:30 +00:00
David Webster
49af73a59b remove the #warning for VisualAge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:27:31 +00:00
David Webster
3e282d337f no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 21:26:54 +00:00
Guillermo Rodriguez Garcia
fbf5995c02 Ops, stupid me.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 17:16:54 +00:00
Václav Slavík
635b44a118 fixed bug: removed m_windowStyle = style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 16:30:45 +00:00
Guillermo Rodriguez Garcia
71622a7ac0 First set of changes toward wxBase compliance :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 16:11:58 +00:00
Mark Johnson
3965571c7c *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 13:47:44 +00:00
Vadim Zeitlin
ea8849aaf6 updated to use msgmerge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 12:17:16 +00:00
Stefan Neis
cf58a48f62 Add Child to parent instead of adding it to itself!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 11:48:36 +00:00
Mark Johnson
9898fcda80 calendar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 11:02:27 +00:00
Vadim Zeitlin
3c002e048d technote about translations added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:54:39 +00:00
Vadim Zeitlin
f077f5c39f technote about translations added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:53:53 +00:00
Mark Johnson
efa7ad84f6 calendar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:38:12 +00:00
Mark Johnson
78d5068a96 calendar.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:19:00 +00:00
Michael Bedward
cb9fb5bb00 Modified <shift>+arrow key behaviour so that the starting cell is
included in the selection


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:07:36 +00:00
Vadim Zeitlin
07e87221f6 Mark Johnoson's additions for variable-width weekday names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:03:54 +00:00
Michael Bedward
1b6dea5de1 Added Create functions. They return TRUE if the file was successfully
created; FALSE if it couldn't be created (or already exists - is that
ok?).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 10:02:25 +00:00
Vadim Zeitlin
d76bb2182d APPEXTRALIBS added to LDLIBS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:15:35 +00:00
Jouk Jansen
d6c85bee75 Committing in .
VMS/GTK compile support

 Added Files:
 	wxWindows/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:02:37 +00:00
Jouk Jansen
3fa056ab78 Committing in .
VMS/GTK compile support

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/samples/minimal/descrip.mms
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/resource.cpp
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/dcclient.cpp wxWindows/src/gtk/filedlg.cpp
 	wxWindows/src/gtk/fontdlg.cpp wxWindows/src/gtk/listbox.cpp
 	wxWindows/src/gtk/tbargtk.cpp wxWindows/src/gtk/win_gtk.c
 	wxWindows/src/unix/descrip.mms wxWindows/src/unix/fontenum.cpp
 Added Files:
 	wxWindows/lib/vms_gtk.opt
 	wxWindows/src/gtk/wx_gtk_vmsjackets.c
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 09:00:27 +00:00
Michael Bedward
19701d22df Removed redundant m_displayed member var from wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 08:22:43 +00:00
Michael Bedward
2a7750d939 Moved current cell initialization from wxGrid::OnPaint to
wxGrid::DrawHighlight to accommodate wxGTK behaviour.

Removed redundant m_displayed member var from wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 07:41:58 +00:00
Guillermo Rodriguez Garcia
3f04dfd331 Changed another NONE to wxSOCKET_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 23:39:09 +00:00
Guillermo Rodriguez Garcia
ed8297b98d Some other typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 21:00:02 +00:00
Guillermo Rodriguez Garcia
e8773bdf80 Use IsConnected instead of m_connected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 20:35:53 +00:00
Guillermo Rodriguez Garcia
45ef0076bf Ops, typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 18:14:32 +00:00
Guillermo Rodriguez Garcia
a24cc774ec Trying to fix IPC problems under Linux as reported by VS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:44:27 +00:00
Vadim Zeitlin
0dcf989311 system libtiff can now be used instead of the built-in one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:37:58 +00:00
Julian Smart
59917a749b Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:34:25 +00:00
Guillermo Rodriguez Garcia
425652451b Added wxIcon(const char **) ctor (same as char **)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:34:24 +00:00
Guillermo Rodriguez Garcia
65dc92ca0f removed wxUSE_WXCONFIG (obsoleted by wxUSE_CONFIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:23:16 +00:00
Vadim Zeitlin
a6e2b3a831 patches from Ricky Gonzales <gonzales@pyramid3.net>:
1. BC++ 5.5 compilation/building fixes
2. wxMSW listctrl will use correct ILC_COLOR flag depending on current display
   depth
3. wxFrame::Show() argument is TRUE by default undet GTK/Motif too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:16:12 +00:00
Guillermo Rodriguez Garcia
6b4a39fb51 Documented Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:14:16 +00:00
Guillermo Rodriguez Garcia
5cb9148949 Documented Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:11:10 +00:00
Guillermo Rodriguez Garcia
03bbd98b9c Added a mention about demos/ instead of samples/
Added a mention of the 'samples overview' section in the wxWindows manual
Added EOF marker to easily distinguish the text from the CVS log.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 16:50:13 +00:00
Guillermo Rodriguez Garcia
b4e87ec32c Added rotate sample and comment about masks in wxImage::Rotate
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 16:31:05 +00:00
Guillermo Rodriguez Garcia
1ea670896b Disabled memory tracing code for mingw32,
Added LIBTIFF support by default,
Added comment about itsy bitsy lib being useful for win3.1 only,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 16:19:39 +00:00
Guillermo Rodriguez Garcia
d2249417f8 And now some more of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 15:35:55 +00:00
Guillermo Rodriguez Garcia
70d213e08b Moved some items to 'already done' in the todo list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 15:28:41 +00:00
Guillermo Rodriguez Garcia
89e6463c1a Slight changes to the stopwatch test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 15:08:17 +00:00
Mark Johnson
67c0489076 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 09:37:35 +00:00
Mark Johnson
260460ae06 dbbrowse.cpp dbbrowse.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 09:08:03 +00:00
Ron Lee
f547e9bb27 set m_clipXX so dc.GetClippingBox returns real bounding box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 04:40:01 +00:00
Guillermo Rodriguez Garcia
a059bcd21c Added blind-fix for vert. scrollbars - not tested yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 02:30:36 +00:00
Guillermo Rodriguez Garcia
b3ddc4c2ec Added support for timer events in Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 00:59:31 +00:00
Ron Lee
ee8dbe6308 set m_clipXX to resultant clipping region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 23:42:50 +00:00
Stefan Neis
b3ef4fb50c Re-added XtDestroyWidget call in ~wxWindow - hopefully fixed the problem
with scrolledWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 20:03:09 +00:00
Robert Roebling
40903af771 Enabled OpenGl in RPM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:53:29 +00:00
Ron Lee
05a1104392 couple of typo/thinko bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:18:31 +00:00
Guilhem Lavaux
5dffa63b2f Removed all wxMMedia2 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:05:13 +00:00
Guilhem Lavaux
e8482f24cf Moved wxMMedia to contrib/src/mmedia
Added contrib configure
Made wxSocket sample compile
Made OGL compile
Modified main configure to pass some more parameter
to children
Changed the wxProcess doc according to the modification

Still some win makefiles to come


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 19:03:21 +00:00
Stefan Neis
f5b9cde232 Fixed apparent typo (int->wxWindowID)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 18:46:27 +00:00
Robert Roebling
c661ecca60 Various makefile and installation things.
main() is now always in the program. Also added a
    macro that doesn't set main at all so that users
    can have their own.
  The isosurf sample doesn't work anymore.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 17:49:58 +00:00
Stefan Neis
0649ebbdb7 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 16:25:23 +00:00
Guilhem Lavaux
84899251f1 Removed wxMMedia classes doc from the main wx doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 16:05:53 +00:00
Václav Slavík
4d44947336 added missing wxImageList::Add methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 14:15:47 +00:00
Julian Smart
4767810533 Fixed blatant non-initialisation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 11:45:03 +00:00
Vadim Zeitlin
87798c0030 test for 'backwards clock' bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:31:16 +00:00
Vadim Zeitlin
d31b7b682c 1. wxStopWatch tests in console
2. some more messages in exec


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:23:53 +00:00
Vadim Zeitlin
f7bd3a7d8f create null, not empty, region in default wxRegion ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:14:10 +00:00
Vadim Zeitlin
5e1febface 1. wxWindowDisabler modified to bring parent window back to top under MSW
2. modal dialogs without parent now use the app top window as parent or use
   wxWindowDisabler if none
3. modal dialogs bring parent windows to top when activated
4. wxBase dsp will now compile it with MT CRT


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 02:12:04 +00:00
Vadim Zeitlin
41fd4136fc regenerated from configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-05 00:06:57 +00:00
Stefan Neis
0912bee1aa Compilation fixes (true->TRUE, false->FALSE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:59:34 +00:00
Vadim Zeitlin
581e8516ea fix for --with-libpng=sys warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:59:13 +00:00
Stefan Neis
0dd8a49d4d Added a fix for compilers with problems to compute signed % unsigned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:38:22 +00:00
Vadim Zeitlin
983a384436 removed warning about wxDrawRectangle being unused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:21:53 +00:00
Stefan Neis
5c8fc7c1de Improved handling of selection/deselection events.
Improved keyboard navigation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 23:09:37 +00:00
Vadim Zeitlin
1f80a703f2 removed extern from inline function declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 22:54:41 +00:00
Václav Slavík
777fd647dc fixed couple of bugs in wxZlibInputStream -- mainly incorrect handling of underlaying stream errors and absolutely wrong bytes counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:37:23 +00:00
Václav Slavík
39a16cb41d fixed wxDataInputStream::ReadString for empty strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:37:16 +00:00
Václav Slavík
11eaa98105 fixes for wxBase compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:37:08 +00:00
Václav Slavík
c07c37d70a added more stuff to wxBase: zipstrm, zstream, fs_*, mstream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 20:36:46 +00:00
Stefan Neis
043d16b225 Bugfixes; added selection modes demo to griddemo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 19:56:39 +00:00
Robert Roebling
a56fcaaf46 Some more drawing things,
Tried to make miniframe stay on top, doesn't work,
  Make radio box big enough for its title,
  Can't anylong close disabled toplevel windows,
  Minor other changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 18:40:52 +00:00
Stefan Neis
f1567cddea Added SetSelectionMode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 16:35:58 +00:00
Robert Roebling
e1208c3103 Lotta stuff for drawing etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 16:23:26 +00:00
Guillermo Rodriguez Garcia
a85139a1b7 Ops
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 13:20:35 +00:00
Guillermo Rodriguez Garcia
d90d994c74 Motif blindfix :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 13:20:14 +00:00
Julian Smart
b14159f7d8 Fixed non-standard C++ syntax errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 12:11:47 +00:00
Robert Roebling
993f97eed6 Adapted wxGTK to wxMSW's notion of region setting.
Made Julian's gc_include_inferior hack a bit less radical.
  Small addition to changes.txt,
  Compile fix to dbbrowse sample. Still crashes upon startup.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 09:24:17 +00:00
Guillermo Rodriguez Garcia
36bec0acf0 Oh well..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:54:56 +00:00
Guillermo Rodriguez Garcia
bd4d918f36 Fixed (my own) stupidity in Connect() mini-tutorial / comments
Changed all _T() to _() in server.cpp
Modified server to use Destroy() instead of directly accessing the wxPendingDelete list
Removed the panels which contained the textctrls - they are not needed at all.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:51:45 +00:00
Guillermo Rodriguez Garcia
2b396caaa2 Stupidity fixed in WaitOnConnect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:42:13 +00:00
Guillermo Rodriguez Garcia
261b9a3df1 Stupidity fixed in WaitOnConnect() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 02:41:14 +00:00
Václav Slavík
5824f314a3 added compression ratio argument to wxZlibOutputStream ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 22:52:17 +00:00
Guillermo Rodriguez Garcia
77a36397c0 Removed dependency on tiffiop.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 20:53:27 +00:00
Guilhem Lavaux
3072610753 wxSoundFileStream doc updates (indeed, first write)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 20:10:49 +00:00
Robert Roebling
5d25c05039 Clean-up, speed-up and bug-fix for wxListCtrl drawing,
Removed overlay things from wxScreenDC,
  Added test for bitmaps clipping with regions.
  Updates to changes.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 20:09:19 +00:00
Guillermo Rodriguez Garcia
9764dcbca3 Please add classes in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:24:58 +00:00
Guillermo Rodriguez Garcia
9181a38382 Added Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:24:24 +00:00
Guillermo Rodriguez Garcia
d7bd7ca5bf makefiles changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:24:21 +00:00
Guillermo Rodriguez Garcia
e51b013093 small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 19:22:35 +00:00
Guilhem Lavaux
70dc22dcc9 Updated some doc (wxProcess, wxSoundStream)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:46:12 +00:00
Vadim Zeitlin
20590f751f bug in month day parsing - now check that it's > 1 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:27:18 +00:00
Guillermo Rodriguez Garcia
a6a1ef9e7b new XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:22:42 +00:00
Guillermo Rodriguez Garcia
75f245410a new bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:22:20 +00:00
Guillermo Rodriguez Garcia
29b07a3821 Life version 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 18:21:48 +00:00
Guillermo Rodriguez Garcia
5f9fd7ea86 no more _ftime instead of ftime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 17:36:02 +00:00
Vadim Zeitlin
2a47e1401b regenerated from filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 17:04:33 +00:00
Stefan Neis
b58088819b Added extended selection support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 16:44:33 +00:00
Stefan Neis
d2e4966591 Added gridsel.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 16:35:47 +00:00
Guillermo Rodriguez Garcia
b531e140f1 mingw32 makefiles must use tabs as separators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 16:09:38 +00:00
Vadim Zeitlin
b0230a69bc fatal bug in wxSplitPath fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 14:05:42 +00:00
Guillermo Rodriguez Garcia
91ff98b7b5 Added HAVE_FTIME for all Windows compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 13:51:28 +00:00
Julian Smart
1fc25a89ac Added OGL to contrib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 11:25:10 +00:00
Julian Smart
b14391d1c8 Removed OGL prior to re-adding; some Watcom corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 11:10:51 +00:00
Vadim Zeitlin
422107f900 removed OGL files from wxGTK build, fixed configure for wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 10:46:23 +00:00
Vadim Zeitlin
2c8e47380e 1. wxShell fixes: now really uses shell (it wasn't different from wxExecute!)
and also added a version which captures the programs output
2. fix for compilers which have void ftime() (my mingw does) in timercmn.cpp
3. updated console sample to test wxShell/wxExecute
4. treetest now can toggle images or change their size
5. wxTreeCtrl doesn't crash if it has no image list


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-03 10:31:34 +00:00
David Webster
914589c26c More framework updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 22:13:38 +00:00
Stefan Neis
294f6bcbdb Added class to handle selection inside wxGrid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:41:17 +00:00
Robert Roebling
bc3cedfa48 Added test for region clipping.
Corrected makefile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:18:45 +00:00
Vadim Zeitlin
cd6ce4a90c 1. wxProcess changes to make capturing subprocess output easier (and more
reliable), now works in both sync and async modes
2. wxSafeYieldBug() corrected, wxWindowDisabler which is now used in it
   added and documented
3. exec sample updated to illustrate capturing the subprocess output
4. wxStreamBase::IsOk() added
5. wxInputStream::Eof() added and non-blocking Eof() implementation in
   wxPipeInputStream used by wxExecute


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 19:06:13 +00:00
Guillermo Rodriguez Garcia
21e5527b59 Latest OS/2 changes broke xpmlib for MSW. Fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 17:18:34 +00:00
Vadim Zeitlin
d8e41d423d added demo of capturing program output - doesn't work very well though
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 16:17:43 +00:00
Vadim Zeitlin
42d14d4e8f corrected Remove() description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 15:41:18 +00:00
Jouk Jansen
61a021a822 Committing in .
Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/timercmn.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 11:29:59 +00:00
Ron Lee
bc2e39e366 made msw wxRegion(wxRect&) constructor consistant with other wxRegion constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 10:47:38 +00:00
Guillermo Rodriguez Garcia
1cab5b8d99 Renamed tech notes to tnxxxx.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 04:18:53 +00:00
Guillermo Rodriguez Garcia
0824a13502 Changed naming to TNxxxx
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 04:17:18 +00:00
Vadim Zeitlin
9121bed249 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 01:06:16 +00:00
Vadim Zeitlin
a95e38c034 1. wxGrid row can't be resized to less than minimal height
2. memory leaks fixed in wxHashTableLong
3. and in wxGrid
4. changed newgrid sample to use char buffers
5. fixed double clicking owner-drawn buttons
6. compilation fix in enhmeta.cpp for !wxUSE_DND
7. bug introduced earlier today in wxGridCellAttr::GetEditor() fixed
8. bool renderer/editor now look as good as I may ever make them look
   good under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 00:58:11 +00:00
Vadim Zeitlin
bc9027cc74 menu sample added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 23:37:09 +00:00
Vadim Zeitlin
6d072a854f used in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 23:07:48 +00:00
Robert Roebling
bdad4e7e02 Various changes due to OGL and glcanvas having changed
position.

  Had to butcher Vadims system header patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:27:16 +00:00
Robert Roebling
69e9bc09b8 OGL: misc.cpp clashes with misc.c frim iODBC, therefore
added oglmsc.cpp instead. misc.cpp should be removed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:13:42 +00:00
Robert Roebling
3ca6942f6a typo in plot.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:11:47 +00:00
Robert Roebling
335258dcdd get opengl samples going again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 20:11:17 +00:00
Vadim Zeitlin
77c4358743 added a note about where to find makegen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:24:07 +00:00
Vadim Zeitlin
d81a8f2ece created 'how to add a sample' technote
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:22:41 +00:00
Vadim Zeitlin
25d0821b7f created tech note directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 19:22:22 +00:00
Vadim Zeitlin
c4608a8af3 1. warning in gtk/menu.cpp fixed
2. Unicode fix in msw/textctrl.cpp
3. more parameters support in grid editors/handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 18:55:29 +00:00
Julian Smart
66eca538a0 Full-screen dragging fix (GC setting)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 18:09:39 +00:00
Vadim Zeitlin
831243b127 asserts in wxGridStringTable corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:21:00 +00:00
Vadim Zeitlin
c733b2224f patch for using system libz
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:08:20 +00:00
Vadim Zeitlin
641f5461b2 IMPLEMENT_DYNAMIC_CLASS() for wxMenuBar correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 17:02:32 +00:00
Guillermo Rodriguez Garcia
16162a64d6 DrawButtonFrame was a bit wrong because it was ignoring COLOR_3DLIGHT;
fixed now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 16:39:22 +00:00
Julian Smart
afff720b28 Fixing commit problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 15:01:51 +00:00
Guillermo Rodriguez Garcia
47e92c4137 wxBitmapButton transparency fixed by using wxDC API at all times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 14:57:33 +00:00
Julian Smart
68be9f090f Added wxDragImage generic implementation and sample; added mask handling to Motif's
wxImage::ConvertToBitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 11:05:49 +00:00
Bart A.M. Jourquin
c443296124 remove 'extern' from IsKeyDown,... for bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 10:35:30 +00:00
Bart A.M. Jourquin
1c2d49808c Restore previous ogl sources. Waiting for fix in configure system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 08:44:38 +00:00
Michael Bedward
294d195c3c Minor compilation fix for Borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 04:10:21 +00:00
George Tasker
4c4a393f3e Fixed the QUERY dialog so it would not crash on exit, and the COUNT button now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 01:01:01 +00:00
George Tasker
2b0b4c55aa Added a #include of wx/module.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 23:58:50 +00:00
David Webster
22e90769f8 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 23:18:42 +00:00
Guillermo Rodriguez Garcia
e02567553f Beginning the thread with _beginthreadex but ending with ExitThread is not a good thing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:12:34 +00:00
Guillermo Rodriguez Garcia
19da72379f Tell is now compatible with the wback buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:05:12 +00:00
Guillermo Rodriguez Garcia
fc4b32c270 Changed to use current wxSocket flag names instead of old ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:04:04 +00:00
Guillermo Rodriguez Garcia
6f505cae82 Added some safety checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:02:16 +00:00
Guillermo Rodriguez Garcia
24d24189f5 mfc not available for mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 21:00:19 +00:00
Guillermo Rodriguez Garcia
0141d2c9bd moved Destroy() to the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 20:58:36 +00:00
Guillermo Rodriguez Garcia
658c54003b Fixed potential bug related to clock skew when different clocks are used
for hi and lo res timing. Still to be solved where ftime or gettimeofday
are not available!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 20:57:58 +00:00
Vadim Zeitlin
e72b421324 setting parameters for wxGridCellFloatRenderer seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 19:30:26 +00:00
Vadim Zeitlin
0b190b0f6a 1. more corrections for ref counted editors/renderers (doesn't crash any more,
might leak memory though)
2. attempt to add parameters to renderers - failed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 18:36:04 +00:00
Vadim Zeitlin
39bcce60fe wxGridCellRenderer/Editor made ref counted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:42:28 +00:00
Vadim Zeitlin
af547d51b7 1. added range checks in wxGridStringTable
2. added AutoSizeRow(), setting minimal size for the rows is supported as
   well now
3. replaced ugly wxHashTables with (just created) wxHashTableLong


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:21:20 +00:00
Vadim Zeitlin
c2bb85e9e3 added wxHashTableLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 17:19:36 +00:00
Ron Lee
d3cc7c6521 added missing include mdi.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 16:12:54 +00:00
Robert Roebling
589c9fff04 Commented out debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 15:09:09 +00:00
Vadim Zeitlin
c5145d4177 wxListCtrl uses SetWindowChange() in its OnChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 15:00:21 +00:00
Mark Johnson
7beec8135e Makefile.in makefile.g95 makefile.vc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 12:48:33 +00:00
Jouk Jansen
dd54fca3f3 Committing in .
Configuration for VMS

 Modified Files:
 	wxWindows/setup.h_vms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 12:21:27 +00:00
George Tasker
bebb64f0e2 Fixed a misleading comment regarding MySQL and Postgres
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 11:27:43 +00:00
Michael Bedward
ad115b2d65 AutoSizeColumns and AutoSizeRows changed to pass FALSE for calcOnly arg
to SetOrCalcXXXSizes()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 08:27:29 +00:00
Unknown (MT)
cfdd3a98d8 add wxTE_AUTO_SCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 08:14:01 +00:00
Vadim Zeitlin
7f82eb0018 typo(s) fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:52:48 +00:00
Vadim Zeitlin
477350ceb4 1. fruitless attempts to reproduce wxNotebook bug in the sample
2. multiple selection related changes in the treetest


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:49:05 +00:00
Vadim Zeitlin
3f7bc32b53 1. fixed bug with MDI child frames changign state when parent frame was
iconized/uniconized
2. multiple selection emulation for wxTreeCtrl almost done


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:47:34 +00:00
Michael Bedward
ebd773c6f8 Added wxWANTS_CHARS style to all windows so that the grid reacts to
cursor keys when it is on a panel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:37:37 +00:00
Michael Bedward
cab472ecf9 Changed string members in BugsGridData struct to wxChar * for Borland
only and added code to BugsGridTable::SetValue() for Borland to set
string values.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:27:42 +00:00
David Webster
29a99be398 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 23:47:35 +00:00
Vadim Zeitlin
a68c1246db wxGridCellAttr::Clone() added to allow the demo of custom grid cell attr provider to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 19:08:01 +00:00
Vadim Zeitlin
3f5513f5bb correction for Fit() which didn't handle properly windows positioned at (-1, -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 19:07:20 +00:00
Vadim Zeitlin
cc023d9fd9 Ctrl-TAB works when notebook has focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 17:54:17 +00:00
Vadim Zeitlin
611cb66656 use _beginthreadex() for mingw32 if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 17:33:56 +00:00
Vadim Zeitlin
0990cd942e fixed wxPD_AUTO_HIDE bug (didn't auto hide)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 16:44:27 +00:00
Vadim Zeitlin
266e83674a grid autosize fixes/changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 16:40:14 +00:00
David Webster
bb338b31a7 Standard frame resource defines for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 16:02:07 +00:00
Julian Smart
94799627ee Some corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 15:57:06 +00:00
Guillermo Rodriguez Garcia
dc6eda546b Added fix for mingw32 gcc-2.95 regarding FillMemory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 15:05:18 +00:00
Julian Smart
babc97583e Removed old wxGLCanvas stuff; moved wxTreeLayout to wxWindows; corrected some doc errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 13:42:59 +00:00
Guillermo Rodriguez Garcia
43b2cccb4b Added #include "wx/bitmap.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 13:15:44 +00:00
Julian Smart
f9566e1007 Removed utils/ogl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 11:45:38 +00:00
Julian Smart
2d08140fdb Moved OGL to new locations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 11:33:39 +00:00
Julian Smart
8b089c5e8c Moved wxGLCanvas to more normal positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 08:22:57 +00:00
David Webster
61243a510f More updates to wxWindow, wxMenu, GdiImage to get minimal to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 04:40:52 +00:00
Robin Dunn
dcd386834a Added wrapper for wxListCtrl.SortItems. Added column sorting to the
demo to show how to use it.

Other fixes and updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 04:05:41 +00:00
Michael Bedward
984ef9dce7 Reverted wxString members to const wxChar * for struct BugsGridData
otherwise demo won't compile with BC5.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 03:28:51 +00:00
Václav Slavík
b25753b802 added wxMemoryFSHandler docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:29:10 +00:00
Václav Slavík
dbddf57391 added wxMemoryFSHandler docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:07:24 +00:00
Václav Slavík
cadd476dab documented VFS handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:07:04 +00:00
Václav Slavík
9704b2509a added Include files section to my classes where it was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:58 +00:00
Václav Slavík
26de8b7d32 updated legalese regarding libtiff, libjpeg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:38 +00:00
Václav Slavík
24528b0c14 added --enable-filesystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:17 +00:00
Václav Slavík
93d3817568 minimalistic build fixes (mostly #if wxUSE_something)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:04:26 +00:00
Václav Slavík
8eb9501e82 fixed: text.rc was datafile => copied to build dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:03:59 +00:00
Robert Roebling
c826213d96 Added bitmap create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 16:48:27 +00:00
Guilhem Lavaux
272c44532a Added wxMMedia doc. For the moment only a few files are really a documentation.
(sndbase.tex). The rest will come progressively.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 16:09:26 +00:00
Robert Roebling
b480710b16 More wxPlotWindow goodies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 15:56:24 +00:00
Guilhem Lavaux
8b33ae2d5a Inserted "stdio catch" in wxExecute. The activation is controlled by wxProcess.
Completed some TODO in wxMMedia (wxSoundUlaw, ...)
Reworked the PCM converted: it should be simpler to add converters now and it is
cleaner.
Implemented status information in wxVideoWindows but it doesn't work on my
Win98SE (UNSUPPORTED_FUNCTION)
Changed *ERR into *ERROR
Added a TODO: we must detect the best format in wxSoundWindows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 10:44:49 +00:00
Guillermo Rodriguez Garcia
bdeca1d18c Added support for wxSCROLL[WIN]_THUMBRELEASE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 05:06:09 +00:00
Guillermo Rodriguez Garcia
7cd315c655 Large parts rewritten and reorganized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 04:59:41 +00:00
Guillermo Rodriguez Garcia
5ab1fa8e64 Added support for bitmap buttons with standard Win95/98 LNF if __WIN95__ is #defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 04:56:17 +00:00
George Tasker
446fba815b Updated the ODBC-related ToDos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 22:14:02 +00:00
Vadim Zeitlin
57c086ef99 wxGrid::AutoSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 21:00:07 +00:00
Vadim Zeitlin
d5a5af9d39 SHARED_LD/LDFLAGS correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 20:42:47 +00:00
Vadim Zeitlin
72041ceca2 oops, a stray C++ comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 20:40:28 +00:00
Vadim Zeitlin
98440bc354 removing the IsWindow() test in ~wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 20:35:39 +00:00
Guillermo Rodriguez Garcia
8355a72fa5 Corrected small miniframe-realted bug (itsy bitsy is never used for win32)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 19:46:50 +00:00
Václav Slavík
9dff41820a fixed reference to wxEvtHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 14:42:10 +00:00
Václav Slavík
7b0b2dcc0c added base.t to the script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 14:42:03 +00:00
Guilhem Lavaux
c12a24e223 Reenabled OSS support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 13:47:53 +00:00
Robert Roebling
0efe4a9855 Compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-26 12:45:06 +00:00
Vadim Zeitlin
d147774515 only modal dialogs ignore busy cursor, not all dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 23:57:21 +00:00
Vadim Zeitlin
bfbd6dc192 1. cursor fixes: frame does have hand cursor in the controls sample now,
modal dialogs don't have busy cursor even if wxIsBusy()
2. wxTextCtrl sets client data field in the generated events
3. added wxEnhMetaFile::SetClipboard()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 23:49:41 +00:00
Guilhem Lavaux
171774fcf3 Ok. Vidwin works again on Windows.
Extremely urgent: it must behave the same way as wxVideoXANIM


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 21:28:31 +00:00
George Tasker
0b8410f3ca Replaced <iostream.h> reference with "wx/ioswrap.h"
Replaced wxMessageBox() with wxLogDebug() calls
When calling GetColumns(), some drivers/datasources would not return a proper value for columnSize.  If columnSize is less than 1, columnSize gets set to bufferLength
Some cout statements in DBDEBUG_CONSOLE were treating char* variables as if they were wxString variables.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 20:36:32 +00:00
George Tasker
52a17fe534 Replaced <iostream.h> reference with "wx/ioswrap.h"
Replaced wxMessageBox() with wxLogDebug() calls
When calling GetColumns(), some drivers/datasources would not return a proper value for columnSize.  If columnSize is less than 1, columnSize gets set to bufferLength


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 20:27:37 +00:00
Vadim Zeitlin
bcaa23de09 WX_DECLARE_HASH() macro for type safe hashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 19:23:11 +00:00
Guilhem Lavaux
794bcc2dea Removed unnecessary code from utilsunx.cpp
Corrected the support for seeking in wxSoundFileStream.
Added support for seeking in wxMultimediaBoard
Reindentation of the code (conforming or nearly to the coding standard)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 19:07:14 +00:00
Guilhem Lavaux
a9c3ed030e Windows stdio capture is working on my MSVC5. Here is the first
alpha release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 18:50:38 +00:00
Bart A.M. Jourquin
13d12797d2 Tentative fix for UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 16:27:24 +00:00
Vadim Zeitlin
52a07708c4 attempts at making wxSocket work with wxBase - it doesn't work but
already compiles :-|


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 16:21:53 +00:00
Julian Smart
2f4ef631af Fixed wxWindow::HandleCommand so multiple toolbars work again (e.g. ogl/studio sample);
added border to OGL studio window


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 16:20:58 +00:00
Vadim Zeitlin
e006f096ad attempt at fixing LDFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 15:32:24 +00:00
Julian Smart
ec06b234d2 Added fix to wxMDIClientWindow to redisplay contents when
window is repositioned


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 15:16:39 +00:00
Bart A.M. Jourquin
7c5c05ae65 fix memory allocation problem for strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 15:00:22 +00:00
Vadim Zeitlin
ed23853bc0 assigning values to wxString is better than assigning to 'wxChar *' - editing of bugs table works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 14:02:47 +00:00
Vadim Zeitlin
cff5ce9e7a compatibility/compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 13:56:52 +00:00
Mark Johnson
47677e9bf2 dbgrid.cpp dbgrid.h bitmaps/logo.xpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 12:01:38 +00:00
Guilhem Lavaux
2018e574e7 Major changes in wxVidXANIM (support for output filtering)
Several API addings
Added process.cpp, process.h and utilsunx.cpp in wxMMedia directory
They should be moved to src/unix, src/common and include/wx to use them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 09:08:52 +00:00
Guillermo Rodriguez Garcia
079bb992e1 Corrected an HTML typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 07:13:49 +00:00
Michael Bedward
3c79cf49ec Added call to CalcDimensions() at end of wxGrid::Init so that you can,
for example, put a grid in a dialog, size it and then call CreateGrid
at some later stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 06:56:41 +00:00
David Webster
6dc3e5dc9c Visualge V3.0 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:19:49 +00:00
David Webster
542875a8c4 latest wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:17:55 +00:00
David Webster
b2a81bd914 Change m_SubControls from wxList to wxArrayLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 04:16:19 +00:00
Vadim Zeitlin
c239a4bb76 F2 enables edit in place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 02:29:38 +00:00
Vadim Zeitlin
abceee76ea 1. corrected problem with label updating in wxProgressDialog
2. optical fix in wxTipDlg: use wxTE_RICH control to avoid vert scrollbar
3. put wxProgressDialog demo into dialogs sample, seems more appropriate
4. fixed a serious bug in wxProgressDialog when its parent was not a top
   level window (as in controls sample)
5. fixes in BringWindowToTop() usage in msw/dialog.cpp
6. fixed another serious bug in wxProgressDialog::OnClose()
7. wxDialog restores focus to previously focused window once again
8. attempts at fixing wxBusyCursor with modal dialogs problem - unsuccessful


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 02:20:44 +00:00
Vadim Zeitlin
488fe1feb6 fix for bug #29 (blank lines in GetLineText)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 00:03:29 +00:00
Guillermo Rodriguez Garcia
030d06e13f Very minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:52:01 +00:00
Vadim Zeitlin
c41ea66a5d 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
3. using wxLog() insread of WriteText() contorsions in the listctrl sample,
   show client data from events in the log messages


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:40:42 +00:00
Vadim Zeitlin
225fe9d6ef 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. define LVS_EX_FULLROWSELECT ourselves if compiler headers don't
3. wxSafeYield() will only reenable windows which had been enabled, not all
   windows in the application
4. selection in wxTreeCtrl is not broken after dnd operation
5. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
6. wxListEvent accessors made const
7. wxListCtrl sets client data field in generated events under MSW too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:33:15 +00:00
Julian Smart
18d2e17080 Fix to MDI to restore 3D border; kludge to OGL Studio sample to redraw
the first client frame properly (need wxWindow::Redraw in wxWin API?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 20:18:09 +00:00
Guilhem Lavaux
802e2f34c1 Added a missing wxStream_NOERROR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 19:05:11 +00:00
Guilhem Lavaux
775c1df40f Cut out some duplicate symbol in datstrm.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 18:52:31 +00:00
Robert Roebling
b0e282b34d Minor optical things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 18:09:48 +00:00
Julian Smart
a368a8c4a8 Added missing SetToolBitmapSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 17:17:43 +00:00
Julian Smart
f42c2a7a62 wxToolBarSimple fix + OGL studio sample compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 16:26:20 +00:00
Julian Smart
dc1efb1d9f Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
streams; fixed wxSP_... ids that clashed with wxTextCtrl; added generic GetPixel implementation for GTK/Motif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 15:04:24 +00:00
Ron Lee
07eb77a690 configure changes, for wxBase and wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 12:20:22 +00:00
Michael Bedward
b0c8fc357c Several ugly hacks to get the bugs table and virtual table demos to
work under wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 07:42:17 +00:00
Ron Lee
5c0e67b250 added wxBase & examples & various tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 01:15:08 +00:00
George Tasker
e16143f6c7 Reverting to 1.30
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:43:40 +00:00
George Tasker
ea5d599df3 Reverting back to 1.35 as 1.36 does not work with all data sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:35:28 +00:00
Vadim Zeitlin
66b3609e6a mwxLog was leaked - fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:20:45 +00:00
Vadim Zeitlin
ab70fb1de1 fix for wxSplitPath(foo/.filename)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:08:14 +00:00
Vadim Zeitlin
857eb08152 wxLogWindow now uses standard menu ids
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 00:01:44 +00:00
David Webster
a7ef993c98 More wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:43:03 +00:00
Vadim Zeitlin
122603f10f typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:42:18 +00:00
Vadim Zeitlin
b94ae1ea10 1. wxGCBoolRenderer looks better under MSW
2. wxGCBoolEditor too
3. only alnum keys start editing in-place
4. some memory leaks in wxGrid plugged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:38:00 +00:00
George Tasker
2f74ed2859 ::IsNumber() returned FALSE if a + or - sign was the first character of the string. "-123" should be considered a number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 23:11:53 +00:00
Ron Lee
6be0044cf2 tweaked debian-dist for building wxBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 21:45:01 +00:00
Robin Dunn
a5777624e2 fallback to string changes for number and float editors
Fixes for DrawGridSpace (it needed moved over/up by one pixel, at
least for MSW)

Editor left active when resizing rows/cols


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:27:08 +00:00
Vadim Zeitlin
fc3398f8e0 removed the goto provoking HP-UX compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:23:23 +00:00
Vadim Zeitlin
b8b9762a1b fixed (?) race condition in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 19:04:31 +00:00
Vadim Zeitlin
829f05419d some more cosmetic fixes for wxLogTrace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:54:53 +00:00
Vadim Zeitlin
54a8f42b9d typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:50:56 +00:00
Vadim Zeitlin
0131687bb5 wxLogTrace doesn't give messages with two 'Trace' in the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:50:12 +00:00
Stefan Neis
cb105ad434 Improved wxMotif's look.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 18:26:47 +00:00
Stefan Neis
69d8f6124d Improved checkmark on wxMotif.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:53:42 +00:00
Robert Roebling
809934d22a #ifdeffed new paint clipping :-(
Moved replacement code to printing preview canvas where
    its effect was particularly useful.
  Completed GC pooling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:47:43 +00:00
Vadim Zeitlin
c52a6847be using LDFLAGS for the linker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 17:44:56 +00:00
Julian Smart
e06b95691f Misc small changes, some for VC++ 1.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:54:18 +00:00
Vadim Zeitlin
9c4ba61452 fall back on text value if no long/double value could be retrieved from the cell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:15:46 +00:00
Vadim Zeitlin
3324d5f50f removed saveValue param in EndEdit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:58:10 +00:00
Vadim Zeitlin
8def743e8f fix for (too big) combobox height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:45:36 +00:00
Vadim Zeitlin
d2d93fdde4 command events are not redirected to focused window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:38:25 +00:00
Vadim Zeitlin
d1f82b073f fix to allow non-extension based template choosing to work from Vegh Janos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 15:32:14 +00:00
Sylvain Bougnoux
fe482327a5 Add exemple for redirecting cout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 13:17:14 +00:00
George Tasker
a40860394c TablesInUse did not have DeleteContents() set to TRUE in __WXDEBUG__ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 12:31:59 +00:00
Michael Bedward
7c8a8ad57e Added wxGrid::DrawGridSpace function to suppress junk beyond last
row and col of grid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 07:15:04 +00:00
Robin Dunn
4cfa5de640 Some mouse events need to be handled even when outside the grid.
Added flag and accessors to enable/disable the dragging of the grid
lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 07:03:56 +00:00
Robin Dunn
28a77bc43b delay getting the default editor and renderer (by data type) until
actually needed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 04:45:24 +00:00
Vadim Zeitlin
7cc8c9884d multiple/single sel mode can now be toggled from menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 00:30:59 +00:00
David Webster
c86c44a080 More wxWindow updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 23:06:35 +00:00
Ron Lee
491e9f50b3 added missing files to life & poem, added wxPython/demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 22:48:00 +00:00
Robert Roebling
8e217128a0 Playing with scrolling, als fixed redraw
bug in wxGrid (outer regions). You must
    not to maths with update regions within
    an scroll related OnPaint(). Everything
    else is allowed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 22:39:55 +00:00
Václav Slavík
956ddeca4a fixed divide by zero exception when layouting justified text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:09:27 +00:00
Václav Slavík
8e3f126189 one of error messages had way too much spaces in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:09:04 +00:00
Václav Slavík
e5aff4c568 better documented wxListCtrl::GetItem (it was absolutely unclear how to use it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:08:16 +00:00
Robin Dunn
ea179c7b4a 1. wxGridCellEditor::SetSize needs to use the wxSIZE_ALLOW_MINUS_ONE
flag otherwise the choice editor will not move to row 1, (the wxRect
given has a -1 y value.)

2. I fixed wxGridCellChoiceEditor::BeginEdit to not only set the
current value into the text field, but also to make it the current
selection in the dropdown.

3. EndEdit was getting called twice for each cell when you leave it
with the TAB or ENTER.  I commented out a call to SaveEditControlValue
in SetCurrentCell to take care of this.  It shouldn't hurt anything
since SaveEditControlValue is also called within the
EnableCellEditControl(FALSE) which gets called next.  If this causes
no problems for anybody it can be removed entirely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 20:02:48 +00:00
Guilhem Lavaux
ebaad2ccc7 AVI file playing on Windows is working
Many fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 18:20:46 +00:00
Stefan Neis
85bc0351f7 Compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:25:06 +00:00
Karsten Ballüder
c91f7c7e9f added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:23:26 +00:00
David Webster
f938057092 GetSubcontrols now returns a reference to an Arraylong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:19:38 +00:00
David Webster
2912e35f17 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 17:11:02 +00:00
Vadim Zeitlin
4ee5fc9c92 added combobox editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 16:57:12 +00:00
Vadim Zeitlin
65e4e78efb column autosizing added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 16:03:54 +00:00
Robert Roebling
33d0e17c11 SetSelection() in wxNotebook now sets the focus,
SPACE in wxListCtrl now sends Activate in multiple sel mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:29:59 +00:00
Vadim Zeitlin
efbb7287e6 1. corrected bug with LIST_ITEM_ACTIVATED being sent even if second click in
dbl click was on another item
2. moved private classes from listctrl.h -> listctrl.cpp
3. made sample messages include the item index


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 15:22:21 +00:00
Vadim Zeitlin
816be743e8 added renderers/editors for long/float, not fully tested yet, but seems to
work - see the demo in the (updated) sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 14:29:41 +00:00
Mark Johnson
66d6c315a3 dbbrowse.cpp dbbrowse.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 13:00:06 +00:00
Vadim Zeitlin
99306db210 don't draw cell highlight over the cell editor (improves wxGCBoolEditor appearance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 11:08:17 +00:00
Mark Johnson
89fcf04c8c dbbrowse.cpp dbbrowse.h de/dbbrowse.mo de/dbbrowse.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:53:40 +00:00
Vadim Zeitlin
270e8b6a37 1. wxMenuBar::FindMenu() made "const"
2. documented it
3. documented recent change to wxYield()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:17:32 +00:00
Vadim Zeitlin
e5131165b0 attempt at HP-UX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:09:27 +00:00
Vadim Zeitlin
2ed3265e18 added wxLog::Suspend/Resume and wxYield() uses them now so that it won't flush
the messages any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 10:00:29 +00:00
Vadim Zeitlin
6daa30a07e removed some default value for wxGrid compatibility ctor resolving ambiguity of writing wxGrid(this, -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 09:56:22 +00:00
Vadim Zeitlin
52130557bf moved wxMenuBar::FindMenu(title) from MSW to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 09:53:55 +00:00
Julian Smart
86ad564eb1 Moved the wxDialog BringWindowToFront fix to Show because it happens in
modeless dialogs too, if other windows have been disabled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 08:54:05 +00:00
David Webster
05fc6c0a67 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 05:34:42 +00:00
Michael Bedward
dd16fdaeaa Added view menu items to toggle row and col drag-resizing.
Removed setting of cell background colour for the moment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 04:06:58 +00:00
Michael Bedward
6e8524b11b Added functions to enable/disable drag-resizing of rows and cols.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 03:51:43 +00:00
Robert Roebling
40c7018756 Removed some debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 00:01:03 +00:00
Robin Dunn
0ba143c9a0 forgot to uncomment a few things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:22:40 +00:00
Robin Dunn
f2d7623799 Added ability for tables, grids, editors and renderers to handle nonstring data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:17:40 +00:00
Ron Lee
e0a4aa8a21 added wxPython control files and a few changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 23:02:25 +00:00
Ron Lee
9b0326f79a added PYTHON_DIST for creating Debian source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 22:57:54 +00:00
Guillermo Rodriguez Garcia
9742d3cc18 End of stream reading stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 22:18:15 +00:00
Robin Dunn
7299b1b267 added typcast needed for VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 22:09:03 +00:00
Ron Lee
879345103c removed redundant #! line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 20:33:10 +00:00
Ron Lee
6f82295e5c allow '=' inside a value on command line.
return error code from calling makefiles in lower 8 bits so any
Makefile calling build.py will correctly interpret fatal build
errors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 20:29:12 +00:00
Ron Lee
05cdfc6fad modified burnt_name to use only soname instead of full version name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 20:11:03 +00:00
Vadim Zeitlin
35f97e951c added "bugs table" which will show non string data support when it's ready
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:34:30 +00:00
Sylvain Bougnoux
5d097345ba tiny fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:13:09 +00:00
Sylvain Bougnoux
dfc6cd933d Check multiple selection :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:08:07 +00:00
Vadim Zeitlin
439479796a added SetColMinimalWidth()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:01:45 +00:00
Robert Roebling
0e09f76e6d Slightly better GC pooling,
Implemented automatic updateregion clipping as MSW does.
  Made drawing sample a bit saner.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 18:01:02 +00:00
Vadim Zeitlin
1618dca721 make it possible to specify the virtual table size (this makes it easier to
see that the memory taken by the grid doesn't depend on it with top)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 17:37:07 +00:00
Vadim Zeitlin
6d55126d0b a couple of terrible typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 17:25:43 +00:00
Stefan Neis
b0486e0dc3 Eliminate apparently unnecessary updates in SetScrollbars.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 17:10:39 +00:00
Vadim Zeitlin
b32719cc03 Left() -> BeforeFirst()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 16:48:03 +00:00
Vadim Zeitlin
7c1cb26122 virtualized m_row/col height/widths arrays
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 16:39:23 +00:00
Vadim Zeitlin
943d28e424 added wxCURSOR_DEFAULT to others (not GTK only), hide the current selection in
the tree ctrl during dnd


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:35:44 +00:00
Vadim Zeitlin
8dd4f53663 Michaels change to OnEraseBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:31:55 +00:00
Vadim Zeitlin
d16c04bb0a 1. removed 3d border, but
a) made DrawCellHighlight() virtual to allow overriding it in user code
 b) fixed bug with grid lines painting over the border, so it should really
    work now
2. char events to readonly cells are Skip()ped which makes Alt-X work for
   them too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:27:36 +00:00
Vadim Zeitlin
b3a7510d21 include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:25:20 +00:00
Vadim Zeitlin
2cd31b57b2 a couple of wors about wxObjArray::Index()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:19:02 +00:00
Robert Roebling
3d2d8da1d8 Implemented MSW's paint region clipping, but
it exposed some bug in GTK's guffaw stuff.
  Implmented GC pooling.
  Implemented Corrcet mixing of pain region clipping,
    user clipping and masked bitmap clipping.
  Minor other corrections.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:16:32 +00:00
Robert Roebling
78066fbfd4 Set logical functions to wxCOPY, no -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:13:08 +00:00
Robert Roebling
5456b91616 Make use of FillRect() when possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 14:12:20 +00:00
Vadim Zeitlin
d6a55c4bc2 wxUSE_NEW_GRID implies wxUSE_GRID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 13:19:03 +00:00
Vadim Zeitlin
ea968ccd07 compile fix for wxUSE_STD_IOSTREAM case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 13:17:46 +00:00
Mark Johnson
0068587be2 browsedb.cpp dbgrid.cpp dbtree.cpp dlguser.cpp de/dbbrowse.mo
de/dbbrowse.po de/xget.cfg


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 12:31:07 +00:00
Mark Johnson
ad288a8990 xget.cfg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 12:30:20 +00:00
Michael Bedward
3d1b41968f Changed system colours for better default display of wxGrid. Please revert
this if it causes problems with other things and let me know on wxwin-dev.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 09:53:16 +00:00
Julian Smart
6a088435b3 Fixed (I hope) the wxDialog reactivation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 09:42:31 +00:00
Václav Slavík
5f8525bf22 modif time of FS inet and FS mem files is not wxDateTime::Now, not wxDateTime::Today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 08:37:46 +00:00
Václav Slavík
ed323aeaa8 wxGTK compilation fix (wxFrame::Show call without argument)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 08:37:39 +00:00
Mark Johnson
3fa0976a57 browsedb.h dbbrowse.cpp dbbrowse.h dbgrid.h dbtree.h
dlguser.cpp dlguser.h doc.cpp doc.h pgmctrl.h de/dbbrowse.mo
 	de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 08:05:13 +00:00
David Webster
a885d89ae9 Frame and Window coding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-21 05:12:34 +00:00
Julian Smart
f250631042 wxImage::Rotate corrections added; docview improvements (menus updated properly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 12:40:08 +00:00
Robert Roebling
00cf120892 configure changes
grid 3d changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 10:23:06 +00:00
Mark Johnson
5aeda15836 browsedb.cpp dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 10:04:48 +00:00
Mark Johnson
4069116a15 help.de/compiler.htm help.de/dbbrowse.htm help.de/getcol.htm
help.de/getcolsh.htm help.de/icons.htm help.de/picgrams.htm
 	help.de/problems.htm help.de/remstar.htm help.de/sample.htm
 	help.de/startprm.htm help.de/todo.htm help.de/wxdb.htm
 	help.de/wxtable.htm help.std/compiler.htm
 	help.std/dbbrowse.htm help.std/getcol.htm
	help.std/getcolsh.htm help.std/icons.htm help.std/picgrams.htm
 	help.std/problems.htm help.std/remstar.htm help.std/sample.htm
 	help.std/startprm.htm help.std/todo.htm help.std/wxdb.htm
 	help.std/wxtable.htm


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 07:06:51 +00:00
Guillermo Rodriguez Garcia
2f17584941 Opps. Sorry - typo fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 02:52:01 +00:00
Guillermo Rodriguez Garcia
967a322fe9 Don't try to translate empty strings (just a cosmetical issue - it should
not fail anyway, but it is cleaner this way)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 01:08:40 +00:00
Guillermo Rodriguez Garcia
52e52bea12 Process all pending events before starting to delete pending objects -
specially important for wxPostEvent to work OK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 01:04:34 +00:00
Guillermo Rodriguez Garcia
5fb2f4ba7e Solved bug which was breaking richedit ctrls for non-unicode builds on some compilers.
Fixed some small non-fatal bugs like missing c_str() and the like.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-20 01:03:15 +00:00
Guillermo Rodriguez Garcia
6d5ca46c65 Fixed these:
text.cpp:588: passing `const char *' as argument 1 of
`wxWindowBase::SetClientData(void *)' discards qualifiers
text.cpp:592: passing `const char *' as argument 1 of
`wxWindowBase::SetClientData(void *)' discards qualifiers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 06:49:20 +00:00
Guillermo Rodriguez Garcia
176fe5af12 Solved multiple memory leaks.
Added some comments (on-screen, not to the code)
Inverted the original XBM file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 04:22:08 +00:00
Václav Slavík
c83b076636 fixed bug in wxMemoryInput/OutputStream::OnSysRead/Write that caused incorrect LastRead reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 00:55:10 +00:00
Václav Slavík
69a492c9b2 ripper_main.o does not belong to HelpGen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-19 00:55:05 +00:00
David Webster
0fe536e3f6 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 23:35:39 +00:00
Vadim Zeitlin
3dbeaa523d added dnd support to generic wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 22:12:58 +00:00
Robin Dunn
c4c829aeab toggle button doesn't send event if mouse is released outside of the
button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 21:21:04 +00:00
Robin Dunn
352f281a24 fixed some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 21:01:27 +00:00
Vadim Zeitlin
ee6694a711 auto arrays can't be initialized - compile error for HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:45:56 +00:00
Vadim Zeitlin
619fda4f5a HP-UX recommendations added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:40:38 +00:00
Robin Dunn
266839eee9 wx-config is configurable...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:28:36 +00:00
Vadim Zeitlin
6cedba093a more long/double to int conversion warnings from HP-UX logs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 20:20:15 +00:00
Guilhem Lavaux
7d533797a0 * ESD works in full duplex (theorically)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 19:05:27 +00:00
Guilhem Lavaux
db2e2242ef * Some more missing files. MMBoard tested (wave files) on MSVC 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 19:00:52 +00:00
Guilhem Lavaux
e1c324c375 * Make some more work on the video for Linux (Unix hopefully as I use XAnim)
* Added some datas for Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 18:36:00 +00:00
Robert Roebling
86fe74c5cd help sample useful again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 16:57:47 +00:00
Guillermo Rodriguez Garcia
aadaf84128 Added missing Unref() in wxImage::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 16:15:17 +00:00
Guillermo Rodriguez Garcia
28026dc671 Solved a typo related to masks. Was setting *all* pixels in the mask
to rgb(0,0,0) - hence no mask at all :-) Corrected related OS/2 code
as well (this is where the typo was introduced in the first place)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 16:10:11 +00:00
Bart A.M. Jourquin
ffae916f44 Hashtable now supports negative keys
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 15:03:48 +00:00
Julian Smart
49676b852c Added JPEG rsp file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-18 08:14:32 +00:00
Guillermo Rodriguez Garcia
8141573c1e Now wxGIFDecoder always tries to read to the end of the GIF data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:39:35 +00:00
David Webster
80d83cbcc2 More wxFrame updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:31:03 +00:00
Václav Slavík
c692969f82 added wxMemoryFSHandler for storing VFS in memory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:18:56 +00:00
Václav Slavík
dcb86da021 added wxMemoryFSHandler for storing VFS in memory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 23:13:41 +00:00
Julian Smart
058939fc08 Reverted change to DrawLine so it doesn't draw the last point (sorry!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 22:44:07 +00:00
Robert Roebling
c916e13bc0 Small testing changes,
Small flicker reduction in wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 21:17:54 +00:00
Julian Smart
d6f0a4b367 Removed redundant wxColour constructor (how come this didn't cause problems before...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 20:36:52 +00:00
Vadim Zeitlin
e195a54c31 added wxGridCellEditor::StartingClick(), used by BoolEditor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 20:03:01 +00:00
Vadim Zeitlin
297da4bad9 some (attempts of) appearance fixes for wxGCBoolRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:32:25 +00:00
Vadim Zeitlin
189d0213da wxGridCellEditor::PaintBackground() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:13:48 +00:00
Ron Lee
f538864d03 added -doc package
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:07:25 +00:00
Ron Lee
88d3a15cc6 remembered to update and commit after changing .in, duh :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 19:05:06 +00:00
Sylvain Bougnoux
fa40e7a175 Workaround (?) for using streambuf with wxUSE_IOSTREAMH=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 18:23:41 +00:00
Ron Lee
b51b78a9c7 fixed cutnpaste error samples->utils in UTILS_DIST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:26:26 +00:00
Václav Slavík
c1e5e88134 fixed inaccurancy in container layouting with wxHTML_ALIGN_JUSTIFY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:09:11 +00:00
Václav Slavík
2cb20bea55 documented 2nd prototype of wxListCtrl::SetItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:09:04 +00:00
Ron Lee
676b8fb6f1 ignore CVS dir when copying /debian
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 17:03:07 +00:00
Václav Slavík
410207c3b3 fixed detection of listbox background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 15:17:31 +00:00
Vadim Zeitlin
ee6e1b1d9c assorted files I forgot to commit before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 14:12:32 +00:00
Vadim Zeitlin
508011ce6c bool editor/renderer added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 14:08:27 +00:00
Vadim Zeitlin
45816ddded added wxRect::Inflate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 14:06:00 +00:00
Ron Lee
19a9df0980 added APPEXTRADEFS var so things like tex2rtf can pass their own flags to the make system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 13:57:54 +00:00
Vadim Zeitlin
cd9da20028 added and documented wxDC::DrawCheckMark()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 12:53:36 +00:00
Vadim Zeitlin
6d516e09b3 wxSysErrorCode/Msg documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 12:16:41 +00:00
Julian Smart
b14c14ff36 Added demo of strange rectangle behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 11:04:26 +00:00
Vadim Zeitlin
b54ba67107 1. EVT_GRID_XXX constants renamed to wxEVT_GRID_XXX
2. EVT_GRID_EDITOR_SHOWN/HIDDEN added
3. Alt-X now work in the grid (instead of being eaten in StartingKey)
4. added CanEnableCellControl() and use it before calling EnableEC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 10:12:48 +00:00
Vadim Zeitlin
b7f1f77f82 hack to fix crash when creating a DC for a widgetless window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 08:47:12 +00:00
Vadim Zeitlin
81ef7f0818 warning in GetItemFromPoint with mingw32 fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 08:04:28 +00:00
Robin Dunn
99ab9f3bf9 More fixes for the OGL wrapper and some other updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 04:52:42 +00:00
Guillermo Rodriguez Garcia
5e9ff6adaa Optimized drawing code in OnMouse() for freehand drawing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 03:02:14 +00:00
Guillermo Rodriguez Garcia
102f951d7f added a few comments and remove $(COPYSEP)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 23:46:07 +00:00
Guillermo Rodriguez Garcia
eb018fd7d0 added myself for spanish translation :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 23:38:06 +00:00
Václav Slavík
c0fba4d1be fixed background colour handling in wxTreeCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 23:23:19 +00:00
David Webster
178f951f78 Start of actual filling in of wxFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:51:58 +00:00
David Webster
ea51d98d65 Start of actual filling in of wxFrame. Makefile now supports tiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:51:22 +00:00
Julian Smart
d0b223a148 DrawLine normalized; wxStaticBitmap fixed for Dialog Editor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:44:35 +00:00
Václav Slavík
2aa59ef436 documented Set/GetVendorName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:41:22 +00:00
Vadim Zeitlin
283b7808d8 added support for readonly cells and 3d border drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 21:10:45 +00:00
Robin Dunn
fb0de762f3 Eats EVT_CHAR events for WXK_ESCAPE, WXK_TAB, and WXK_RETURN since
they are handled in EVT_KEY_DOWN.  It also gets rid of the annoying
bell on MSW for the return key.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:54:27 +00:00
Ron Lee
e4c4c1c697 added files / made changes to enable building Debian releases from cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:47:08 +00:00
Robin Dunn
b7fff980e7 disable edit control before insert/delete row/col
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:42:43 +00:00
Guilhem Lavaux
d73dd2b2fc * Video with XANIM is working on Multimedia Board (I must improve the window
sizing, ...): it shows me movies.
* Fixed a major bug in sndcpcm: we must divide by 2 the length of the
  sound block because we work in 16 bits mode
* Support for Video in wxMultimediaBoard
* Other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:20:11 +00:00
Vadim Zeitlin
3da93aae50 the in-place control uses the attr for colours/font info too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:18:53 +00:00
Vadim Zeitlin
4ed0aceb92 missing event.Skip() added (it was impossible to use mouse without it...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:10:31 +00:00
Vadim Zeitlin
e97320d40d compilation fix for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 20:07:51 +00:00
Vadim Zeitlin
4de422dcd5 removed test wxYield
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 19:22:11 +00:00
Vadim Zeitlin
d1c0b4f97e deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 19:15:13 +00:00
Vadim Zeitlin
0e10e17b86 translators for Hungarian and Russian added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 19:06:13 +00:00
Robin Dunn
4e5b5abbfd Insert row/col now uses the current position to determine where to insert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 17:52:27 +00:00
Robin Dunn
9b4aede26d Added getters/setters for cell and grid-default editors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 17:51:33 +00:00
David Webster
615a9936a4 OS/2 support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 17:12:56 +00:00
Stefan Neis
4d60017aa5 Added UpdateAttrRows/Cols to change the row/column info in attributes as
needed when Deleting/Inserting rows/columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 16:08:16 +00:00
Julian Smart
c3cb82e122 Corrected my bug...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 14:55:56 +00:00
David Webster
1dabb13fb4 Add Plot to library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 13:46:54 +00:00
Sylvain Bougnoux
0158f58424 Fixed stupidity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 13:38:50 +00:00
Sylvain Bougnoux
fd7cf53286 Fixed wxGetLocalTimesMillis using HAVE_GETTIMEOFDAY\nPlease fix the others...\nThen remove val*=wxGetLocalTime()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 13:05:55 +00:00
Julian Smart
2fa7c206f6 Various VC++ 1.5 and other corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 11:53:16 +00:00
Julian Smart
9e5c7daa4a Corrected LINKAGEMODE OS/2 thingy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 09:59:53 +00:00
Sylvain Bougnoux
fbbba98df4 Add Shivar's patch for using iostream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 09:32:34 +00:00
Robin Dunn
2fc9954937 more updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 07:34:49 +00:00
David Webster
94fbea122f OS/2 updates, basically linkage mode settings on static procs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:26:12 +00:00
David Webster
319445fe63 Final cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:23:57 +00:00
Robin Dunn
0ad07724bf incremented version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:14:22 +00:00
Robin Dunn
3832c9464b incremented version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 06:08:18 +00:00
Robin Dunn
714d23b44b Some minor updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-16 05:57:16 +00:00
Vadim Zeitlin
2e002aa906 empty rc file for the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 23:58:16 +00:00
Vadim Zeitlin
5888ef1e7d 1. dnd demo in treetest
2. compilation fix in drawing (for VC++)
3. refresh bug fixed in regtest, dnd/copying keys seems to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 23:57:33 +00:00
Vadim Zeitlin
5af3f0efd5 bug fix in wxRegKey::CopyValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 23:54:25 +00:00
Václav Slavík
91fc2bdc33 background color set to wxSYS_COLOUR_LISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:19:10 +00:00
Václav Slavík
ac8ae254b4 background color set to wxSYS_COLOUR_LISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:13:50 +00:00
Václav Slavík
019a60d625 added wxSYS_COLOUR_LISTBOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:10:08 +00:00
Václav Slavík
9c0f7642cc removed duplicate defines of wxSYS_ constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:09:42 +00:00
Václav Slavík
74f551959f added wxSYS_COLOUR_LISTBOX ; check to prevent wxSYS_COLOUR_HIGHLIGHT and HIGHLIGHT_TEXT being same
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:08:27 +00:00
Václav Slavík
165b6ee097 fixed radiobox layouting: asks GTK for best size, does not compute it from string&font anymore (fixes GNU Step theme problem)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:07:58 +00:00
Václav Slavík
418d9d6275 fixed typo bug in my last commit that caused image size (-1,-1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:07:51 +00:00
Sylvain Bougnoux
ff835f5006 Update entering/leaving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 20:21:30 +00:00
David Webster
dd8d32232d Generic path instead of hardcoded
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:56:21 +00:00
Robin Dunn
be83e8f193 Fixed precedence order problem for IsShiftDown and IsCtrlDown. (It
was using the toggle bit instead of the is-down-now bit because of
the order of evaluation of the operators.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:48:19 +00:00
David Webster
71b59b447f A few more minor fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:44:04 +00:00
Julian Smart
a784652571 Typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 19:26:20 +00:00
Guilhem Lavaux
5bee458a0f * Added IsPaused() to wxSoundFileStream
* Play/Pause/Resume should work in wxMMBoard


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:49:25 +00:00
Robert Roebling
bce1406bff list ctrl and tree ctrl didn't like the new focus code,
mem clean uop crash fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:38:19 +00:00
Robin Dunn
f87ac92e02 fix for goofed up grid borders when scrolling/refreshing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:33:16 +00:00
Guillermo Rodriguez Garcia
dfde8cd357 Readded fix to adjust size of rectangles with transparent outline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:06:56 +00:00
Robert Roebling
fb65642cd4 wxGTK now ignores widget style when using the pixmap theme.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 18:01:16 +00:00
Julian Smart
a20a10fe1d Added comment makeg95.env
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 17:32:14 +00:00
Robert Roebling
7741c4e1f5 Minor wxYield() change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 16:38:01 +00:00
Vadim Zeitlin
afa6a1a1d9 text bg is transparent now, but the icons are still not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 16:28:54 +00:00
Robert Roebling
a796957ae0 Forgot to add this one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:56:43 +00:00
Robert Roebling
3d3428c4e6 plot docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:56:09 +00:00
David Webster
df529b49a4 more xpm fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:43:51 +00:00
David Webster
4b41f6bc00 more xpm fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:31:34 +00:00
Guillermo Rodriguez Garcia
c1d139da69 added tests for filled rects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:21:59 +00:00
Guillermo Rodriguez Garcia
29ff35bc63 ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 15:17:31 +00:00
Vadim Zeitlin
1171c29741 demo of wxYield() bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 14:48:06 +00:00
Vadim Zeitlin
409c4ffddd fixed bug in handling value names with escaped chars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 14:08:37 +00:00
Robert Roebling
cc977e5fde Various distrib related changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:56:16 +00:00
Vadim Zeitlin
310df81bd8 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:53:23 +00:00
Vadim Zeitlin
ff2d113e01 added wxUSE_PLOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:36:33 +00:00
Michael Bedward
7b21891e54 Fixed typo with TV_HITTESTINFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 11:50:18 +00:00
Robert Roebling
19141178ec Readded plot event constants.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 11:49:06 +00:00
Julian Smart
a19762cf3d Removed old Ming95 makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 11:25:18 +00:00
Vadim Zeitlin
49878561f0 more translators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 10:21:22 +00:00
Vadim Zeitlin
9b33fe0222 added wxUSE_PLOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 10:06:32 +00:00
Bart A.M. Jourquin
695237bccd SCROLLWIN instead of SCROLL again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:55:29 +00:00
Vadim Zeitlin
7ead72f2ff oops... another incorrectly resolved cvs conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:53:53 +00:00
Vadim Zeitlin
9e91a33c46 conflicts markers removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:50:19 +00:00
Vadim Zeitlin
6148d1e6e9 fix for drawing bitmap buttons under Win95 (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:49:16 +00:00
Robert Roebling
530a7383f2 Many plot window gooddies.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:37:39 +00:00
Ron Lee
cb60902e04 fixed test for _vsnprintf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:26:41 +00:00
Bart A.M. Jourquin
ddb22eb4b5 wxEVT_SCROLL_THUMBRELEASE instead of wxEVT_SCROLLWIN_THUMBRELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 09:22:20 +00:00
Robin Dunn
fb2957900c Some cleanup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 07:08:42 +00:00
David Webster
ea258ad348 Updates to make VA 3.0 compile again, particularly xpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 05:49:02 +00:00
David Webster
f1d626b203 minimal makefile for VA 3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 05:00:28 +00:00
Vadim Zeitlin
23f681ec48 1. implemented wxRegKey::Copy() and CopyValue()
2. regtest sample doesn't crash any more
3. wxLogGui uses msg box for only 1 message
4. "const wxEventType" => "enum"
5. wxEVT_COMMAND_TREE_END_DRAG introduced - see sample for example
6. fixed several non fatal bugs in wxRegKey
7. many changes in regtest sample, not tested yet


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 00:05:36 +00:00
Guillermo Rodriguez Garcia
0bddb3cc6f just some comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 21:45:06 +00:00
Robin Dunn
75ecbe4594 1. Initialized m_displayed to TRUE to solve a cell highlight problem
for some systems.  If this causes no problems then this flag can be
removed.

2. Took out the edit timer so now a second click in the current cell
will activate the edit control, even if it is several seconds later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 21:35:42 +00:00
Stefan Neis
dce4122902 Fixed SetCurrentCell.
Fixed CalcCellsExposed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 19:27:40 +00:00
Vadim Zeitlin
d24ebec28b list of official wxWin translators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:54:18 +00:00
Vadim Zeitlin
c42404a58e fixes for compilation with the old mingw32, wxUSE_NORLANDER_HEADERS is always
defined (as 0 or 1)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:21:21 +00:00
Guilhem Lavaux
55196c5464 Added a bigger wxMMedia2 demonstration: wxMultimediaBoard: it is a sort
of light clone of the Windows Media Player.
Early development, but it plays WAV/AIFF files and should work on Windows
as soon as I build the makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:12:37 +00:00
Guilhem Lavaux
a31c84f389 * Various fixes
* Introduced FinishPreparation() in wxSoundFileStream as a conclusion
  to PrepareToPlay()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:09:24 +00:00
Vadim Zeitlin
2133c25075 USE_DYNLIB_CLASS set to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 15:32:40 +00:00
Vadim Zeitlin
32de7d24a5 fix for id of CHAR_HOOK events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 15:06:40 +00:00
Mark Johnson
f1a31d8891 dbtree.cpp de/dbbrowse.mo de/dbbrowse.po de/mo.cmd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 14:58:54 +00:00
Mark Johnson
d1a643a467 dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 11:14:48 +00:00
Robin Dunn
2c9a89e002 wxGridCellEditor plugged in and operational for strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 11:05:35 +00:00
Mark Johnson
897d36c241 browsedb.cpp dbbrowse.cpp dbgrid.cpp dbtree.cpp doc.cpp
de/dbbrowse.mo de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 11:05:14 +00:00
Mark Johnson
b54f1155cb browsedb.cpp dbtree.cpp dlguser.cpp dlguser.h pgmctrl.cpp
de/dbbrowse.mo de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 09:07:41 +00:00
Robin Dunn
07296f0b12 1. Fixed slow-click timer.
2. Fix for full cell background to be painted.  (One line on the edges
was showing through to the background.)

3. Added current cell highlight.  Currently it just draws a thick
border using the gridLineColour just inside the cell borders.

4. Make dragging a little less sensitive by ensuring that the mouse
drags at least 3 pixels before anything is done to the grid.

5. CaptureMouse while drag-selecting cells and fixed to make cells
visible if dragging outside window boundaries.  Still a problem here
though, it moves way to fast to see what's happening (at least on MSW.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 08:53:06 +00:00
David Webster
0dfef5a812 Fix for VA 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 05:00:55 +00:00
David Webster
70054dc94d Minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 04:58:59 +00:00
Guillermo Rodriguez Garcia
ef57d8662f Still with the same 'read after close' thing...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 23:49:23 +00:00
Stefan Neis
025562fee3 Shift edit control (since we shifted cells in last version!)
Only draw valid help lines in resizing.
First try to enable EditCtrl on slow clicking: Doesn't work yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 19:43:54 +00:00
Guillermo Rodriguez Garcia
5330a86957 Solved a 'bug' in GSocket_Select (a bug in the user side, I'd say)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 19:04:55 +00:00
Mark Johnson
c9a586dbe4 pgmtext.mo pgmtext.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 18:33:43 +00:00
Mark Johnson
a1c5f7a357 dbbrowse.cpp dbgrid.cpp dlguser.cpp pgmctrl.cpp de/help.mo
de/help.po
 	de/dbbrowse.mo de/dbbrowse.po


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 18:31:05 +00:00
Stefan Neis
dcfe4c3d71 Added enabling/disabling of cell edit control.
Moved grid lines and cells by one pixel.
Call SelectBlock in SetCurrentCell (possibly not, what we want?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 16:58:43 +00:00
Julian Smart
1265b12ac9 Bitmap name changes (also done by RR, oops)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 16:28:19 +00:00
Robert Roebling
e60908ca90 Applied colour reduction and changes to use
Windows standard palette to plot BMPs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 15:08:34 +00:00
Robert Roebling
0f820c97ca Reverted Vadims change for the size of filled
rects, the are the same now on GTK and Win95.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 14:50:47 +00:00
Robert Roebling
cacc9daee9 Corrected BMP names for plot window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 14:49:40 +00:00
Robert Roebling
af3cc6adf9 Added mingw32 makefile for plot demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 14:48:20 +00:00
Robin Dunn
26b9cf270e Some updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 06:35:39 +00:00
Robin Dunn
854862f58d Some updates and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 06:01:58 +00:00
Robin Dunn
f97c9b5bf2 1. Grid cell defaults are now handled by an internal
wxGridCellAttr object

2. wxGridCellRenderer::Draw updated to expect an attr object and
use it instead of going back to the grid for everything

3. The selection colours are now initialized from wxSystemSettings,
and are configurable.

4. Now either CreateGrid() or SetTable() can be called to initialize
the grid.  Added a test for using a non-default table.

5. Reduced flicker even more byt using empty EVT_ERASE_BACKGROUND handlers.

6. The beginings of wxGridCellEditor are in there but not activated
yet. (This is the next step.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 05:38:03 +00:00
Robin Dunn
2796cce3f1 1. Grid cell defaults are now handled by an internal wxGridCellAttr
object.

2. wxGridCellRenderer::Draw updated to expect an attr object and use
it instead of going back to the grid for everything

3. The selection colours are now initialized from wxSystemSettings,
and are configurable.

4. Now either CreateGrid() or SetTable() can be called to initialize
the grid.  Added a test for using a non-default table.

5. Reduced flicker even more byt using empty EVT_ERASE_BACKGROUND
handlers.

6. The beginings of wxGridCellEditor are in there but not activated
yet. (This is the next step.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 05:37:37 +00:00
Robin Dunn
164b735b71 Fixed thread state problem in wxTreeCtrl.GetBoundingBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 00:29:38 +00:00
Julian Smart
2b4313be05 BC++ doesn't like periods in resource names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 19:10:14 +00:00
Vadim Zeitlin
2daa0ce9a4 mouse event flags have MSW-compatible values for click/release events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 14:57:21 +00:00
Mark Johnson
c92b0f9abd browsedb.cpp browsedb.h dbbrowse.cpp dbbrowse.h dbbrowse.rc
dbgrid.cpp dbgrid.h dbtree.cpp dbtree.h dlguser.cpp dlguser.h
 	doc.cpp doc.h pgmctrl.cpp pgmctrl.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 14:11:17 +00:00
Guilhem Lavaux
ef366f3523 * Updated README
* Recoded converters (in a cleaner way)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 12:11:23 +00:00
Julian Smart
9bb3479c68 Distrib file updates; test for bitmap presence in controls.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 10:44:03 +00:00
Guillermo Rodriguez Garcia
b5c91ac6b3 Partially rewrote rotation code due to a potential alignment problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 23:11:40 +00:00
Julian Smart
7dd7a90614 Uncommented listctrl.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 22:36:29 +00:00
Julian Smart
f97445f4aa Doc bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 22:36:05 +00:00
Vadim Zeitlin
758cbedf84 added attr assignment for rows/columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 21:14:58 +00:00
Vadim Zeitlin
0a97676587 added an extremely simple cell attr cache (yet it catches 80% of acccesses)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 20:38:04 +00:00
Guillermo Rodriguez Garcia
a2e661f9ce Another oops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 20:09:02 +00:00
Julian Smart
ecf527c06b Manual fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 19:42:46 +00:00
Vadim Zeitlin
ab79958a7f added wxGridCellRenderer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 19:40:56 +00:00
Vadim Zeitlin
2e9a678817 fixed setting more than one attr for a cell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:18:18 +00:00
Stefan Neis
3ace2e6d5c Updated to include recent fixes to configure.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:01:56 +00:00
Robert Roebling
a5a0dd06b6 Made HelpGen compile here.
Documented wxPlotWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 18:00:42 +00:00
Guillermo Rodriguez Garcia
b59102d53f Oops.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:57:15 +00:00
Guillermo Rodriguez Garcia
33e3914780 Modified for new THUMBRELEASE event
Optimized game engine a bit more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:56:39 +00:00
Guillermo Rodriguez Garcia
7d56fb8fcd Added wxEVT_SCROLL[WIN]_THUMBRELEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:55:28 +00:00
Vadim Zeitlin
181bfffdc8 removed debugging messages I just added by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:47:18 +00:00
Vadim Zeitlin
e2b42eebeb added ChangeCursorMode() method, rewrote the col/row resizing code to capture/release mouse properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 17:43:42 +00:00
Julian Smart
c3b177ae63 Some BC++ 5.4 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 13:29:43 +00:00
Robert Roebling
80a58c9968 Added BMP files for wxPlotWindow,
Replaced wxWindow with wxNotebookPage in wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:28:21 +00:00
Václav Slavík
37a1f3f69b fixed bug in scaling images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:08:23 +00:00
Michael Bedward
6d004f675d Added facility to resize rows and cols by dragging grid lines.
Fixed bug where row col resize events were sent twice.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 04:09:20 +00:00
Vadim Zeitlin
4aff28fc9b 1. exchanged binary ROPs wxSET/wxCLEAR meaning for wxMSW to match wxGTK
2. bug with multiline messages in wxLogGui fixed
3. wxLogGui visual enhancements (for MSW, don't know how it looks elsewhere)
4. fixed 2 nice (i.e. BIG) memory leaks in wxImage::Rotate()
5. modified the text sample to show the mouse events too
6. documented strange behaviour of LEAVE_WINDOW mouse event under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 02:41:07 +00:00
Robert Roebling
1d81a219db Fixed Vadims fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 19:31:55 +00:00
Robert Roebling
279ababf7b Whole lotta stuff for wxPlotWindow,
repaired image sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:43:33 +00:00
David Webster
bbc3f89a82 Added an OS/2 section to the sql defines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:32:08 +00:00
Vadim Zeitlin
7b848b0db2 1. fixed bug with the index of the last column in EVT_COL_CLICK being shifted
by 1 (always)
2. added a menu item to toggle single/multiple selection to the sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 18:12:44 +00:00
Mark Johnson
f75fc92e11 dbgrid.cpp dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 16:53:59 +00:00
Julian Smart
5ce70b006d Added a few makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 15:42:35 +00:00
Mark Johnson
e8c6aabeaa dbbrowse.rc dbgrid.cpp dbtree.cpp dbtree.h help.de/icons.htm
help.de/problems.htm help.std/icons.htm help.std/problems.htm
 	bitmaps/view.ico bitmaps/view.xpm help.png/view.png


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 15:36:10 +00:00
Guillermo Rodriguez Garcia
ad30de59f6 Added support for transparency in rotation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 13:27:07 +00:00
Guillermo Rodriguez Garcia
b217783903 Added code to test the transparency stuff for image rotation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 13:26:30 +00:00
Bart A.M. Jourquin
cb5df486e8 #include textfile.h out of the WX_PRECOMP section (bcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 08:36:51 +00:00
Guillermo Rodriguez Garcia
d624fd67f8 Added comments explaining my recent changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 07:28:43 +00:00
Guillermo Rodriguez Garcia
8fcae2d6ed ROP 0x00AA0029 used for transparent area in DrawBitmap and Blit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 06:54:50 +00:00
Guillermo Rodriguez Garcia
105521d118 Minor updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 05:01:21 +00:00
Robin Dunn
047473c90a moved Clear() outside of if (textured)...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 05:00:06 +00:00
Robin Dunn
1edc9f4576 added option for drawing a textured background to test masks on a
non-solid background.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 04:56:16 +00:00
Michael Bedward
2433bb2ed1 Added wxTextFile functions to make multi-line text formatting portable.
Fixed cell background colour problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 03:50:51 +00:00
Michael Bedward
bd3c6758b5 Reverted changes to grid line positioning that caused many problems
with refreshing and edit control placement.

Added calls to wxFAIL_MSG.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 02:39:05 +00:00
Guillermo Rodriguez Garcia
04e1eb03b0 - wxSocket no loner automatically Closes() the socket when it receives a
LOST event.

- Elusive bug found and fixed when:
a) there was still data to be read in the input buffer, but
b) the socket had already been closed by the peer, so
c) there was a LOST event before the next INPUT event was generated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-10 01:02:34 +00:00
David Webster
c67b773e19 Updates to make latest changes compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 22:58:41 +00:00
Guillermo Rodriguez Garcia
c0eba78b86 Stupid bug: using LastError() instead of Error()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 22:53:26 +00:00
Stefan Neis
ea0dbf30b3 Updated/Added build instructions for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 21:50:15 +00:00
Guillermo Rodriguez Garcia
a9cf40974a Zooming buttons / menu options automatically disabled when needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:52:12 +00:00
Robin Dunn
4ac99f4bbe fixed VC6 compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:51:09 +00:00
Robin Dunn
d14f4fec2d plugged memory leak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:35:09 +00:00
Vadim Zeitlin
b99be8fb78 cell attributes added (doesn't quite work, work in progress, beware, don't use, &c &c)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:30:27 +00:00
Guillermo Rodriguez Garcia
7989fb3707 Added automatic connection of drawn points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 20:22:57 +00:00
Vadim Zeitlin
633d67bb49 fixed fatal bug in wxStatusBar::SetFieldsCount(), added demo of it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 18:23:37 +00:00
Vadim Zeitlin
26dfedc4fc some Motif compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 17:53:42 +00:00
Vadim Zeitlin
06b466c74f more HP-UX compilation warnings fixed (187th try)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 17:51:16 +00:00
Vadim Zeitlin
61b1a1af1b and ITEM_COLLAPSED/ING too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 15:36:30 +00:00
Vadim Zeitlin
9711961cb9 added EVT_TREE_ITEM_ACTIVATED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 15:34:47 +00:00
Stefan Neis
c1b2e2b6a8 Fix refreshs for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 14:29:25 +00:00
Guillermo Rodriguez Garcia
5e2e843f00 let's see it it works now...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:54:56 +00:00
Michael Bedward
27fa32469f Changed grid line positioning slightly to line up the cells with the labels.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:18:52 +00:00
Michael Bedward
18f9565d19 Fixed problem where corner label was displayed when either row or col label size had been set to zero prior to first display.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 08:09:19 +00:00
Michael Bedward
7807d81c73 Simplified sizing code. Sub-windows are now sized explicitly in wxGrid::CalcWindowSizes().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 07:17:12 +00:00
Michael Bedward
c3e4873f84 Partially reverted last changes because of problems under wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 05:12:01 +00:00
Michael Bedward
4634a5d6d7 Initializing more variables in wxGrid::Create()
Minor fixes for crashes under wxMotif when setting attributes before
the grid has been first painted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 05:04:21 +00:00
Michael Bedward
b0d6ff2f7f Added more 3d rendering to row and col labels and removed sunken border style from the grid cell window so that labels and cells line up better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 03:49:52 +00:00
Michael Bedward
c6a51dcd05 A few optimizations to Refresh() calls for the grid cell area window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 03:03:52 +00:00
Michael Bedward
2e8cd9776a Implemented row and col label size functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 02:15:05 +00:00
Stefan Neis
4370c5b2de More fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-09 00:31:10 +00:00
Stefan Neis
b137db1402 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 23:48:32 +00:00
Václav Slavík
c3a1c7d272 fixed incorrect parsing of http://domain.com:portnumber/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 23:42:06 +00:00
Robin Dunn
21d734041a Fix in parse headers so it wouldn't always store an empty string
for each header value.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 21:31:29 +00:00
Guillermo Rodriguez Garcia
e0a4029251 Life! version 2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 20:04:48 +00:00
Julian Smart
bf4d9b2b9b ShowFullScreen (MSW) doc; projgen updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:25:48 +00:00
Julian Smart
c86423f922 Minor mods if any
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:22:40 +00:00
Julian Smart
b487a08f91 Added ShowFullScreen call (MSW only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:19:47 +00:00
Julian Smart
9f334beabb VC++ project file updates; minor sashwindow/splitterwindow cursor mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:18:43 +00:00
Julian Smart
3e0b743f1d Misc. fixes for obscure compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:17:00 +00:00
Julian Smart
a2327a9f80 Added ShowFullScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:14:50 +00:00
Vadim Zeitlin
72174350ae don't use ROPs for drawing the text for wxMSW compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:06:54 +00:00
Guillermo Rodriguez Garcia
c0043a5066 Changed the order in which events are checked, so that LOST events are
ignored until there are no more events pending. This is because you can
have data waiting to be read, for example, even when the peer has already
closed the connection. This affects _Wait() and OnRequest().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 18:31:07 +00:00
Vadim Zeitlin
cd6d6d5b9f added checks for Xm/Xpm headers/libs in CFLAGS/LDFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 17:44:50 +00:00
Vadim Zeitlin
51a9fabaad cache the result of socklen_t check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 17:16:31 +00:00
Vadim Zeitlin
92da8bde1b HP-UX compilation errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 16:28:55 +00:00
Bart A.M. Jourquin
ad2522ad3f add SQL_CATALOG and SQL_LOG filename variablesas extern
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 11:06:53 +00:00
Bart A.M. Jourquin
9453a61bd8 add SQL_CATALOG and SQL_LOG filename variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 11:06:07 +00:00
Michael Bedward
b93a2fe65a Fixed problem with label resize cursor not resetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 04:33:03 +00:00
Guillermo Rodriguez Garcia
fa1993cce5 M_PI is not ANSI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 02:09:54 +00:00
Vadim Zeitlin
91b4c08d6f 1. wxWizard appears in the centre of the screen by default
2. the selected brush isn't damaged any more by DrawBitmap()
3. corrected confusion between current and bg brush in DrawBitmap()
4. added wxGetColourFromUser() (to match wxGetTextFromUser() &c)
5. mem leak/crash in wxListCtrl on mode change fixed
6. wxListCtrl::Set{Fore|Back}groundColour() work as expected now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 01:08:51 +00:00
Vadim Zeitlin
11f26ea0e2 1. more test code for drawing with ROPs/masks/bg brushes in drawing
2. wxListCtrl colour setting tests added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 01:07:48 +00:00
Guillermo Rodriguez Garcia
2edc119be3 Fixed transparency problem when masked area was not black
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 23:26:29 +00:00
Sylvain Bougnoux
bd1b0b3ed1 Add ctor with shared GLCanvas ( to be gtk compliant)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 20:47:05 +00:00
Vadim Zeitlin
ec90f5e53a fix for missing AC_SUBST(SAMPLES_SUBDIRS)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 17:33:23 +00:00
Vadim Zeitlin
b089607b63 many fixed for configure for Win32 - cross-compiling should work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 17:28:48 +00:00
Vadim Zeitlin
a2a0d40dac wxLogFatalError() should abort now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:53:47 +00:00
Vadim Zeitlin
6932a32c2b trying to fix memory leak in wxListCtrl (attributes not deleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:51:39 +00:00
Vadim Zeitlin
f5ac656c5a 1. modified Makefile to copy the .bmp
2. added "change angle" to the menu, abort (and not crash) if bitmap not found


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:37:59 +00:00
Vadim Zeitlin
963863adad wxListCtrl::SortItems() clarifications, more samples docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 15:48:53 +00:00
Julian Smart
b81d8cfc81 Copied XPM files to new names to avoid conflict when compilign with VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 12:50:46 +00:00
Stefan Neis
be46e4a680 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 11:15:53 +00:00
Harco de Hilster
d17f05afeb Some fixes (&->\&, _->\_) to remove latex complaints.
Actually the whole point of this excercise was to try to make a nice pdf file
with contents tree and thumbnail pages using pdflatex, but it keeps depleting
tex's resources :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:14:56 +00:00
Bart A.M. Jourquin
96820af7cb add definition for FAR for mingwin 2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:08:09 +00:00
Bart A.M. Jourquin
57c1c6cb9b add casts + type to untyped const for GCC2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 10:07:00 +00:00
Michael Bedward
790cc4177a Fixes for problem where selection fails to start on dragging mouse in
grid cell window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 05:39:28 +00:00
Michael Bedward
9496deb586 Fixed bug in wxGrid::DrawAllGridLines that was causing crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 03:36:01 +00:00
Julian Smart
69d16e3ef8 Small changes for VC++ 4 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 21:25:27 +00:00
Robert Roebling
95bf655c50 Small modifications to listtest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 20:36:00 +00:00
Robert Roebling
227c63bac9 Reenabled deleteallitems events, marked
with RR.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 20:35:32 +00:00
Stefan Neis
cb309039b6 Minor fix in screen update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 19:51:59 +00:00
Julian Smart
457e6c54a2 Some doc corrections; Watcom C++ corrections; VC++ 4 corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 19:11:10 +00:00
Robert Roebling
46132182f0 compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 17:13:14 +00:00
Julian Smart
6f434e5041 Changed static_cast syntax not recogised by all compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 15:05:46 +00:00
Julian Smart
7a632f1056 Added rotation to wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 14:51:36 +00:00
Robert Roebling
12c1b46a2f Tried to prevent scrollbars from scrolling as
per MSW, didn't work.
  Added DeleteAllItems event and test to listctrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 13:51:01 +00:00
Julian Smart
9b1801c19c long -> wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 12:12:25 +00:00
Robert Roebling
2a23d36334 Scrolling fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 12:11:19 +00:00
Julian Smart
790ad94f70 Some BC++ 4.5 and other compile fixes; changed FAR definition to WXFAR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 11:48:14 +00:00
Ron Lee
0bd62129f6 patched DoSetClippingRegionAsRegion to update clipping state vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 09:06:54 +00:00
Stefan Neis
70c7a608b4 Optimized Refresh Area in various functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 01:58:45 +00:00
Vadim Zeitlin
81278df2b1 some minor changes in controls/image, timings added to listtest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 01:30:21 +00:00
Stefan Neis
3ccf6cd7ea long -> wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 00:21:43 +00:00
Vadim Zeitlin
412e4edfb1 tried to fix compilation for mingw32 and wxGTK/Motif in the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 00:03:26 +00:00
Julian Smart
cc56206fcd SetStatusFields type in implementation now matches header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 23:07:43 +00:00
Julian Smart
66e3334451 Ok -> OK; status bar typo/cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 20:03:40 +00:00
Guillermo Rodriguez Garcia
af07f1749c Some compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:18:28 +00:00
Guillermo Rodriguez Garcia
96d9e4df78 Reverted a change which breaks compilation for win32 - not sure on how to fix this :-?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:16:47 +00:00
Guillermo Rodriguez Garcia
608eeb0f24 Missing includes - please test without precompiled headers before committing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:15:17 +00:00
Stefan Neis
796df70a76 Added different strategy for updating grid lines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 18:04:13 +00:00
Robert Roebling
8febdd3905 Fixed status bar probs,
Compilation fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 17:56:26 +00:00
Julian Smart
658fb8e6c5 VC++ changes + makeproj additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 16:09:10 +00:00
Stefan Neis
d331afb7c8 Include Header file of base class!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 15:56:59 +00:00
Stefan Neis
8a9a9d58d9 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 14:27:37 +00:00
George Tasker
7a5214a863 Fixed a typo in a comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 14:13:41 +00:00
Julian Smart
b922ef5a1b Corrected initial m_filterIndex value (was 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 11:16:14 +00:00
Robert Roebling
473d087e56 wxWindow no longer emits any scroll events after
a programmatic change to its scrollbars.
  Reverted sense of SHIFT and CONTROL in wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 10:33:57 +00:00
Vadim Zeitlin
2531c7e393 docs for wxTimer change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 02:07:38 +00:00
Vadim Zeitlin
ed79198695 1. wxTimer change - now generates EVT_TIMER()
2. wxStatusBar reorganisation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:57:38 +00:00
Vadim Zeitlin
85401ffe5c cosemtic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:55:54 +00:00
Michael Bedward
f603012fbb Space now move active cell right if grid is not editable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:06:47 +00:00
Michael Bedward
8fb66724c6 Removed ^M chars again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:03:52 +00:00
Michael Bedward
238c4e1798 Removed erroneous EVT_SCROLLWIN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 00:26:11 +00:00
Stefan Neis
6f837e5cc0 Added #ifdef HAVE_SCHED_YIELD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 23:41:25 +00:00
Vadim Zeitlin
b63f97ea94 readding back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 20:27:31 +00:00
Vadim Zeitlin
2286341c8d new sample: statbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 20:27:10 +00:00
Vadim Zeitlin
14e40b5aac updated to reflect the current situation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 19:27:18 +00:00
Vadim Zeitlin
7c968cee84 another new version of wxStringTokenizer (with tests and docs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 18:31:26 +00:00
Julian Smart
a42b93aaad Minor doc typos removed; compilation improved for VC++ 4.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 17:08:11 +00:00
Robert Roebling
d2fdd8d2af Minor GTK fixes for wxGrid.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 17:01:47 +00:00
Vadim Zeitlin
815a62d283 fixed resize line drawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 15:17:15 +00:00
Vadim Zeitlin
f0102d2a6d fixed refresh problem due to rounding errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 14:57:09 +00:00
Robert Roebling
71fe5c01eb ROP changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 14:16:17 +00:00
Vadim Zeitlin
8712c6e799 fixed AdvanceSelection() wrapping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 13:49:12 +00:00
Michael Bedward
58dd5b3b3e Many bug fixes for display code:
- clicking outside cell area no longer causes crashes
- clicking beyond labels is now ignored
- better cell selection code
- old grid sample now works with this grid
- newlines can be entered in to cell edit control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 11:17:01 +00:00
Stefan Neis
da6af900f1 Added drag-shrinking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-04 08:41:34 +00:00
Vadim Zeitlin
2cce705aad fixed bug in handling quoted characters in value names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 17:37:53 +00:00
Stefan Neis
c3baf426f8 Added drag-shrinking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 15:14:13 +00:00
George Tasker
d62e92203d Replaced C++ comment with C comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:56:12 +00:00
Vadim Zeitlin
60ff3b9976 re-checking in files in Unix mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:30:28 +00:00
Bart A.M. Jourquin
8f0b51916e remove c++ comment in header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:17:32 +00:00
Bart A.M. Jourquin
5d8bc5d35d fix include files path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 13:07:42 +00:00
Vadim Zeitlin
170cbe33dc added WM_SYSCHAR processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 12:35:58 +00:00
Vadim Zeitlin
8ae6ce07de fixed bug with propagating wxWS_EX_VALIDATE_RECURSIVELY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 12:20:34 +00:00
Michael Bedward
b27f2615c7 Used old name SelectCell instead of new name SetCurrentCell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:18:02 +00:00
Michael Bedward
dfaf42d2e8 Added missing SetGridCursor function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 07:11:12 +00:00
Michael Bedward
f445b8537b Updated demo program to work with revised grid code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 06:07:07 +00:00
Michael Bedward
1f1ce28841 Removed cell highlighting temporarily. Now wxGrid::EnableEditing(bool)
sets the cell edit control to be editable or read-only.

Fixed row sizing problem where text was clipped in the cell edit control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 06:03:03 +00:00
Michael Bedward
2d66e025ef Major redesign of grid classes:
- wxGrid now derives from wxScrolledWindow
- Row labels, col labels, corner labels and grid cell area
  implemented as separate classes

The new design fixes the display problems (bad flicker when
scrolling) and simplifies the internal handling of grid cell
coordinates, the edit control etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-03 04:43:45 +00:00
Robin Dunn
fe366bc940 more change documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 22:43:22 +00:00
Robin Dunn
9e57c2a032 more change documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 22:38:13 +00:00
Václav Slavík
47c13eb766 added wxUSE_DEBUG_NEW_ALWAYS to --enable-mem_tracing (quite useless otherwise)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:32:15 +00:00
Václav Slavík
d13b68d233 fixed bug that caused assertion failure when printing HTML with images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:18:31 +00:00
Václav Slavík
cf471cab82 fixed memory leaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:18:02 +00:00
Václav Slavík
c7fb814ac3 fixed DeleteContents inconsistency: didn't free memory if DeleteContents called before inserting data (and creating wxList)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:17:40 +00:00
Václav Slavík
66806a0bf0 fixing memory leaks & mem tracing false alerts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 21:17:25 +00:00
Robert Roebling
2d52841d08 Clearified ROP code in wxDC (MSW and GTK).
Removed CaptureMouse() non-sense again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 20:36:55 +00:00
Guillermo Rodriguez Garcia
a3a1ceae81 Fixed bug in DoDrawRotatedText: it wasn't deleting the font when done
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 19:48:01 +00:00
Vadim Zeitlin
8771a3239e docs can be built again (thanks lacheck!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 19:30:09 +00:00
Vadim Zeitlin
7eb4e9cc0f added CentreOnScreen(), updated the docs to clear this mess a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 18:48:41 +00:00
Vadim Zeitlin
3fcdd07b5d 1. don't compile IODBC sources for MSW
2. check for gettimeofday/ftime in configure (even though we have localtime)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 18:00:30 +00:00
Robert Roebling
68df5777c7 Tried to fix corrupted display of wxTextCtrl,
Corrected wxFileDialog's multiple file option.
  Corrected event mask for CaptureMouse(),
  Small change to "best visual" code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:59:12 +00:00
Vadim Zeitlin
224ff7a50d don't show the same message twice when wxLog called from another thread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:50:56 +00:00
Vadim Zeitlin
7c66a49332 oops, typo in recently committed files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:11:36 +00:00
Vadim Zeitlin
6c68273f97 another assert added to check incorrect use of ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 17:06:50 +00:00
Vadim Zeitlin
7e99ad8621 made error message when test for GTK+ fails more detailed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 16:56:06 +00:00
Sylvain Bougnoux
8242fb3b6f Add warning if wxStopWatch is up to second resolution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 16:37:56 +00:00
Karsten Ballüder
84fba50b0c FreeBSD fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 16:09:54 +00:00
Václav Slavík
06bd2b5753 added Linux-only /proc/net/route check, IsOnline proceeds check always, not only if timer is not running, changed order of tests (/proc/net, ifconfig, connect to well-known host, ping)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 15:10:15 +00:00
Robin Dunn
990416e0bd minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 06:37:06 +00:00
Robin Dunn
3e02f5ed14 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 04:46:41 +00:00
Vadim Zeitlin
4004f41e3c 1. wxStaticBitmap now uses mask even for bitmaps (and not only icons)
2. we now catch WM_SYSKEYDOWN/UP events as well as normal ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 00:52:06 +00:00
Stefan Neis
e00a018306 Added rules using motif.t gtk.t os2.t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 00:08:20 +00:00
Stefan Neis
aa5df84fab Added auto-generated files.lst
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 23:47:11 +00:00
Stefan Neis
e48fa619a1 added os2.t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 23:43:02 +00:00
Robin Dunn
e02c03a42e some fixes and code regeneration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 21:36:20 +00:00
Robin Dunn
0c3d4bfdcf workaround font data bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 20:29:11 +00:00
Robin Dunn
a4bde64fd2 set version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 19:35:14 +00:00
Guillermo Rodriguez Garcia
f4e11bc941 Updated for new XPMlib files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:14:03 +00:00
Guillermo Rodriguez Garcia
9b97ee33d7 Updated for new XPM files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:13:20 +00:00
Guillermo Rodriguez Garcia
bfef20bf7d Added a test for saving XPMs with 'automatic' mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:12:29 +00:00
Robert Roebling
3d2b9c202d Added test for no-change in crollwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:12:20 +00:00
Guillermo Rodriguez Garcia
07dc73b114 This file was a copy of data.c and is not needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:11:48 +00:00
Guillermo Rodriguez Garcia
9853e3b7d4 Fixed XPM transparency issue for both loading and saving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:10:36 +00:00
Guillermo Rodriguez Garcia
e6ed776fb2 Updated lib to 3.4g
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 18:10:04 +00:00
Robert Roebling
103aab2664 Various corrections to makefiles, RPMs etc.
Corrected overoptimised window style and colour code.
  More best visual changes.
  Minor typos in docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:37:28 +00:00
Bart A.M. Jourquin
eb17eaba37 splitter in bin format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:05:08 +00:00
Bart A.M. Jourquin
7325fb80ae *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 16:03:48 +00:00
Bart A.M. Jourquin
9329312b60 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:54:47 +00:00
Bart A.M. Jourquin
c29658ea7d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:54:16 +00:00
Julian Smart
df61c00971 Set/GetWindowMenu added to MDI parent frame under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:48:44 +00:00
Bart A.M. Jourquin
dc8174d2a9 icons fix for unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 14:52:25 +00:00
Bart A.M. Jourquin
c45a4560f8 Add system fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 09:16:04 +00:00
Bart A.M. Jourquin
b8365facc3 fix icons in dbtree.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 09:05:34 +00:00
Vadim Zeitlin
5b615ed89b trying to make wxYield() more threads friendly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 01:46:05 +00:00
Vadim Zeitlin
0bafad0cf4 1. some fixes for the problems reported by BoundsChecker
2. filled rectangles without outline are one pixel taller/wider


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 01:22:00 +00:00
David Webster
70862fa81b VA 4.0 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:28:20 +00:00
Robin Dunn
8f06a01712 Minor additions to make working with binary buffers easier.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:22:44 +00:00
Robin Dunn
eec92d76f8 Some minor updates, fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:07:04 +00:00
Robin Dunn
9e46ac75de new tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 21:01:00 +00:00
Vadim Zeitlin
bbf8fc5391 1. bug in wxString::find_first_of() fixed
2. new wxStringTokenizer class and the docs for it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 20:46:49 +00:00
Vadim Zeitlin
54744d3ab7 compilation for Win32 using configure works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 19:16:28 +00:00
Vadim Zeitlin
f83b9a7780 added wxBase.dsp to the list of files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:42:49 +00:00
Vadim Zeitlin
53faea4316 new wxStringTokenizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:38:12 +00:00
Vadim Zeitlin
48fe83743a makefiles changes (@top_srcdir@ adjusted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:31:18 +00:00
Vadim Zeitlin
2224580a41 1. configre/makefiles changes
a) wxBase compilation/installation/dist works, added wxBase.spec
 b) list of files is include by Makefile.in, not embedded into it
 c) configure runs "subconfigures" for samples/demos/utils
2. wxTokenizer class from Gregory Pietsch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 18:26:16 +00:00
Robert Roebling
8480b297e7 Using the best visual is now an option.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 17:37:37 +00:00
Karsten Ballüder
13e3b45a89 Added the "guessed" icon path for Debian/Corel Linux with KDE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 17:31:51 +00:00
Vadim Zeitlin
f855d4cbf5 wxWS_EX_VALIDATE_RECURSIVELY set by default if parent has it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 16:25:09 +00:00
Karsten Ballüder
b9fa850da1 gtk-config now checks for gthread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 16:08:09 +00:00
Karsten Ballüder
4bdad4464e FreeBSD library naming fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 16:02:31 +00:00
George Tasker
1e92909e9a Replaced tabs and cleaned up indentations.
Replaced all the char arrays I could with wxStrings.  Should noticably reduce memory used by classes.
Fixed "for (int i=0...)" occurances


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:44:54 +00:00
George Tasker
95ca6a20b5 Removed tabs and cleaned up indentations.
Added SQL_LOG_FILENAME and SQL_CATALOG_FILENAME constants to remove embedded text filenames


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:41:28 +00:00
Bart A.M. Jourquin
8a89af527d wxString fix (c_str()) in doc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:08:03 +00:00
Bart A.M. Jourquin
b3630c4fb4 add busycursors and remove fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 15:02:05 +00:00
Bart A.M. Jourquin
13b59a33b4 suppres some warnings, suppress assert failure for fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:36:36 +00:00
Bart A.M. Jourquin
ed6e827e23 Handle Cancel button in userdlg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:22:30 +00:00
David Webster
5d33ed2c6b VA 4.0 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 14:16:05 +00:00
Bart A.M. Jourquin
c09d434d55 Userdlg uses constraints (better for wxMotif). Also added Id for cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 13:20:36 +00:00
George Tasker
3fa344e531 Fixed file names to be the 8.3 name style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 11:43:42 +00:00
Bart A.M. Jourquin
b5ce269b14 re-indent sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 10:43:24 +00:00
Bart A.M. Jourquin
0c8c86a6b0 fix Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 09:51:00 +00:00
Bart A.M. Jourquin
e60a4e0706 add makefile.b32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-31 09:30:14 +00:00
George Tasker
8122471f4f Added dbbrowse demo to the list of demos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 18:29:40 +00:00
George Tasker
a7060aacab Fixed target name to dbbrowse rather than dbrrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 18:28:26 +00:00
George Tasker
de804346e4 Added the dbbrowse demo to the demo builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 18:27:06 +00:00
Julian Smart
56b79cb98d Some but not all compile fixes for typetest (VC++ 1.5); added datetime.cpp
to 16-bit compile list; edited isql.h for 16-bit (but not right since doesn't
link)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 15:29:45 +00:00
Julian Smart
f6081a0462 Cured memory leak report in wxDateTime; wxGLCanvas corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 13:43:37 +00:00
Vadim Zeitlin
4c45f240f6 added modeless dlg test to dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 01:33:02 +00:00
Vadim Zeitlin
b6c588e1a6 wxDialog change (Show() completely rewritten, modal dialogs handling changed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 01:31:09 +00:00
Vadim Zeitlin
55c56a6d80 I think it's needed...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 22:19:48 +00:00
Guillermo Rodriguez Garcia
5ace021300 Fixed for old gnuwin32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 20:27:20 +00:00
Robert Roebling
16b52fa1b7 Disabled ODBC code by default,
Move isql.h and isqlext.h to /include/wx


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 17:52:53 +00:00
Robert Roebling
d4aa3a4b86 Line drawing correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 16:50:15 +00:00
Robert Roebling
107a178768 New line tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 14:36:21 +00:00
Vadim Zeitlin
1b6452dfc4 1. small changes to wxProgressDialog to make it more user-friendly
2. attempt to correct the disappearing focus problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 02:38:19 +00:00
Vadim Zeitlin
3fd99dfceb VC++ project for wxBase/Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 02:35:28 +00:00
Vadim Zeitlin
b9de131510 1. thread sample now uses wxProgressDialog for more "realism"
2. added a filled rect with outline to the drawing sample and
   changed DrawLine() to show how MSW draws them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 02:34:46 +00:00
Václav Slavík
70aedad68f fixed memory leak (m_PagesHash not deleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:13:12 +00:00
Václav Slavík
34153050fe switched back to old use of DrawBitmap for transparent bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:13:03 +00:00
Václav Slavík
72fc5caf06 bugfix: added wxWindowBase::OnMiddleClick declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:55 +00:00
Václav Slavík
9922de0b73 LGPL comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:45 +00:00
Václav Slavík
55746b4c58 wxHTML changelog added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:40 +00:00
Václav Slavík
4acd108caf changed meaning of Ctrl-End to be symetrical with Ctrl-Home
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-29 01:12:26 +00:00
David Webster
67b81440f0 VA 4.0 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 23:37:54 +00:00
Vadim Zeitlin
faab619a85 more files to ignore (build dirs names, tags files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:58:32 +00:00
Vadim Zeitlin
7d0bb74d2b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:56:32 +00:00
Vadim Zeitlin
7923c64946 test for log dialog with only 1 msg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:56:19 +00:00
Vadim Zeitlin
6dc6fda694 wxBase compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:54:50 +00:00
Vadim Zeitlin
a02dc3e3ff added version info hidden dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:54:04 +00:00
Vadim Zeitlin
1845dd9923 small compilation fix for !wxUSE_SOCKETS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 20:53:14 +00:00
George Tasker
b5ffecfc98 First version of the DbBrowser demo program
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-28 15:25:32 +00:00
George Tasker
0bd55cfa2c Attempting to allow WIN16 compilation of the db/dbtable classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 22:47:49 +00:00
Robert Roebling
d76fe38b29 Copied isql.h and isqlext.h to /include/wx/unix and make
it get installed.
  New code for "best_visual" under SGI and Sun.
  Typos in PostScrip code: HelvO and CourO.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 19:50:46 +00:00
Vadim Zeitlin
d71fa6fb2e wxString::find() now works again (was completely broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 16:47:57 +00:00
Bart A.M. Jourquin
c56dadd8ed IODBC fix in GetDataSource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 13:10:54 +00:00
George Tasker
579d7d1316 Fixed the GetDataSource() function so the DsDesc that is returned is the full description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 11:44:09 +00:00
Bart A.M. Jourquin
b2f60e03cc Using P.Getchar(i) instead of p[i]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 08:54:44 +00:00
Stefan Csomor
e98eb0f278 new upload / perhaps prev version was corrupted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 07:59:14 +00:00
Ove Kaaven
8ca97ad03c Added a couple of wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 03:25:23 +00:00
Václav Slavík
7517f8f540 added helpview to makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:56 +00:00
Václav Slavík
3592c01e44 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:50 +00:00
Václav Slavík
03a6a579ae compilation fix for MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:43 +00:00
Václav Slavík
5b315dd000 minor visual enhancement of help browser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:38 +00:00
Václav Slavík
50a1f26154 documented noRefresh parameter of SetScrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:32 +00:00
Václav Slavík
21f95b5254 fixed incorrect parsing of URLs like www.kde.org (should be understood as www.kde.org/)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:25 +00:00
Václav Slavík
6ecb30a36f made unzip.c accept / and \ in filenames as equal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:03:16 +00:00
Václav Slavík
5be0cf6503 implemented better paths handling: dir1/../dir2/file is replaced by dir2/file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:55 +00:00
Václav Slavík
721ab90538 inline functions with if moved to .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:44 +00:00
Václav Slavík
fc7dfaf8ee some scrolling&refreshing fixed ; removed wxHtmlWindow::OnKeyDown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:25 +00:00
Václav Slavík
69626ba928 removed wxHtmlWindow::OnKeyDown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:17 +00:00
Václav Slavík
c5d22514ae yet another help browser visual enhancement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-27 00:02:10 +00:00
Ron Lee
56dade3c4d test for disabled scroll directions in kbd handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 23:43:23 +00:00
David Webster
7818b39874 Missing datetime and the db classes!!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 23:07:22 +00:00
David Webster
46745d9394 Copmplete .icc that includes all libs that need be linked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 23:06:53 +00:00
Stefan Neis
c2517b27a8 LINKAGEMODE is defined in defs.h. No need to have the same #ifdef again -
- at least as far as I can see/test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 22:44:44 +00:00
Stefan Neis
1a787c5dc8 Changed order of #ifdefs to get native version on OS/2, even if
dlopen-wrapper is available.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 22:35:48 +00:00
David Webster
49e6314f6e New OS2 icon file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:33:31 +00:00
David Webster
34d65dd2ae New OS2 resource file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:23:51 +00:00
David Webster
22224dec5b New Visualage stuff and remove OS/2 stuff in the .rc file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:23:28 +00:00
David Webster
66b6b04535 Visualage C++ V4.0 duplicate symbol fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 21:07:57 +00:00
Robert Roebling
ff7c6c9c36 Corrected TIFF,
more drawing tests.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 19:26:02 +00:00
Vadim Zeitlin
cf27ef009f compilation of wxBase works again (PATH_IFS wasn't defined for it!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:28:16 +00:00
Stefan Neis
4c0ed91137 Found PROGRAM_EXT variable and now want to use it for OS/2, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:21:45 +00:00
Vadim Zeitlin
44141a18c3 these aren't being used any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:14:05 +00:00
Vadim Zeitlin
438e3558ad more backwards compatible kbd handling in wxScrolledWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 16:42:45 +00:00
Vadim Zeitlin
50af7fa9f2 'Details' button is now disabled if no details
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 14:31:42 +00:00
Vadim Zeitlin
92fa3a1314 quick and dirty fix for the division by 0 crash in OnKeyDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 14:20:53 +00:00
Vadim Zeitlin
d5536adedf wxDC::Blit() ignores useMask if there is no mask instead of giving an assert failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 14:08:11 +00:00
Vadim Zeitlin
4f527e7158 compilation fix for Win16
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 13:45:00 +00:00
Vadim Zeitlin
531dfa446c compilation fix for compilers without PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 13:41:59 +00:00
Guillermo Rodriguez Garcia
25ba2b89d7 URL test and some comments added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 01:54:14 +00:00
Václav Slavík
625e60c9d2 wxHtmlHelpFrame enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:43 +00:00
Václav Slavík
5656c6ef36 added wxHtmlWindow::GetOpenedAnchor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:29 +00:00
Václav Slavík
fbc899085c wxACCEL_NONE -> wxACCEL_NORMAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:16 +00:00
Václav Slavík
f9286bf5e6 changed demo data a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:11 +00:00
Václav Slavík
096824d758 sets frame title even for pages without <title> tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:50:05 +00:00
Václav Slavík
5fbc988f58 added wxHF_OPENFILES demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:58 +00:00
Václav Slavík
29e6059738 some fixes in names of cached helpbooks (does not contain # or : anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:52 +00:00
Václav Slavík
ecacdf8fc5 added new wxHF_ flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:46 +00:00
Václav Slavík
bd00574fd3 added more navigation controls to wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:40 +00:00
Václav Slavík
0646614dad added more navigation controls to html help frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:49:30 +00:00
Vadim Zeitlin
d1022fd6ba assert in GetNextItem() fixed (yes, now it is)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:19:16 +00:00
Vadim Zeitlin
13771c0847 assert in GetNextItem() fixed (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:17:21 +00:00
Vadim Zeitlin
568708e29f extended (wxMask test) and reorganized the drawing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:02:15 +00:00
Vadim Zeitlin
a58a12e9b7 1. fixed (?) blitting bitmaps with mask
2. fixed wxWindowBase compilation (oops)
3. fixed kbd handling in wxScrolledWindow under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 00:01:27 +00:00
Vadim Zeitlin
d80cd92ae2 1. kbd interface for wxScrolledWindow
2. wxWindow::Set/GetExtraStyle()
3. wxWS_EX_VALIDATE_RECURSIVELY added and implemented
4. docs updated to reflect (2) an (3)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 19:59:41 +00:00
Ron Lee
d24905b5e4 fixed _T typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 18:49:24 +00:00
Vadim Zeitlin
9376d86ede __GNUWIN32_OLD__ is defined if __GNUC__ is and NORLANDER_HEADERS is not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 18:23:20 +00:00
Vadim Zeitlin
8e21d9ad05 documented GetNextItem() behaviour precisely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:57:19 +00:00
Vadim Zeitlin
4786aabdbd added DrawRectangle() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:33:06 +00:00
Vadim Zeitlin
19695fbd61 fixed GetNextItem(item = -1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:26:17 +00:00
George Tasker
e70e8f4cf3 Fixed code that did not work with Postgres
Removed all tabs, and replaced with spaces accordingly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 16:18:40 +00:00
Vadim Zeitlin
176513eb42 more patches for BC++ from Ricky Gonzales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:51:26 +00:00
Vadim Zeitlin
4a539480fb missing Init() added to wxMenu(wxCallback) ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:35:55 +00:00
Julian Smart
eaeb6a3c37 Added DEVNAMES to wxPrintDialog to remember printer name; fixed wxDC::Clear
to not assert for printer DCs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 13:35:44 +00:00
Bart A.M. Jourquin
8ad6ad991c add CASTWNDPROC to call to CallWindowProc for bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 08:31:26 +00:00
Guillermo Rodriguez Garcia
31fd9b6bab Image docs updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 00:33:42 +00:00
David Webster
2a6b16e36b Added method for mimietype implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:50:28 +00:00
David Webster
006713a260 Fix for VisualAge; Init can't be before it is called in VA.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:48:07 +00:00
Robert Roebling
11e654da9c Added datetime.inl to filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 22:15:43 +00:00
Julian Smart
ae77fce66c Added WS_VSCROLL and WSHSCROLL styles again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 21:53:19 +00:00
Guillermo Rodriguez Garcia
e5a2291ac7 Updated some bits in socket docs.
Documented socket samples
Moved wxInitAllImageHandlers from 'file functions' (?) to 'misc functions'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:46:54 +00:00
Vadim Zeitlin
3c1a88d8b8 several mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:19:39 +00:00
Vadim Zeitlin
c857185ce0 value of wxTE_PASSWORD changed to be different from wxCANCEL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:19:07 +00:00
Vadim Zeitlin
d2f5093319 implementation of wxGetPasswordFromUser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 20:18:03 +00:00
Vadim Zeitlin
a294c6d53e added wxGetPasswordFromUser(), dialogs sample shows it, documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 18:26:54 +00:00
Vadim Zeitlin
88e243b29f warnings/linking fixes for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 17:53:44 +00:00
Vadim Zeitlin
069d0f27ef 2 warnings from Solaris build log fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 17:04:44 +00:00
Vadim Zeitlin
b97fa7cfd1 modifications to show non monochrome masks in action
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 16:46:40 +00:00
Vadim Zeitlin
c3a4297caf excluded geometry.cpp from build by using #if wxUSE_GEOMETRY which is never
defined to be 1 (so far)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 16:22:11 +00:00
Vadim Zeitlin
de2d2cdc86 patches for wxSTIPPLE_MASK_OPAQUE from Klass Holwerda
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:58:33 +00:00
Vadim Zeitlin
bf3dab485a some fixes from the SGI build log
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:47:21 +00:00
Václav Slavík
b19d5e569e fixed false error report with helpfiles without index
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:38:42 +00:00
Václav Slavík
446f8f2aad documented wxACCEL_ALT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:38:34 +00:00
Vadim Zeitlin
b24e8265ed patches for XPM/TIFF compilation with BC++ from Ricky Gonzales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:37:24 +00:00
Vadim Zeitlin
af7c105256 refresh after sort - patch from Ricky Gonzales
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 15:36:17 +00:00
Jouk Jansen
f49676ee8c Committing in .
Update VMS makefiles

 Modified Files:
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/unix/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:58:36 +00:00
Robert Roebling
55dfa8d3ea Applied some of the SGI fixes. Don't know about the
toolbar one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:27:37 +00:00
Robert Roebling
510fc784c0 Added geometry.cpp and made it compile,
Added empty dndcmn.cpp to avoid GNU link warnings,
  Fixed problem with event.Skip() in new tab code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 13:13:41 +00:00
Julian Smart
6b82d89473 Corrected font calculation (use screen resolution now); and check for mask in m_image.cpp
or get assert in DoBlit


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 12:24:57 +00:00
Robert Roebling
0f42a87192 Corrected spinbutton events and made them vetoable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 10:47:55 +00:00
Guillermo Rodriguez Garcia
5333ab8e8e Compilation fix for mingw32 - will this break cygwin?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 01:54:54 +00:00
Vadim Zeitlin
3e2dd3db30 small tests added here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-24 00:15:26 +00:00
Vadim Zeitlin
8614c46755 1. '\n's in tooltip messages are handled (replaced by spaces anyhow, tooltip
made multiline if comctl32 supports it)
2. added wxTAB_TRAVERSAL to default wxScrolledWindow style
3. improved arrows handling in radiobox (still problems for multirow ones)
4. [Alt]-<mnemonic> works in nested panels as well now because we use
   WS_EX_CONTROLPARENT for all windows with wxTAB_TRAVERSAL style
5. tooltips for radioboxes work again, even if I'm not really satisfied with
   solution :-( but I spent 2 hours trying to make TTM_WINDOWFROMPOINT handler
   work and I don't have more time to waste on this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 23:23:46 +00:00
Václav Slavík
ae80f83724 moved bookmarks to Contents panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 21:47:51 +00:00
Václav Slavík
f3c8285953 added wxLogError/Warning into wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 21:47:41 +00:00
Stefan Neis
b662c13583 Added GAddress_INET_SetAnyAddress and dummy UNIX address handling.
Anyway, GSocket_GUI_Init/Destroy, GSocket_Enable/Disable_Events and
        GSocket_Install/Uninstall_Callback are still missing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 19:17:56 +00:00
Stefan Neis
0292142ee8 Added @PROGRAM_EXT@ as apropriate (hopefully ;-) ).
Give 'make clean' a chance to actually do something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 18:33:10 +00:00
Stefan Neis
521ccc1bc6 Added #define for soclose on EMX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 18:14:43 +00:00
Stefan Neis
eca370a9cf Integrated recent API-change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 17:54:14 +00:00
Stefan Neis
545f9e3c7c Added #pragma implementation for gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 17:51:48 +00:00
Robert Roebling
4ee1741f75 Fixed small bug in tab code WRT to having only
a single control in a panel.
  sliders now have keyboard handling.
  Missing headers for install (memconf.h and geometry.h).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 17:09:48 +00:00
Václav Slavík
7502bdff47 fixed broken GIFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 16:25:47 +00:00
Václav Slavík
2f3eae6a19 fixed broken GIFs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 16:24:54 +00:00
Robert Roebling
8253c7fda1 tabbing in controls sample works again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:51:36 +00:00
Stefan Neis
a4372af60a Added more '#pragma implementation' for gcc.
Replaced wxString[0u] by wxString[(size_t) 0]: size_t is signed for EMX,
        so explicitly using '0u' causes problems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:39:55 +00:00
Stefan Neis
2b75c8f219 Added fontenum/fontutil and mimetype for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 15:00:57 +00:00
Julian Smart
e0eedd6818 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 10:22:09 +00:00
Vadim Zeitlin
d9506e7758 1. wxMSW::wxNotebook::SetPageSize() and SetPadding() added
2. wxNavigationKeyEvent changes:
 a) doesn't derive from wxCommandEvent any more
 b) has a new ShouldPropagate() accessor
 c) wxPanel::OnNavigationKey() changed significantly, beware


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 03:05:24 +00:00
Václav Slavík
4c30035625 probably forgot to commit mimetype split to this file?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:10:17 +00:00
Václav Slavík
78316bbe35 added intelligent scaling of icons -- cutting empty borders so that the icon is not too small
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:30 +00:00
Václav Slavík
cc638fc6ad added WXMAC default font sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:23 +00:00
Václav Slavík
4d2976ad6b added wxFileType::GetMimeTypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:17 +00:00
Václav Slavík
2faa3a6b3f removed call to win32 api ::SetMapMode -- hopefully not longer neccessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:02:09 +00:00
Vadim Zeitlin
1d910ac1fc 1. added wxMemoryConfig (private) class
2. some minor tweaks to config usage in wxFontMapper


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 23:15:52 +00:00
Robert Roebling
e680a37841 Various makefile corrections,
Minor beatifications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 22:47:30 +00:00
Stefan Neis
bfdc8d1870 Fixed fixups to allow EMX to compile again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 22:26:10 +00:00
Vadim Zeitlin
8f80ec1acf another image used by the image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 21:50:10 +00:00
Ron Lee
e0f15f4ac0 added missing include dcmemory.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 18:13:27 +00:00
Ron Lee
f02b73c46c added missing include for wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 18:10:46 +00:00
Robert Roebling
88413fec06 Changes for next snapshot.
Added new thumb track event for thumb release.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 18:02:20 +00:00
Ron Lee
475f6e7ae8 added dcmemory.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 17:50:57 +00:00
Stefan Neis
6fdbbb0073 SN: Replace a __WXPM__ by __OS2__ in #if deciding whether to use Unix-
or DOS-like version of mkdir.
        EMX (which doesn't define __OS2__) wants Unix-like version!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 14:24:46 +00:00
Stefan Neis
5c3beb8ee5 SN: Replaced __WXOS2__ by __WXPM__ in #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 14:18:30 +00:00
Václav Slavík
7337790c27 added demo of wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:33 +00:00
Václav Slavík
0d09b61a50 fixed bug in reference to tnoneng.tex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:22 +00:00
Václav Slavík
be0a33fbc0 added GNOME mimeinfo parsing & some fixes for non-XPM icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:13 +00:00
Václav Slavík
26065a88bb added test for correctly created wxIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:55:03 +00:00
Václav Slavík
087c0d5ebb updated documentation about default type in wxImage ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:54:55 +00:00
Robert Roebling
ea451729db Fixed wxListCtrl::GetNextItem()
Fixed bug in handling wxLC_NO_HEADER,
  Moved logmessage stuff out of idle_recursion protection so
    that log dialogs get idle events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 11:14:22 +00:00
Vadim Zeitlin
29e7e51a4d 1. added some test code (currently disabled) to controls
2. removed test code (oops...) from minimal


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 01:45:24 +00:00
Vadim Zeitlin
00c4e8974d I think I finally fixed activation behaviour under MSW - now focus is not given
to random window after you switch to/from a frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 01:44:16 +00:00
Václav Slavík
54cd433261 finished non-Eng overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:58:18 +00:00
Vadim Zeitlin
89894079c0 warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:56:05 +00:00
David Webster
708795b5e7 Adds mimietype.h to OS/2 port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:21:42 +00:00
Vadim Zeitlin
9f72a1d803 a new bitmap for the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:21:15 +00:00
David Webster
4ca0f293bf Updates to fix EMX specific stuff that broke VisualAge specific stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:20:46 +00:00
David Webster
1cd04aa2e1 Updates to fix an error that cropped up putting EMX stuff into gsocket and a new makefile for VA V3.0 to inldue new mime stuff and plot module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:19:55 +00:00
David Webster
e1c8c2f806 Fix to include the OS/2 version of mimetype.h, not unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:18:23 +00:00
David Webster
4c5b61be53 New VA config file for new plot and mimetype modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 22:17:35 +00:00
Vadim Zeitlin
cfd885695e BC++ compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:51:51 +00:00
Vadim Zeitlin
bea5687993 tests for XPM images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:40:10 +00:00
Vadim Zeitlin
4b7f216556 1. fixed (to test) the bug with bitmaps without masks in wxImageList
2. reorganized wxImageList a bit, created a new wxInvertMask() function
3. an incredibly ugly fix (?) for "unsatisfied constraints" warnings
4. added wxIcon and wxBitmap ctors from XPM
5. XPM handler now creates bitmaps with mask
6. added wxPrinterDC::BitBlt() and DrawBitmap(), cleared the horrible mess in
   the wxDC methods with the same names


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:38:51 +00:00
Julian Smart
30b5fc118f Misc. Dialog Editor/resource bugs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 17:01:44 +00:00
Bart A.M. Jourquin
1b7274a8c0 new 'dynamic' SetColDefs fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 10:52:04 +00:00
Bart A.M. Jourquin
a46dafc834 adding search path for iodbc headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 09:14:22 +00:00
Bart A.M. Jourquin
23d056faac adding case sensitive link (/c) flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 09:13:46 +00:00
Guillermo Rodriguez Garcia
8727a1fe6f Some things added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 05:56:25 +00:00
Guillermo Rodriguez Garcia
8ca2f11cf3 msgdlg.h missing - please try compiling without precompiled headers before commiting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 04:22:00 +00:00
Guillermo Rodriguez Garcia
ec78053243 Some docs updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:17:54 +00:00
Guillermo Rodriguez Garcia
6097c3a28a Socket sample:
- Test 3 added to test large transfers involving multiple low level calls.
- Stub for datagram socket tests (not yet in place)

IPC sample:
- Client no longer needs to use GetHostName for DDE and LocalHost for IPC;
now it can just use GetHostName for both (because now the IPC server binds to
INADDR_ANY instead of binding to localhost).
- Fixed once again another warning about wxString objects that can't be
passed through '...'


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:16:02 +00:00
Guillermo Rodriguez Garcia
636c47a794 GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
    and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
    sets the address to INADDR_NONE.

wxSocket:
- Added some safety checks to the wxPostEvent stuff.

wxIPV4address:
- Added a wxIPV4address::AnyAddress method.

wxIPCConnection and co.:
- Servers bind to INADDR_ANY, instead of binding to localhost.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:59 +00:00
Guillermo Rodriguez Garcia
d3ea65274f GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
    and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
    sets the address to INADDR_NONE.

wxSocket:
- Added some safety checks to the wxPostEvent stuff.

wxIPV4address:
- Added a wxIPV4address::AnyAddress method.

wxIPCConnection and co.:
- Servers binds to INADDR_ANY, instead of binding to localhost.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:01 +00:00
Guillermo Rodriguez Garcia
9bf10d6bd3 GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
    and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
    sets the address to INADDR_NONE.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:10:42 +00:00
Vadim Zeitlin
d93c719ac0 1. some DDE tests in exec
2. per-page images test in wizard
3. wxLog dialog test in dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:31:49 +00:00
Vadim Zeitlin
f1df09276c 1. wxWizard supports setting images for each page, sample updated to show it
2. wxLogGui now uses a special dialog instead of a wxMsgBox
3. wxComboBox doesn't limit the text to its size under MSW
4. removed windows.h from dummy.cpp because I think it's unneeded


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 02:26:25 +00:00
Vadim Zeitlin
cded6e3c28 restored windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 23:07:29 +00:00
Vadim Zeitlin
8a84f3a05c oops... extra #endif removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:57:30 +00:00
Vadim Zeitlin
f608bc673f 'FAR redefined' warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:49:23 +00:00
Vadim Zeitlin
634d3cc8d8 added test for _WIN32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:36:48 +00:00
Vadim Zeitlin
7af206c1c4 added wxMenuITemBase copy ctor decl apparently needed under FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 22:34:48 +00:00
Robert Roebling
d3a809c7dc More life in wxPlot.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 18:09:59 +00:00
George Tasker
e15421ad3b ::bindInsertParams() was leaving some column bindings uninitialized if the column was set to insAllow=FALSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 15:21:27 +00:00
George Tasker
aeb040bfaf Comment associated with wxODBC_FWD_ONLY_CURSORS modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:28:58 +00:00
George Tasker
28459a0d28 Commented out the #include of <windows.h> as it should not be needed any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:43 +00:00
Robert Roebling
846e1424e2 A no-change for scroll events.
Added y-axis to wxPlot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:16:18 +00:00
George Tasker
30a6d2d264 Uses src/iodbc headers rather than windows headers to hopefully standardize across all platforms, and relieve dependency on <windows.h>
Now allows reading of unknown data table structures to create wxTable instances without knowing the data dictionary ahead of time (see wxColInf() class and use)
Ability to determine keys/foreign keys and read in those key definitions (see wxColFor() and wxDB::GetKeyFields() contributed by Mark Johnson)
More support for mySQL, now handles columns with "non-standard" types (contributed by Bart Jourquin)
SQLUnbind() was being called in some places which release ALL tables bound to the wxDB connection, not just the desired one
To fix the SQLUnbind() problem, now temporary datasource connections use GetData() rather than binding columns to variables (see wxDB::Catalog())
wxDB::Catalog() now handles databases that support, and do not support passing a UserID to limit the scope of the catalog
wxDB:TableExists() now handles databases that support, and do not support passing a UserID to limit the scope of existence check
"const char *" now used in the appropriate places rather than "char *"
GetDataSource() was not terminating the returned data source names with a '\0'
wxTable::Open() now more gracefully handles tables not existing but trying to be opened with more detailed error messages
wxTable::CreateTable() now handles return of SQL_SUCCESS_WITH_INFO as success (needed for some databases)
Fixes to accomodate 64bit archtecture handling of some data types (may not be totally ready for 64bit, but closer now).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:15:44 +00:00
George Tasker
67e9aaa3c9 Uses src/iodbc headers rather than windows headers to hopefully standardize across all platforms, and relieve dependency on <windows.h>
Now allows reading of unknown data table structures to create wxTable instances without knowing the data dictionary ahead of time (see wxColInf() class and use)
Ability to determine keys/foreign keys and read in those key definitions (see wxColFor() and wxDB::GetKeyFields() contributed by Mark Johnson)
More support for mySQL, now handles columns with "non-standard" types (contributed by Bart Jourquin)
SQLUnbind() was being called in some places which release ALL tables bound to the wxDB connection, not just the desired one
To fix the SQLUnbind() problem, now temporary datasource connections use GetData() rather than binding columns to variables (see wxDB::Catalog())
wxDB::Catalog() now handles databases that support, and do not support passing a UserID to limit the scope of the catalog
wxDB:TableExists() now handles databases that support, and do not support passing a UserID to limit the scope of existence check
"const char *" now used in the appropriate places rather than "char *"
GetDataSource() was not terminating the returned data source names with a '\0'
wxTable::Open() now more gracefully handles tables not existing but trying to be opened with more detailed error messages
wxTable::CreateTable() now handles return of SQL_SUCCESS_WITH_INFO as success (needed for some databases)
Fixes to accomodate 64bit archtecture handling of some data types (may not be totally ready for 64bit, but closer now).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:00:47 +00:00
George Tasker
5d3cc7856f Tweeked to use SQLHWND as a type rather than HWND, so that db/dbtable can use iodbc rather than #include <windows.h> and its overhead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 13:19:20 +00:00
Vadim Zeitlin
6e7ce6246c (run-time) fix for !wxUSE_IPC build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 00:07:31 +00:00
Vadim Zeitlin
0765adca2b XBM loading finally works (thanks Guillermo)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:53:18 +00:00
Václav Slavík
7ddef9ed7a added link to Writing non-E apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:07:29 +00:00
Václav Slavík
9005a56e5e added Writing non-English applications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:07:23 +00:00
Václav Slavík
76b566d03f documented Charset= in hhp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:07:06 +00:00
Václav Slavík
737255678c rewritten to use wxTheMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:59 +00:00
Václav Slavík
d2a190fe37 documented existence of wxTheMimeTypesManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:35 +00:00
Václav Slavík
fbd278540e documented macros *_EXPORTED_ARRAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:28 +00:00
Václav Slavík
af1ed0c107 fixed SetLink (if link.Href is empty, nulls the link
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:17 +00:00
Václav Slavík
ecf23aa626 split mimetype.h/.cpp into platform specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:06:11 +00:00
Václav Slavík
065eb1427a dialog for choosing charset was too wide
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:46 +00:00
Václav Slavík
047640f231 uses wxInitAllImageHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:39 +00:00
Václav Slavík
f890e2d474 added encoding support to help contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:31 +00:00
Václav Slavík
5d541a0366 mimetype.cpp/.h split into unix,max,msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:05:17 +00:00
Václav Slavík
d572bb7513 added utils/hhp2cached
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:04:33 +00:00
Václav Slavík
7dc3cc31af mimetype.cpp/.h split into unix,mac,msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:03:53 +00:00
Václav Slavík
68263f63e5 fixed compilation problem with BC (at least I hope so)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:02:04 +00:00
Václav Slavík
2ae47e3f2b fixed ReadString for wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:01:57 +00:00
Robin Dunn
8211bdcc03 After bashing my head on the desk for being so stupid I fixed the
wxFloatBar for wxGTK the extremly EASY way...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 22:09:38 +00:00
Guillermo Rodriguez Garcia
a4625b8c3b Updated docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 19:32:07 +00:00
Sylvain Bougnoux
b8167e73f6 In order to make shared wxGLContext work,\nadd new wxGLCanvas ctor passing a wxGLCanvas\n instead of a wxGLContext, to share context with.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 18:41:38 +00:00
Guillermo Rodriguez Garcia
954e4e9883 makefile updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 16:43:12 +00:00
Julian Smart
583f6c5cb5 Added missing windows.h includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 10:34:43 +00:00
Bart A.M. Jourquin
56880523be adding intl.h and wxString -> char* conversion in DDEAtomFromString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 09:55:14 +00:00
Robin Dunn
8e425133fb Various odds and ends, minor fixes, and cleanups...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 06:58:56 +00:00
Václav Slavík
b854b7b82e it is now possible to add custom buttons into wxHtmlHelpFrame's toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:01:08 +00:00
Václav Slavík
6ee654e6bb added wxFSFile::GetModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:00:47 +00:00
Václav Slavík
a47ce4a764 added wxFileModificationTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 01:00:25 +00:00
Václav Slavík
95b1b9d3b3 uses SetTempDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:56 +00:00
Václav Slavík
617eb021db iso8859-1,15 and cp1252 added to Cyrillic charsets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:51 +00:00
Václav Slavík
2bdebb91be Added Open HTML page to menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:39 +00:00
Václav Slavík
2e2fd42aa7 removed protected methods from docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:33 +00:00
Václav Slavík
f35822af10 .cached format of help books is now endian-independent; also changed lookup logic for .cached files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:27 +00:00
Václav Slavík
eaf40b230e generic wxFileDialog now stores customizations to registry/dotfile if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 00:59:11 +00:00
George Tasker
039f62f431 Fixed so this file will compile if wxUSE_IPC is 0 (previous fix broke something else).
Changed _T() calls to wxT() calls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 22:54:55 +00:00
Robin Dunn
ef489f6a73 more fixes to match some updates in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 21:45:48 +00:00
Robin Dunn
c8bc03c332 fixes to match some updates in wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 21:39:41 +00:00
Vadim Zeitlin
731dd422ea 1. fixed compilation of wxExecute() for !wxUSE_IPC
2. wxLogStatus() will not assert if there is no statusbar to set text for


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 21:21:33 +00:00
Guillermo Rodriguez Garcia
feda301187 Added IsScrollng() support for scroll and scrollwin events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:26:20 +00:00
Guillermo Rodriguez Garcia
6ab6a43579 Test for IsScrolling() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:23:38 +00:00
Guillermo Rodriguez Garcia
298d19f9ad isScrolling() in wxScroll[Win]Event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 20:13:43 +00:00
George Tasker
3ee6d0a7bc Removed a couple of debug lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 19:48:06 +00:00
Julian Smart
bf027a6daa Avoided rounding errors in font point size calculations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 17:06:44 +00:00
Václav Slavík
b0c5c42156 added default icons for binary and unknown filetype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:39:50 +00:00
Václav Slavík
2173065452 icons for generic file dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:39:36 +00:00
Julian Smart
730bc726da Put Stefan's speedup fix into DoBlit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 15:38:08 +00:00
Julian Smart
a84fc80be3 Change to wxWindow::HandleCommand to allow accelerators to work even if there
is no corresponding child window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 14:22:10 +00:00
George Tasker
ff0ea71cea Changed code to allow for removal of the #include <windows.h> from wxprec.h for windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 12:29:32 +00:00
Julian Smart
15d4df3c71 Some more bug reports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 10:18:20 +00:00
Václav Slavík
0b75b49b60 m_LastPage changed to wxChar*, forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:36:10 +00:00
Václav Slavík
491ea6fa20 added justification demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:18:24 +00:00
Václav Slavík
459d420793 HTML_* -> wxHTML_* (bugs in docs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:18:17 +00:00
Václav Slavík
c26991edbb added support for align=justify
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:18:09 +00:00
Václav Slavík
8eda3cb854 added wxHTML_ALIGN_JUSTIFY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:58 +00:00
Václav Slavík
5c1bfc5da0 added align=justify support ; also removed relic: GetMaxLineWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:46 +00:00
Václav Slavík
dff873d1aa removed relic: GetMaxLineWidth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 09:17:21 +00:00
Vadim Zeitlin
5bd3a2da95 1. small fix in wxDirDialog: SHBrowseForFolder() doesn't like '/'s
2. streamlined DDE code (better error handling, range checking)
3. hack in wxExecute to allow launching DDE servers
4. changed wxTreeCtrl::m_filename scope from private to protected
5. corrected creating wxBitmaps from XBMs
6. wxListCtrl no longer sends bogus ACTIVATED events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-18 01:22:56 +00:00
Václav Slavík
052e12db71 removed show_progress argument in some private functions -- was never used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 22:12:25 +00:00
Václav Slavík
6aef9caf82 PageUp/PageDown scroll by 2/3 of client area height (was 1)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 22:11:53 +00:00
Václav Slavík
b5a7b00057 help search is much faster now (7 times! that's what I call optimization ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 22:11:44 +00:00
David Webster
57e3f9d9cc Take hard coded path out of makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 20:22:34 +00:00
Robert Roebling
981b25083e Add draft wxPlotWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 19:56:42 +00:00
Robert Roebling
cf214c358c fix for HP compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 18:14:01 +00:00
Václav Slavík
66bf55ca85 fixed BC compilation bug (line 145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:31 +00:00
Václav Slavík
74accc5015 wxHtmlHelpController can now use default wxConfig instance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:25 +00:00
Václav Slavík
566bc3285e fixed bug: UseConfig didn't call wxHtmlHelpFrame::OnConfig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:14 +00:00
Václav Slavík
3e5296e75d removed some forgotted wxLogDebug calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:19:08 +00:00
Václav Slavík
c531f73602 documented support for <meta>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:58 +00:00
Václav Slavík
5612e5243e wxConfig is used together with wxConfig::Set now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:53 +00:00
Václav Slavík
aae3ccf88d (1) fixed bug: wxFontMapper no longer creates wxConfig instance by calling wxConfig::Get, now uses wxConfig::Get(FALSE) ;; (2) changed default config path to wxWindows/FontMapper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:34 +00:00
Václav Slavík
eee786e9cb changed wxConfigBase::Get signature to wxConfigBase::Get(bool CreateOnDemand = TRUE)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 17:18:27 +00:00
Julian Smart
76a4f50db5 Makeproj.cpp corrections; wxTextCtrl resource loading font bug cured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 11:42:20 +00:00
Vadim Zeitlin
01ca9e8ea7 cleaned a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 01:37:55 +00:00
Guillermo Rodriguez Garcia
a8f0faf389 added missing headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 01:26:55 +00:00
Guillermo Rodriguez Garcia
76fdaf8c47 new makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 01:26:36 +00:00
Guillermo Rodriguez Garcia
35bc781e40 Please turn off pchs when testing!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-17 00:21:19 +00:00
Václav Slavík
076bae67da somebody added #ifdefed #pragma to disable warnings about // in c source, instead of fixing the comments, grrr. So I fixed it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:43 +00:00
Václav Slavík
27f5b0c3dc documented wxGA_SMOOTH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:34 +00:00
Václav Slavík
2686e01b0b search progress bar has smooth gauge under win95 now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:25 +00:00
Václav Slavík
d0cf484622 wxProgressDialog now accepts wxGA_SMOOTH style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:55:13 +00:00
Václav Slavík
b250d38459 added encoding conversion to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:54:49 +00:00
Václav Slavík
57f5902621 <pre> environment uses charset conversion as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:54:39 +00:00
Václav Slavík
fa146dd713 added <meta http-equiv> handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:54:32 +00:00
Václav Slavík
981e62aa85 wxHtmlFilterHTML adds fake <meta> tag so that the parser knows charset
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:53:25 +00:00
Václav Slavík
1e1d0be191 wxNativeEncoding::To/FromString now stores wxFontEncoding info as well (don't worry, wxFontMapper stores data under different name now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:53:19 +00:00
Václav Slavík
62ea506eaf changed format of wxFontMapper entries: facename_encoding instead of encoding as key
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:52:51 +00:00
Václav Slavík
139ab6fc26 added wxHTML i18n demonstration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 22:52:41 +00:00
Robert Roebling
32ab332fcc sample docu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 19:24:57 +00:00
Guilhem Lavaux
fc0200b944 Tested wxMMedia2 on Cygwin B20. It works but it needs mmsystem.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 18:49:16 +00:00
Václav Slavík
c497114770 added case sensitive and whole words only search
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 15:53:25 +00:00
Václav Slavík
b4b58c41d2 minor change in passing arguments to CreateAntialiasedBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:27:24 +00:00
Václav Slavík
a63f2bec29 fixed default button size, finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:26:01 +00:00
Václav Slavík
37b8e67987 added some utils (tex2rtf, helpgen, makegen) to make system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:25:47 +00:00
Václav Slavík
a0ff531586 fixed makefile - now compiles ALL samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:25:37 +00:00
Václav Slavík
b136d1fe86 compilation fixes (gcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 13:25:21 +00:00
Robert Roebling
1317fd5821 file dialogs now remembers the width of the
first column.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 10:39:00 +00:00
Guillermo Rodriguez Garcia
4d1951eb95 new makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 02:36:04 +00:00
Guillermo Rodriguez Garcia
ac3c6ddba2 New makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 02:35:03 +00:00
Guillermo Rodriguez Garcia
259c933b56 Replaced \ with /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:57:58 +00:00
Guillermo Rodriguez Garcia
5801c56fa9 Replaced \\ with /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:55:47 +00:00
Václav Slavík
240c2873da index search is case insensitive now; index panel indicates number of displayed items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:32:13 +00:00
Václav Slavík
0f91df4ff5 rewrote to use wxBoxSizer instead of hardcoded sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:59 +00:00
Václav Slavík
da590c59c7 compilation fix for DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:50 +00:00
Václav Slavík
cefc49fd8a file dialog now remebers list/report and hidden files settings, displays icons for all known file types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:41 +00:00
Václav Slavík
655cf3107a file dialog now remebers list/report and hidden files settings, displays icons for all known file types ; adds file extension if user did not specify one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:36 +00:00
Václav Slavík
cdf339c9de KDE support for icons and mime types finished (icons searched in more directories, parsed .kdelnk files ever for mime types - mime.types or mailcap is no sufficient)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:26 +00:00
Václav Slavík
e0c734faa5 wxFileDialog's report/list view icons changed to some visually more different
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-16 00:31:10 +00:00
Stefan Neis
4c3f56612e SN: Added dir.cpp to OS/2 sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 23:04:48 +00:00
Stefan Neis
6ef85b1b2c SN: Added first try for dir.cpp. Since the version taken from unix-directory
is POSIX-compliant, this might have a chance to work for VAC++ as
        well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:56:53 +00:00
Stefan Neis
e7b35d4252 SN: Removed use of undefined refData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:54:38 +00:00
Vadim Zeitlin
0d7ea90249 1. fixed small bug with toolbar size updates
2. fixed bug with showing message box from wxApp::OnInit()
3. fixed crash on DDE client disconnection
4. fixed wxExecute() which was broken since quite some time (hidden
   window creation problems) and in wxShell()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:36:52 +00:00
Vadim Zeitlin
4b89c61845 cleaned IPC samples a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:34:29 +00:00
Vadim Zeitlin
9ca03a57ea added test for text ctrls with the same id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:33:35 +00:00
Vadim Zeitlin
40515a2167 added demo for bitmaps of different size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:31:16 +00:00
Vadim Zeitlin
69c33c6c58 new sample - shows wxExecute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 22:16:23 +00:00
Guillermo Rodriguez Garcia
9051ae8503 No more pnghand.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:48:50 +00:00
Guillermo Rodriguez Garcia
f40dba9350 Compile fix for mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:48:30 +00:00
Guillermo Rodriguez Garcia
74b28d5cc8 Bug related to icon/bitmap conversion, fix by Mumit Khan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:45:30 +00:00
Guillermo Rodriguez Garcia
d6e4587ece renamed to makefile, instead of Makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:36:46 +00:00
Guillermo Rodriguez Garcia
76ae3c63db Fixes from Mumit Khan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 21:32:32 +00:00
Robert Roebling
5b8a521e59 Next try at avoiding too few or too many size events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 20:06:47 +00:00
Václav Slavík
4157f43f4b fixed my previous commit that broke help context/index parser :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 16:40:33 +00:00
Robert Roebling
adc1999b9c Slightly better fix for resize problems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 15:51:11 +00:00
Robert Roebling
8f75cb6c75 Fixed resize behaviour under certain circumstances.
Disabled GUI threading when using GTK < 1.2.4, better
    than crashing.
  Typos corrected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 14:48:00 +00:00
Robert Roebling
9000c6246f Typos in docs.
GetClientSize and related code now queries the size of
    the scrollbar instead of hard coding the values for
    the standard (no-theme) scrollbars.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 11:46:37 +00:00
Robert Roebling
41fbc84101 black now denotes 0 on mono-bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 10:39:27 +00:00
Julian Smart
5dd26b0839 16-bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 10:20:46 +00:00
Vadim Zeitlin
392f4b1b14 drawing mono bitmaps now uses correct colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 01:52:55 +00:00
Vadim Zeitlin
408b4168c8 inversed wxImage for the mono bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 01:52:26 +00:00
Vadim Zeitlin
b853f8981f use HWND in HandleCommand() to let buggy programs using duplicate ids for controls work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-15 00:17:06 +00:00
Stefan Neis
f61715c852 SN: Derive wxSpinButton from wxSpinButtonBase instead of wxControl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:08:42 +00:00
Stefan Neis
31bc4fa550 SN: Removed second of two declarations declaring wxMDIChildFrame friend of
wxMDIParentFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:06:22 +00:00
Stefan Neis
5b10a61949 SN: Don't include (non-existing) pmstddlg.h for EMX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:04:16 +00:00
Stefan Neis
023d13a6bc SN: Added a forward declaration of class wxOwnerDrawn (needed by gcc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 23:02:22 +00:00
Stefan Neis
86a37794ff SN: Added a 'wxDefaultValidator' where it seems to be needed after
a change to CreateControl-API


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:57:03 +00:00
Stefan Neis
9aab8b2009 SN: Fixed inlcudes for EMX, commented out lines like "cout << something;"
(If you want them in the code, please also include iostream.h).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:55:24 +00:00
Stefan Neis
0629823585 SN: Disable some features not supported by EMX (#ifndef __EMX__)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:51:34 +00:00
Stefan Neis
7a0d28d8e9 SN: Added #pragma implementation. Make it compile even if wxOwnerDrawn == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:50:09 +00:00
Stefan Neis
aa21388719 SN: Added #pragma implementation needed by GCC - expect more to come
but it seems to work right now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:45:47 +00:00
Stefan Neis
1b3d5e5566 SN: Use wxDummyChar only if __VISAGECPP__ is defined.
Changed #ifdef wxUSE_UNICODE in ~wxApp() to #if wxUSE_UNICODE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:37:39 +00:00
Stefan Neis
610c985186 SN: Added suitable includes for EMX (#ifdef'ed __EMX__),
removed include to wx/defs.h (seems to be unnecessary and
        gcc chokes on C files containing C++ features (such as 'class')


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:30:03 +00:00
Stefan Neis
4e9fd9e259 SN: Replaced more ':' in VPATH statements by PATH_IFS (to make
wxGTK/wxMotif/wxPM compile without editing generated Makefiles
        on OS/2), including a ':' in a comment, so this time this
        hopefully will not break anything.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 22:24:27 +00:00
Václav Slavík
7f071e73f2 fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:43:50 +00:00
Václav Slavík
e6ff5ac9ef just changed background color from that ugly green to something else ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:43:36 +00:00
Václav Slavík
9892d462f3 updated obsolete info in about box..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:56 +00:00
Václav Slavík
67cfebc2b6 code fragment that adds one more line to each html page for better look was moved to wxHtmlWindow so that it does not affect m_Cell->GetHeight()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:45 +00:00
Václav Slavík
fdd4d83689 updated list of supported tags (wxHTML)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:36 +00:00
Václav Slavík
60e87cb1fb optimized wxHtmlContainerCell - now proceeds layouting only when neccessary (will speed-up window resizing of pages with many constant-width tables)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:17 +00:00
Václav Slavík
5660c520d7 optimized wxHtmlContainerCell - now proceeds layouting only when neccessary (will speed-up window resizing of pages with many constant-width tables)
;; also added much larger (complete?) table of &nbsp;-like substitutions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:41:09 +00:00
Václav Slavík
50494a55ae removed a condition (l. 124) that always eval to true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:40:56 +00:00
Václav Slavík
f3bcfd9bcd wxHtmlWindow's flags is now wxHSCROLL | wxVSCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:40:41 +00:00
Václav Slavík
e7ee65ed51 added <address>, <code>, <kbd>, <samp>, <small>, <big> tags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 21:40:34 +00:00
Robert Roebling
cf3da716f6 image to bitmap rewrite,
ViewStart() renamed GetViewStart()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 20:29:01 +00:00
Guilhem Lavaux
27259273e4 Added a lot of comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 18:21:30 +00:00
Julian Smart
8caa4ed10e Further fixes to Dialog Editor; additions to .dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 17:55:49 +00:00
Robert Roebling
dfd6b52fdb Updated "make dist",
Extended scroll sub sample to demonstrate how
   wxGrid might work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 17:08:42 +00:00
Robert Roebling
4b05d97389 Typo in image sample (displayed PNM, not TIFF).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 15:35:40 +00:00
Robert Roebling
5c5ab9ebc3 TIFF fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 14:27:09 +00:00
David Webster
93759cda46 .RC file with OS/2 stuff in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 13:37:21 +00:00
Guillermo Rodriguez Garcia
d9c09c79fa Added a comment about the 'UpdateWindow' issue in SetScrollBars()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 11:45:41 +00:00
Guillermo Rodriguez Garcia
dc5c1114e1 wxSocekt now uses wxPostEvent.
Added preliminary wxDatagramSocket support (still incomplete)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 10:04:12 +00:00
Guillermo Rodriguez Garcia
58a003cea3 Mumit Khan's patches for cross compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 10:01:56 +00:00
Vadim Zeitlin
e183484e41 added the fix to autoconf hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:34:55 +00:00
Ryan Norton
451458f4c9 This commit was generated by cvs2svn to compensate for changes in r5380,
which included commits to RCS files with non-trunk default branches.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:20:46 +00:00
Vadim Zeitlin
3427517637 Initial revision
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:20:44 +00:00
Vadim Zeitlin
ae3dd4a589 1. some warnings fixed in forty
2. added test for a would-ve client data bug in wxTextCtrl
3. added support for metafiels to the dnd sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 00:17:41 +00:00
Vadim Zeitlin
d9317fd472 1. added wxEnhMetaFileXXX classes
2. fixed/added copy/paste for metafiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 23:39:48 +00:00
David Webster
02b6f53109 LINKAGEMODE under OS/2 is only applicable for VisualAge, not EMX or Watcom
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 20:31:20 +00:00
Julian Smart
f6e4e9ea30 Changed wxWindowBase foreground to use wxSystemSettings, and changed wxTextCtrl
to only be grey for single-line read-only controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 14:26:30 +00:00
Julian Smart
d1e418eaea Set RADIOBTN_PARENT_IS_RADIOBOX to 0 (sorry, but...); fixed a
Dialog Editor crash problem; made wxStaticBitmap movable again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 13:17:19 +00:00
Stefan Csomor
8208e181cb mac updates and msw bitmapdrawing on printer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 11:07:58 +00:00
Julian Smart
d47ebd1e05 Fixed read-only colour for wxTextCtrl (TODO: wxComboBox) and fixed makeproj
in line with recent sample changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 10:41:43 +00:00
Julian Smart
60fe730339 Removed ::UpdateWindow from scrolwin.cpp; corrected default extension appending;
corrected bug in dcprint.cpp that tried to access deleted memory


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 09:40:24 +00:00
Jouk Jansen
94f8abf9d3 Committing in .
Update of VMS compile support

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/src/common/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 09:03:13 +00:00
Stefan Csomor
37e2cb08cd cw pro 5.3 adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 07:58:45 +00:00
Stefan Csomor
07cdd02764 a base for geometry operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 07:58:07 +00:00
Stefan Csomor
4765d335f6 adaptions for CW Pro 5.3 on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 07:57:22 +00:00
Guillermo Rodriguez Garcia
3b322b4a1f last line missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 01:10:59 +00:00
Guillermo Rodriguez Garcia
dc8497b15c A few more fixes from Mumit Khan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 01:07:28 +00:00
Vadim Zeitlin
c5c32d72aa some compilation fixes for mingw32 and not only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 21:23:26 +00:00
Robin Dunn
5e64b2b6a1 fix for red to blue mapping in toolbar buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 20:43:09 +00:00
Julian Smart
cc42eb7afc Made filter index zero-based
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 20:02:15 +00:00
Robert Roebling
82ea63e6e0 Chnages to mono-bitmap code.
Added ConvertToMonoBitmap() to wxImage.
  Minor changes to forty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 17:57:18 +00:00
Vadim Zeitlin
9260520f90 fixed 'make install' I had broken previously
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 16:13:29 +00:00
Vadim Zeitlin
ec14dd32d8 call to tr fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 15:14:01 +00:00
Vadim Zeitlin
b3402d0df8 added wxUSE_NOTEBOOK to include/wx/msw/setup0.h, removed wxUSE_RADIOBUTTON (we
already have RADIOBTN)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 15:10:47 +00:00
Vadim Zeitlin
8535af00e2 regenerated from template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 14:56:47 +00:00
Vadim Zeitlin
eeca623edd clarification of PAGE_CHANGING event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 14:52:04 +00:00
Karsten Ballüder
c6e62f74fc compilation fix for non-threaded compilation (threads are still broken
anyway!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 11:56:30 +00:00
Václav Slavík
9bc8fded1b added wxHtmlLinkInfo::GetHtmlCell so that you know where it came from
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 08:27:07 +00:00
Guillermo Rodriguez Garcia
75515c52a4 Fixes to allow DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:19:23 +00:00
Guillermo Rodriguez Garcia
c9c436eb70 Changed \ to /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:14:13 +00:00
Guillermo Rodriguez Garcia
24e148adbe Added missing WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:13:25 +00:00
Guillermo Rodriguez Garcia
eafef53a5f Patches for DLL compilation & libtiff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 01:11:04 +00:00
Václav Slavík
0b2dadd342 added mouse event member into wxHtmlLinkInfo. wxHtmlWindow::OnLinkClicked now takes const wxHtmlLinkInfo& argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 23:30:43 +00:00
Václav Slavík
1be096c9f9 added mouse event member into wxHtmlLinkInfo. wxHtmlWindow::OnLinkClicked now takes const wxHtmlLinkInfo& argument and wxHtmlCell::OnMouseClicked takes wxMouseEvent instead of three bools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 23:30:02 +00:00
Vadim Zeitlin
0de868d9dd fixed refresh problem with holidays in wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 19:12:47 +00:00
Bart A.M. Jourquin
c2754d2903 Bug fix in GetLabelFromText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:41:42 +00:00
Bart A.M. Jourquin
8bf9e177d5 Adding GetCount() to wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:27:31 +00:00
Bart A.M. Jourquin
4a3563c542 Fix bug in GetLableFromText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:26:44 +00:00
Bart A.M. Jourquin
5692876f3b Adding GetCount() to wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 16:19:35 +00:00
Vadim Zeitlin
9856788f58 EnableTool() should be called after Realize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 14:10:24 +00:00
Vadim Zeitlin
3b59cdbfaf wxMenuItem::GetLabelFromText() added/documented, bug in wxMenu::FindItem() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 13:58:41 +00:00
George Tasker
ba2d860554 Replaced typo that had wxCALLBACK being redefined. wxSTDCALL should have been the the #define used, not wxCALLBACK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 12:56:58 +00:00
Guillermo Rodriguez Garcia
870ff2b13d Mumit Khan's fixes to allow DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 02:59:25 +00:00
George Tasker
47cb338282 No #if wxUSE_DRAG_AND_DROP around the wxMetafileDataObject class, so compilation failed if wxUSE_DRAG_AND_DROP was 0 and wxUSE_METAFILE was 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 23:58:16 +00:00
Robin Dunn
cfb76a19a4 MSW Caret is now destroyed and recreated when resized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 23:01:19 +00:00
Robin Dunn
9e0c3ef2c3 incremented version number for DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 22:59:20 +00:00
David Webster
ce64cf050d New VA 4.0 .icc file the minimal sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 19:07:10 +00:00
David Webster
f59ba38691 New wxWin.icc for monolithic build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 19:06:15 +00:00
Stefan Neis
749aa5c178 SN: WXPM wants wxUSE_OWNER_DRAWN to be defined to 1 as well.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:25:47 +00:00
Vadim Zeitlin
dad6c0ea77 fixes for 'make install' for wxBase - seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:12:43 +00:00
Stefan Neis
6c8f8bc534 SN: Fixes to OS/2 specific problems (use LEX_STEM and PATH_IFS set by configure).
SN: Added support for compiling wxPM with EMX using Unix-Makefiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:11:19 +00:00
Stefan Neis
d51e8205da SN: Several workarounds for OS/2-specific problems.
SN: "--with-pm" only allowed on OS/2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 17:07:28 +00:00
Julian Smart
1cf4526de3 Makefiles and .rsp file edited for demos/samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 16:56:55 +00:00
Vadim Zeitlin
1222db7263 wxAPIENTRY fixes (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 15:58:59 +00:00
Vadim Zeitlin
7d67275288 check for wxUSE_DYNLIB_CLASS corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 15:29:20 +00:00
Bart A.M. Jourquin
559d79aa3a #define DEBUG_MAIN_THREAD for non __WXDEBUG__ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 10:41:04 +00:00
Robin Dunn
7140577b50 Wrong Init was being called in ctor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 07:21:53 +00:00
Guillermo Rodriguez Garcia
81b92e17cd Important changes to avoid dependence on events inside wxSocket
implementation (should also ease a console only version soon)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 03:54:37 +00:00
Guillermo Rodriguez Garcia
470d5a6769 Ops, small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 01:06:50 +00:00
Guillermo Rodriguez Garcia
31e78e0cb6 Fixed from Mumit Khan to allow DLL compilation for mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 01:00:13 +00:00
Guillermo Rodriguez Garcia
6f4968e281 Fixes from Mumit Khan to allow DLL compilation; most fixes related to
missing WXDLLEXPORTs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 00:55:05 +00:00
Robert Roebling
dbefe3d8f5 Themes crash fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 16:12:35 +00:00
Guilhem Lavaux
a5f4a1bdc8 Some other mini test I used for wxmedia2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 15:13:57 +00:00
Guillermo Rodriguez Garcia
f66f0fd7b4 Add XPM handlers by default if XPM support is enabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 13:12:28 +00:00
Guillermo Rodriguez Garcia
72c0d7d70e Was using CPPFLAGS instead of CFLAGS for C files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 13:10:29 +00:00
Guillermo Rodriguez Garcia
d599bc529d Removed mingw32 fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-09 13:09:28 +00:00
Václav Slavík
6648cd46dc added IsEncodingAvailable and GetAltForEncoding extended by facename argument and added GetAltForEncoding alternative that returns only wxFontEncoding (and thus more useful for wxWin users)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 23:45:31 +00:00
Václav Slavík
6b0eebc537 add wxFontEncoding member into wxNativeEncodingInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 23:45:24 +00:00
Václav Slavík
3b61656e64 Borland #include hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 23:44:49 +00:00
Vadim Zeitlin
d3acd3697a tried to correct the colour problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 22:20:03 +00:00
Guillermo Rodriguez Garcia
2480be69b1 Split the sample in three source files + three header files, for improved
clarity. Now there is a 'life' module (main app), a 'game' module (game
logic) and a 'dialogs' module (guess what).

Also, speeded up drawing a lot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 18:27:19 +00:00
Robert Roebling
c72b150f5d Applied listbox isselected fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:53:37 +00:00
Robert Roebling
3ac8d3bc52 Themes and threads testing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:26:41 +00:00
Guillermo Rodriguez Garcia
a02b243269 ??
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:12:49 +00:00
Guillermo Rodriguez Garcia
b44d69bae3 ops. SetFocus should be public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:10:31 +00:00
Vadim Zeitlin
70f7a477cb updated configure and the makefiles after the samples move
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:07:56 +00:00
Guillermo Rodriguez Garcia
01fe050c17 ??
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:07:41 +00:00
Vadim Zeitlin
cc65fceb3c regenerate several files at once, not only one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 15:46:33 +00:00
Vadim Zeitlin
fd4fe42c52 regenerated from template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 15:38:51 +00:00
Vadim Zeitlin
70d26c3f4f renaming and moving samples around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 15:28:31 +00:00
Vadim Zeitlin
617ec45690 wxLongLongWx::Assign(double) works - thanks Guillermo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 14:26:40 +00:00
Vadim Zeitlin
64d8470859 keyword search should work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 13:59:39 +00:00
Vadim Zeitlin
2a31049201 added test mode to wxLongLongWx which allowed to find the bug in operator*=()
which was breaking wxDateTime - now seems to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 20:35:34 +00:00
Robin Dunn
95837b4d96 bug fix for OnLinkClicked callback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 19:46:28 +00:00
Guillermo Rodriguez Garcia
471ed537e4 Added limits to wxSpinCtrls, fixed one bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 18:23:33 +00:00
Guillermo Rodriguez Garcia
8bf3196d66 Fixed problem with tab traversal in wxSpinCtrl (added SetFocus())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 18:22:38 +00:00
Guillermo Rodriguez Garcia
d6707afb72 mingw32 specific compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 16:26:00 +00:00
Guillermo Rodriguez Garcia
172fde4fbe Added libxpm
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 16:23:39 +00:00
Bart A.M. Jourquin
5a2155efdb wxControl child of wxControlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 14:59:14 +00:00
Bart A.M. Jourquin
098963c350 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 14:14:03 +00:00
Bart A.M. Jourquin
1b6d97f9b8 wxFONTENUMPROC definition changed for mingwin 2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 11:06:39 +00:00
Bart A.M. Jourquin
fc3463cc7e deleting the 'validator' param in call to wxControl::Create. To be further fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 10:50:12 +00:00
Bart A.M. Jourquin
8536082d32 fix _beginthreadex problem with bcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 10:22:15 +00:00
Robin Dunn
a1df7a9526 small fixes and cleanups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 09:09:50 +00:00
Robin Dunn
87fbe61486 Trying out addition of SetSize to wxCaret...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 05:42:30 +00:00
Vadim Zeitlin
5a1c877f57 demo of clipboard support for metafiles (which still doesn't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 02:31:24 +00:00
Vadim Zeitlin
265b0c070b attempts at providing clipboard/dnd support for metafiles - unsuccessful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 02:30:29 +00:00
Guillermo Rodriguez Garcia
85ac091e8f Fixed virtual function hiding problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 19:05:02 +00:00
Robert Roebling
7e2b55cd96 Minor resize probs solved.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:40:33 +00:00
Vadim Zeitlin
6ce7355743 added --cc, cxx, ld options to wx-config
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:34:49 +00:00
Vadim Zeitlin
11b6a93b1e MSW compilation fixes for !wxUSE_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 18:23:59 +00:00
Robert Roebling
850ff48550 Themes again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 17:32:49 +00:00
Guillermo Rodriguez Garcia
c75ea1a30b typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:58:12 +00:00
Guillermo Rodriguez Garcia
07e829dc26 Removing warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:57:30 +00:00
Vadim Zeitlin
674ac8b919 1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
2. wxWindow::Create() always takes a wxValidator parameter, even if
   !wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS
   removed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:47:48 +00:00
Vadim Zeitlin
a6fc8ae3c2 corrected wxComboBox::GetBestSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:58:48 +00:00
Vadim Zeitlin
6f2a55e34a 1. more HP-UX warning fixes (almost done...)
2. added a macro WXUNUSED_UNLESS_DEBUG()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:42:32 +00:00
Vadim Zeitlin
c0f587c500 bug fixes for '\r' handling in wxTextFile::Translate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:24:37 +00:00
Julian Smart
4021952304 Some edits to OGL; tweaks to wxClipboard docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 15:09:35 +00:00
Julian Smart
ccebc98a67 BC++ IDE compile mod to thread.cpp; other small stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 10:30:12 +00:00
Guillermo Rodriguez Garcia
087e4f4a5c Lots of new features
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 10:22:00 +00:00
Guillermo Rodriguez Garcia
b178e0c71a Small change for updated wxTCPXXX classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 01:21:26 +00:00
Guillermo Rodriguez Garcia
0834112f89 Rewrote large parts of the non-DDE IPC stuff (wxTCPServer, wxTCPClient,
wxTCPConnection) to upgrade to the 'new' wxSocket code. Plenty of bugs
removed. IPC samples at samples/dde working again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 01:07:06 +00:00
Vadim Zeitlin
e612f101d3 1. added wfstream.cpp to wxBase (needed by filesys.cpp)
2. small enchancements in wxCmdLineParser (handles "help" options correctly)
3. use wxCmdLineParser in makegen


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 18:10:06 +00:00
Vadim Zeitlin
2a36259f27 added cmdline.h/.cpp to the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:19:29 +00:00
Vadim Zeitlin
caa2c79b45 -fpermissive is now returned by wx-config -cflags if the library was compiled
with it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:11:09 +00:00
Vadim Zeitlin
1e245dc267 test for date parameters to wxCmdLineParser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:00:26 +00:00
Vadim Zeitlin
2822ee33cc more bug fixes: options with values and compound options seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 17:00:05 +00:00
Vadim Zeitlin
fd9f9f4c4b ParseDate() understands tomorrow and yesterday as well as today
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 16:59:31 +00:00
Vadim Zeitlin
3ce65f6c9b more stream-like insertion operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 16:38:12 +00:00
Vadim Zeitlin
479cd5de40 more fixes to compilation warnings from HP-UX build log. About 30% more to go
<sigh>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:35:04 +00:00
Julian Smart
88195b2b70 Added contributed speedup of ConvertToBitmap under Motif, for 8-bit images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:29:56 +00:00
Vadim Zeitlin
25e3a937db bug with incorrect & test fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:17:29 +00:00
Vadim Zeitlin
96fa7876bf unreachable code warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:17:08 +00:00
Vadim Zeitlin
5fc7ede910 wxRegion should work with wxCoord, not long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:16:57 +00:00
Robert Roebling
0f2f4986cb Corrceted background problem with themes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:02:28 +00:00
David Webster
a5569657a0 General fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 14:07:15 +00:00
Julian Smart
d455cb5f83 Added RC file needed by makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 13:56:51 +00:00
Vadim Zeitlin
7281ab041c include "module.h"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 13:22:46 +00:00
Robin Dunn
b7e7242718 wxFloatbar fixes
other odds and ends


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 04:58:23 +00:00
Robin Dunn
82dd98a702 Fixed a bug so the toggle flag is set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 04:51:14 +00:00
Vadim Zeitlin
4f40f5e370 small bug fix for composite options
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 02:46:45 +00:00
Vadim Zeitlin
d34bce842b wxCmdLineParser tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 02:42:22 +00:00
Vadim Zeitlin
9f83044fb8 1. compilation fixes for TB_REPLACEBITMAP and FONTENUMPROC
2. added wxCmdLineParser class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 02:41:18 +00:00
Robert Roebling
e6527f9dd4 Removed crashes when not using themes.
Removed much flicker form tree ctrl and list ctrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 22:56:58 +00:00
Robert Roebling
64d78265d0 EXTRA_LIBS vs. EXTRALIBS change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 20:14:54 +00:00
Robert Roebling
238ddd26bd Doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 19:41:25 +00:00
David Webster
e04221b6d0 Added Calctrl.cpp to sources list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 18:19:34 +00:00
Robin Dunn
2d96836946 Fixed a bug that caused a crash on startup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 18:00:43 +00:00
Robin Dunn
ecbdd409e1 fixed a compilation error for VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:53:52 +00:00
Robert Roebling
04165bec2c Compilation fix,
wxGTK requires GTK 1.2.3.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:20:21 +00:00
David Webster
3d62dcb6b5 Updated OS/2 sources with fixes to wxControl and wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 17:15:34 +00:00
Vadim Zeitlin
e47c4d4874 wxMSW compilation fixes for old mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 16:35:55 +00:00
Guillermo Rodriguez Garcia
ce96b7a010 Corrected problem related to wxSIZE_ALLOW_MINUS_ONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 16:18:44 +00:00
Robert Roebling
d3e90957cf Update bug in wxListCtrl,
Y2000 bug in wxFileDialog (sic).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 15:32:14 +00:00
David Webster
98959adb03 needed a check for wxUSE_VALIDATORS in the wxListCtrl::Create proc when calling the parent class, wxControl::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 15:14:09 +00:00
Jouk Jansen
1696c17801 Committing in .
Patches for VMS
 Temporarily patch to get the IMAGE sample compiled in MOTIF-mode
  N.B. GetSubImage still gives rubish

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/motif/bitmap.h
 	wxWindows/src/common/datetime.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/motif/bitmap.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 15:02:12 +00:00
Vadim Zeitlin
f8c0354763 wxSIZE_ALLOW_MINUS_ONE handling corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 14:53:13 +00:00
Robert Roebling
c79853685d Correct deafult GUI font is now found when querying
wxSystemSetting. Hack.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 14:34:03 +00:00
David Webster
27e2ed8185 Added Calctrl.obj to generic build list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:41:55 +00:00
David Webster
f21a7f94fc Add some "USE" defs that were missing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:35:23 +00:00
Robert Roebling
db434467a1 New colour, font, theme and size code..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 13:02:27 +00:00
Guillermo Rodriguez Garcia
bf9b671186 Some typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 11:54:57 +00:00
Vadim Zeitlin
31405c014d added test of bg colour in the tree sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:56:41 +00:00
Vadim Zeitlin
bb44855297 1. wxTreeCtrl::SetBackgroundColour() works (with new comctl32 anyhow)
2. wxToolTip should work with old comctl32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:38:57 +00:00
David Webster
398b582f36 Visualage C++ V4.0 has a native long long data type.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:32:03 +00:00
David Webster
16ee521a22 VisualAge C++ V4.0 fixups, can't differentiate between time_t and double???
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:31:12 +00:00
Ove Kaaven
7ab9bf9f2d BC++ 5.x also supports _beginthreadex and _endthreadex
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:21:50 +00:00
Guillermo Rodriguez Garcia
a36f0f8345 Some little changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 22:45:07 +00:00
Ove Kaaven
ef8b2d9165 Better make it a const reference then.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 20:00:44 +00:00
Ove Kaaven
571f8dae5e Make wxColour parameter be passed by reference to inline method,
so it can be inlined by BC++.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:57:59 +00:00
Ove Kaaven
380d9d6297 Cast both operands of ?: to (wxControl*) so BC++ compiles it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:31:02 +00:00
Robin Dunn
f2a497dcf9 Made wxEditor constructor args consistent with other window classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:30:51 +00:00
Ove Kaaven
46f9bb9475 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 19:15:43 +00:00
Ove Kaaven
0413cec527 Unicode compilation fixes for BC++ 5
(BC++ 5 mostly doesn't cope with the wxString == char* operation)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:58:57 +00:00
Ove Kaaven
08298395b2 Those wxTRACE_* string constants appears to need wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:53:10 +00:00
David Webster
eda22ec3a2 Need LINKAGEMODE for Visualage C++ compiles on the static global procs at the top
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:52:29 +00:00
Ove Kaaven
5d368213ca Halved DEFAULT_ITEM_WIDTH so default sizes resembles wxGTK better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:51:22 +00:00
Ove Kaaven
a8ee71c702 BC++ 5 does not have Unicode version of GetProcAddress.
Giving it a plain ASCII string in an #if


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:48:02 +00:00
Ove Kaaven
0e89bb17e8 Another Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:44:32 +00:00
Robert Roebling
4a0c68a70b Distrib things.
Readded resource support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:41:14 +00:00
David Webster
5747aa84c1 Updated config files for VisualAge C++ V4.0 to include new sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:26:07 +00:00
David Webster
aa2097dda2 Fixes to get library to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:25:26 +00:00
David Webster
d8cde57b83 Two new font implementations for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:24:58 +00:00
David Webster
55cca86849 small updates for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:24:10 +00:00
David Webster
b8f72dedd3 no enums with commas past last element, please
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:22:51 +00:00
Vadim Zeitlin
bc385ba9eb 1. corrections for compilation of the wxBase apps with wxApp
2. wxCAL_NO_MONTH/YEAR_CHANGE styles implemented, cosmetic corrections
3. attempt at BC++ compilation fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:51:24 +00:00
Robert Roebling
44762a6a87 Forgot these.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:13:01 +00:00
Robert Roebling
1e8d2f694e Distrib things,
Fixed typo in wxCheckListBox.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 17:11:48 +00:00
Václav Slavík
7e949b437c now grabs encoding info not from but from '' (empty string) -- default po header (mo catalog must be, of course, contain the header)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:27:24 +00:00
Václav Slavík
94fc5183e9 Borland #include hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:27:17 +00:00
Guillermo Rodriguez Garcia
6e7cdb7696 Add default size for slider
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 14:10:36 +00:00
Robert Roebling
b919f007af Corrected some things in, and some thing revealed by
the Life! sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:45:20 +00:00
Vadim Zeitlin
6809ee4b8e makegen program for makefile generation for the samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:45:00 +00:00
Vadim Zeitlin
273b7ed9d0 makefile for the calendar sample as generated by makegen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 13:36:21 +00:00
Robert Roebling
33720b2de5 Corrected spin control, which ignored hand typed text.
Corrceted GetBestSize() etc of static text (displayed
    in tip dialog and elsewhere).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 11:42:49 +00:00
Vadim Zeitlin
312cd9e93d O_BINARY added to wxFile::Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 10:32:19 +00:00
Guillermo Rodriguez Garcia
1bdda41cff bmps and ico added as binaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 09:05:38 +00:00
Guillermo Rodriguez Garcia
faad32e5ab ups; must add as binary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 09:04:53 +00:00
Guillermo Rodriguez Garcia
5a1dca125f Life!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 08:56:57 +00:00
Ove Kaaven
cbf97a6cd6 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:24:26 +00:00
Ove Kaaven
e9fa75816c Split "?:" into "if" statement for assignment of converted buffers,
so Borland C++ 5 accepts compiling it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:23:42 +00:00
Ove Kaaven
5b73520279 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:20:03 +00:00
Ove Kaaven
f37736559d Make this compile in Unicode mode under Borland C++ 5.02
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:19:07 +00:00
Ove Kaaven
f5166ed458 Unicode compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 02:14:45 +00:00
Václav Slavík
15b83243e8 refreshed makefiles to be in sync with filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:32:08 +00:00
Vadim Zeitlin
74a533f7e9 moved wxCalendarCtrl code from control sample to a new one - calendar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:21:51 +00:00
Vadim Zeitlin
4f6aed9c6a 1. wxDateTimeHolidayAuthority class for calculating the holidays added
2. wxCalendarCtrl adjustments and some new features


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 23:17:55 +00:00
Robert Roebling
c88275cb7d Documented wxMutexGuiEnter etc and thread sample.
Also found out that you cannot create top-level windows
    in a GUI thread other than the main one. No idea why.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 21:52:18 +00:00
Václav Slavík
548cadfd42 added encconv.h -- I forgot to do so, sorry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:38 +00:00
Václav Slavík
afc94fa6b4 wxLocale now uses wxEncodingConverter (must be explicitly enabled)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:30 +00:00
Václav Slavík
82545b58f4 wxFontMapper now cooperates with wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:15 +00:00
Václav Slavík
47e55c2f11 added wxEncodingConverter::Convert(char*,wxChar*) and variants ; filled equivalence tables ; GetAllEquivalents now returns semi-sorted array (platfrom equivs, then rest of world)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:09 +00:00
Václav Slavík
5b5d025c1d added wxEncodingConverter::Convert(char*,wxChar*) and variants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 19:51:04 +00:00
Karsten Ballüder
24e1f1ca21 linux fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 18:45:14 +00:00
Robert Roebling
cddfbd9f55 Some more samples documented etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 18:13:45 +00:00
Robert Roebling
07f5b19a15 wxSpinCtrl no longer emits event when changed programmatically.
Some GUI thread things and tests,
  Change for borders around cmposite controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 16:25:28 +00:00
Václav Slavík
169267e61f fixed typo wxUSE_ENCODING shuold be wxUSE_UNICODE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 14:11:49 +00:00
Robin Dunn
f0b0b7d4b8 Fixes to avoid an endless event looping for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:26:21 +00:00
Robin Dunn
f4abae9cd7 SWIG code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-02 05:24:06 +00:00
Robert Roebling
0279e84482 Some Resize/GetBestSize() changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 23:21:04 +00:00
Václav Slavík
f22e0c3c3f wxFileSystem now compiles if wxUSE_HTML (required by wxHTML)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 16:43:54 +00:00
Julian Smart
b40b0f5b20 Updated wxvc_dll.dsp and memory.h to make VC++ compile in DLL mode again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 12:24:35 +00:00
Václav Slavík
17e799185b documented wxMB_DOCKABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:33 +00:00
Václav Slavík
357d660c90 added 'document wxSpinCtrl & wxFontMapper' to TODO list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:27 +00:00
Václav Slavík
ff83a7701c fixed #pragma implementation/interface numdlgg.h to numdlgg.cpp ; fixed bug: spincontrol ignored min and max values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:21 +00:00
Václav Slavík
70be2567de replaced occurences of \_ by _ in verbatim environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-01 11:50:11 +00:00
Robin Dunn
d59efe01ea Fix for differences of when the ECT_WINDOW_CREATE happens between
wxMSW and wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 09:34:52 +00:00
Robin Dunn
1b55cabf50 Added wxEditor from Dirc Holtwic
Some tweaks and fixes
Some distrib updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 08:29:02 +00:00
Václav Slavík
a5e3f3e9fa added wxEncodingConverter; added imagpnm.cpp and imagpcx.cpp to wxvc_dll.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:35:19 +00:00
Václav Slavík
c958260b38 added wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:35:13 +00:00
Václav Slavík
a66fa4a84b added wxFONTENCODING_UNICODE -- for use with wxEncodingConverter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:34:32 +00:00
Václav Slavík
a50a288b95 added wxEncodingConverter - original tables from ftp.unicode.org - ISO, windows and KOI8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:34:02 +00:00
Václav Slavík
045c4fab85 added wxEncodingConverter - scripts for creating convertion tables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-31 00:33:41 +00:00
Guilhem Lavaux
2de89127de Moved fix to sndg72x.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:43:12 +00:00
Guilhem Lavaux
d6f941fdda Fix for MINGW32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:38:22 +00:00
Vadim Zeitlin
0185cd0978 added support for several new events in wxCalendarCtrl: clicking on week
days in the header, double clicking


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 18:21:42 +00:00
Vadim Zeitlin
13111b2ac8 1. many, many, many warnings fixed (from HP-UX build log; 50% are still left)
2. attempt (failed) at compiling wxGTK with GTK+ 1.3.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 17:51:26 +00:00
Robert Roebling
ce6d2511f8 Removed two more GUI lock-ups. This time when
using on-GUI threads and sending event.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 12:02:57 +00:00
Vadim Zeitlin
1a8557b143 added wxCAL_MONDAY/SUNDAY_FIRST flags and Ctrl-Home/Right/Left and Home/End keys
handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-30 00:31:36 +00:00
Vadim Zeitlin
882a8f40e2 wxCalendarCtrl works under MSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 23:34:18 +00:00
Robert Roebling
5d5b3a40f3 Corrected miniframe.
Changed wxTB_HORIZONTAL to be wxHORIZONTAL, not wxVERTICAL..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:12:42 +00:00
Robin Dunn
54b9688254 Enabling the use of masks for wxGTK in some of the demos
wxWindow.GetHandle returns the X-Window instead of the GtkWidget
pointer so the X-Window can be given to other Python modules such as
VTK.

wxPython.lib.vtk updated to get the window handle at widget creation
instead of in the constructor.

other updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:10:32 +00:00
Robin Dunn
cfe17b7435 Fixed wxWindowCreateEvent and wxWindowDestroyEvent to set m_eventType
so the events can actually be caught by a handler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 22:07:53 +00:00
Robert Roebling
15807266c6 IsExposed() corrections in calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 21:03:36 +00:00
Robin Dunn
3af4e610b1 Added some missing EVT_ functions
Fixes to wxPython.lib.wxCalendar for new toolbar and region code
other fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 20:07:27 +00:00
Vadim Zeitlin
0148fe1e2a wxMotif::wxControl() ctor added, now wxCalendarCtrl compiles ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:34:38 +00:00
Vadim Zeitlin
9d9b77552e 1. wxCalendarCtrl
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Robert Roebling
924ef85080 GUI thread update and event corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 17:16:55 +00:00
Julian Smart
e12be2f7fb Tidied some doc references; added Stefan's Blit optimisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 14:21:38 +00:00
Robert Roebling
29b5bcd515 Doc correction for wxScrollWinEvent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 12:52:22 +00:00
Robert Roebling
23efdd028e Added wxWindow::DoMoveWindow(..)
Changed dnd and clipboard overviews.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:52:51 +00:00
Vadim Zeitlin
c76dd5a121 define __GNUWIN32_OLD__ for cygwin32 too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 11:46:45 +00:00
Vadim Zeitlin
75c74ca055 1. added test for wxTreeCtrl::Insert(size_t index)
2. temporary test code for wxCalendarCtrl in controls.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:29:26 +00:00
Vadim Zeitlin
2ef31e80ee 1. some minor compilation fixes in datetime.cppm
2. implemented wxTreeCtrl::Insert(size_t index)
3. draft of wxCalendarCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:28:20 +00:00
Robert Roebling
f59d80ca00 Small doc updates, mainly wxDropTarget,
wxFileDlg now interprets a default dir of "." as
    the current working dir,
  dialog and frame honour "wxApp::DeleteFrameOnExit".


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 09:48:10 +00:00
Vadim Zeitlin
487c1f7ef2 BC++ compialtion fix (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 22:24:44 +00:00
Robin Dunn
5e095c55f9 Fixed so user code (or wxPython) can include gtk/glib/X headers if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 21:32:48 +00:00
Robin Dunn
ffef2bdec9 Added some WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 21:10:49 +00:00
Julian Smart
cff4a45c15 Watford C++ related changes. Unfortunately, the linker now gives a GPF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 20:25:09 +00:00
Julian Smart
84e5f5395d Some BC++ issues
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 15:21:06 +00:00
Julian Smart
1a3aa77fc7 Removed references to separate prop and porting docs. Added imagtiff.cpp
to VC++ project files. Added tiff library to makeproj.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:57:57 +00:00
Julian Smart
52ca3f113e Added VC++ project files for TIFF library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:56:05 +00:00
Robert Roebling
f2593d0dda Calling a Refresh() before the window is created no longer
gives an assert. Nothing will happen.
  Added wxTreeCtrl::InsertItem( paret, before, ... ),
  Correct some places with incorrectly indented code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 13:08:04 +00:00
Julian Smart
9b6b575004 Added Bil Simser to wxBook page; fixed bug in notebook when deleting pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:45:48 +00:00
Guillermo Rodriguez Garcia
3f399a69cc Added GetSubBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:28:39 +00:00
Robert Roebling
7468b994be Minor doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 14:27:05 +00:00
Robert Roebling
be25e48093 Added mono bitmap to image conversion.
Added wxImage::Replace() (replaces one colour with another).
  Toolbar tips no longer eats ana new colour. This might prevent
    the wrong colour behaviour reported from some 8-bit visuals.
  Minor fixes and test code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 13:01:07 +00:00
Vadim Zeitlin
41acf5c0bd 1. wxLongLongWx::Assign(double) added (half implemented)
2. small wxDateTime bug fixed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 11:26:59 +00:00
Vadim Zeitlin
d5fc46616d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-27 10:55:14 +00:00
Vadim Zeitlin
406005d21b more unused param warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:54:12 +00:00
Vadim Zeitlin
9c2882d9e1 1. misc compilation (errors, warnings) fixes (from the build logs)
2. fixed a bug in wxGTK::wxGetResource


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-26 21:52:50 +00:00
Vadim Zeitlin
6957717a00 disable #warning because it's an error for some compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 22:16:54 +00:00
Vadim Zeitlin
ddb56b384d C++ comments in C files are fun but break the compilation (for the Nth time)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 22:16:28 +00:00
Václav Slavík
c91108763b fixes of documentation - replaced \tt{...}, \em{...}, \bf{...} by {\tt ...} etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:34:56 +00:00
Václav Slavík
200fed6cdf moved proplist documentation to main book
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:30:32 +00:00
Václav Slavík
5eae411929 moved 1.6X -> 2.X porting manual to main book
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 20:26:26 +00:00
Václav Slavík
6fb0a92e2c font size fix for <PRE>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 18:11:06 +00:00
Guilhem Lavaux
e336790467 Sound recording works on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 17:38:46 +00:00
Robert Roebling
f9ee644eac Wrote wxMask(bitmap,colour).
Some docs for it and wxBitmap::GetSubBitmap().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-25 11:25:53 +00:00
Václav Slavík
605d715ddd many fixes in documentation so that it compiles with LaTeX - get rid of \end{document} troubles, \it{} -> {\it} and few more syntax fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:40:13 +00:00
Václav Slavík
9a66115de3 removed date.cpp and time.cpp from filelist.txt (was only commented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:28:31 +00:00
Václav Slavík
bb65ef80fe fixed bug in wxString::DoCopy - it called Sort on already sorted array (thanks to Add behaviour)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:28:05 +00:00
Václav Slavík
599a97e9ab removed wxHtmlParser::GetTempData (internal function, obsoleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:46 +00:00
Václav Slavík
6ed4970d21 added demo of <font face>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:32 +00:00
Václav Slavík
f1ad10f373 added <font face> support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 23:27:20 +00:00
Robin Dunn
194fa2aca0 Some little compilation fixes, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 18:45:22 +00:00
Robin Dunn
d2103cf2e2 Removed all non wx stuff from the glcanvas module since DA's PyOpenGL
is better and compatible with the wxGLCanvas.  You can get it at
http://starship.python.net:9673/crew/da/Code/PyOpenGL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 18:44:29 +00:00
Vadim Zeitlin
5e6a0e8315 implemented wxLongLong division - seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 16:49:57 +00:00
Julian Smart
9434fb903d Added default constructor to wxGLCanvas.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 12:28:20 +00:00
Julian Smart
f3314fbcb4 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 08:16:31 +00:00
Robin Dunn
9c00cfa3e5 Wrapper updates for wxHtmlLinkInfo and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 03:28:55 +00:00
Robin Dunn
f533a674ae fixed mismatched }
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-24 00:16:07 +00:00
Vadim Zeitlin
40973ea5fd removed testing code from wxLongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 23:27:21 +00:00
Robin Dunn
f17fee68ea A bugfix in the wxTreeCtrl.GetItem wrapper
Some test/demo modifications and additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 22:43:59 +00:00
Robin Dunn
ab2208b54e New toolbar wrappers
wxMask demos
GenericButton now derives from wxControl
Lots of small changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 22:37:22 +00:00
Václav Slavík
2463329cd3 fixed interpretation of <font size>: was always relative to current size, now conforms to HTML specs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 21:12:33 +00:00
Václav Slavík
846914d18d wxHtmlWindow::OnLinkClicked and wxHtmlCell::Get/SetLink and wxHtmlWinParser::GetSetLink now work with wxHtmlLinkInfo instead of wxString (making it ready for frames)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 21:12:23 +00:00
Václav Slavík
f2c2fa4d62 wxHtmlWindow::OnLinkClicked and wxHtmlCell::Get/SetLink and wxHtmlWinParser::GetSetLink now work with wxHtmlLinkInfo instead of wxString (making it ready for frames) ************** also fixed font size interpretation to conform to HTML (1..6 instead of wrong -2..4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 21:11:46 +00:00
Vadim Zeitlin
2ea24d9f47 tried to implement division of wxLongLongs - doesn't work at all, will finish tonight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:15:40 +00:00
Robin Dunn
b49576e077 Linking with the TIFF library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:13:49 +00:00
Robin Dunn
0656d2e68d Fixed wxSplitterEvent to set it's id to be the splitter window's id so
events can be caught correctly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:12:34 +00:00
Robin Dunn
874a1686d8 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:09:58 +00:00
Robin Dunn
9b3d3bc44b New toolbar wrappers
wxMask demos
GenericButton now derives from wxControl
Lots of small changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 20:05:08 +00:00
Robin Dunn
8d772832a0 Added a constructor that allows creation of independent wxControl
(for more easily creating custom controls)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 19:23:13 +00:00
Robert Roebling
17bec151f9 Added wxBitmap::GetSubBitmap()
Correct images in gen. dir dlg.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:18:43 +00:00
Václav Slavík
8eb2940f7f removed wxITALIC/wxSLANT stuff from wxHTML (no longer neccessary, we have intelligent font matching) - affects SetFonts method of wxHtmlWindow, wxHtmlWinParser and private stuff in wxHtmlHelpFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:14:26 +00:00
Václav Slavík
921d0fb195 wxHtmlFontCell now has member wxFont m_Font instead of wxFont* m_Font (preparation for <font face> support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:14:17 +00:00
Václav Slavík
fe7a2e2529 date.cpp and time.cpp removed from CVS (no longer used)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 18:13:35 +00:00
Vadim Zeitlin
e07802fc4a patches for running configure under OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 17:59:26 +00:00
Vadim Zeitlin
c7d68b4b70 oops... problem with in Perl source - got mangled by cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 15:40:18 +00:00
Vadim Zeitlin
35e20db0ee a small script to show the different between the current file version and its last revision (requires Perl)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 15:34:45 +00:00
Vadim Zeitlin
e2b8b0662c fixes for wxINSTALL_PREFIX definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 14:21:56 +00:00
Vadim Zeitlin
ad0dc53bff patches for BC++ 5.3 from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 14:05:21 +00:00
Jouk Jansen
fb10f04c95 Committing in .
Patches for VMS

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/image.h
 	wxWindows/src/common/datetime.cpp
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/unix/threadpsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 13:19:09 +00:00
David Webster
73c0666118 Update options to the config files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 23:21:47 +00:00
Vadim Zeitlin
9750fc4245 1. corrected some owner-drawn buttons bugs
2. added generation of event for EVT_SPINCTRL handler to wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 23:00:10 +00:00
Vadim Zeitlin
57160afe2b testing new wxSpinCtrl event and button colours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 22:58:52 +00:00
Václav Slavík
84b63045ca documented wxHashTable::DeleteContents(bool)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 22:23:35 +00:00
Václav Slavík
e5436d5933 added printing classes to HTML section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 22:23:30 +00:00
Vadim Zeitlin
0ddea94696 tests for "big" wxTextCtrls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 21:41:34 +00:00
Vadim Zeitlin
b12915c104 1. wxBase compiles under BeOS
2. several bugs corrected in wxTextCtrl::Load/SaveFile (wxMSW)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 21:09:32 +00:00
David Webster
e17e2b7c1d Updated Phnghand LoadFile and new makefile for DateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 18:42:00 +00:00
David Webster
738f53e98d Changed Loadfile to be compatable with OS/2 Bitmap handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 18:41:00 +00:00
David Webster
28f5bdb49b Eliminate comma's after last element in an enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 18:40:24 +00:00
Robert Roebling
f30933a8c7 Reduced spacing in tree ctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 17:22:54 +00:00
Robert Roebling
00e12320ca Some debug code.
Removed flicker form wxTreeCtrl.
  Changes.txt update.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 13:04:54 +00:00
Vadim Zeitlin
b38e2f7dc3 more wxDateTime tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 00:16:35 +00:00
Vadim Zeitlin
be4017f89b 1. coloured buttons seem to work
2. wxDateTime::ParseFormat() starts to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 00:16:02 +00:00
David Webster
5f287370dd define _timezone for VisualAge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 23:44:08 +00:00
Václav Slavík
1845534dd4 fixed typo (const<->cosnt)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:24:07 +00:00
Václav Slavík
738bfca98d added wxHTML to Classes by Category
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:23:55 +00:00
Václav Slavík
08d038e7d1 fixed horizontal scrollbar bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:23:45 +00:00
David Webster
610a6ee998 Add datetime file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 22:22:39 +00:00
Václav Slavík
7618e37465 #ifdef wxUSE_TOOLTIPS around tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 20:27:38 +00:00
Vadim Zeitlin
f0f951faab wxDateTime::ParseFormat() and ParseTime() added (compile but don't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 19:33:25 +00:00
David Webster
657d209757 can't support enums that have comma after last element
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 17:48:24 +00:00
Robert Roebling
28c9c76e7f Some doc updates.
Corrected wxFileDialog::GetFilenames() and GetPaths()
    if no file is selected.
  Corrceted make install.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 16:43:54 +00:00
Vadim Zeitlin
77c3e48a9e added support for width and flags in wxDateTime::Format()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 16:24:57 +00:00
Vadim Zeitlin
341e7d2889 wxString::Format() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 16:11:45 +00:00
Vadim Zeitlin
68ee7c4730 1. corrected compilation of wxTime/wxDate
2. wxDateTime::Format() seems to work (look at it to see why I'm so happy)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 15:40:13 +00:00
David Webster
75399efbb2 Uncompilable header fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 15:14:14 +00:00
Vadim Zeitlin
7f684264b8 memory leak in ~wxMutex fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 12:48:32 +00:00
Václav Slavík
74cfc36921 stupid typo in wxHTML help options dlg - did not display fixed fonts correctly in preview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 11:17:11 +00:00
Vadim Zeitlin
97e0ceea08 more wxDateTime tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:47:56 +00:00
Vadim Zeitlin
112d35a2cb removed date.cpp and time.cpp from the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:47:00 +00:00
Vadim Zeitlin
cd0b170911 1. wxLongLong and wxDateTime compilation fixed for the compilers without native
"long long" type (and some code in timercmn.cpp too)
2. wxDate and wxTime reimplemented using wxDateTime (old versions tagged as
   OLD_DATE_AND_TIME)
3. wxString::To(U)Long and ToDouble added and documented
4. bug with combobox in toolbar (drop down list wasn't dismissed) fixed
5. several wxDateTime::Parse() functions implemented
6. added support for coloured buttons under MSW (not completely finished)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:44:45 +00:00
Guillermo Rodriguez Garcia
e35edde9c3 strange comment in gsocket_read (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 22:15:16 +00:00
Guillermo Rodriguez Garcia
e8f4c58406 Stupid timeout bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 22:09:30 +00:00
Robert Roebling
6f67eafe67 Minor optical changes to toolbar and the help frame's
options dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 20:16:37 +00:00
Julian Smart
c25a510b30 Mostly Mingw32/Cygwin corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 19:04:48 +00:00
Vadim Zeitlin
83307f338d test for strptime added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 17:48:54 +00:00
Robert Roebling
bd046d4221 Replaced the old wxGetResource implementation with one based
in wxFileConfig.
  Compile fix for gsocket.c.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 17:15:32 +00:00
Robert Roebling
c7a9fa36e4 Minor changes to wxTreeCtrl's horiz size,
Text stream now can write Mac/Unix/Dos EOL on resp. other platforms,
  Fixed return value of wxBufferedOutputStream::GetSize() and ::TellO()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 16:15:32 +00:00
Vadim Zeitlin
f9dbf34fc6 fall back from wxITALIC to wxSLANT and vice versa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 14:29:45 +00:00
Vadim Zeitlin
405e126cc8 'grey border' bug under MSW fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 14:02:48 +00:00
Václav Slavík
ef01b72f17 added <EM>, <CITE> and <STRONG> tags; now use separate handlers for <B>,<I>,<TT>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:49:42 +00:00
Václav Slavík
f0b6a33f4c HTML help: index panel now displays only part of index matching given substring (similar to search panel; ==> 1) faster startup 2) no more problems with incomplete index due to GTK+ limitations). Intelligent behaviour: displays indexes with size <= 100 items in full (= matching empty substring)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:49:35 +00:00
Václav Slavík
336e2d4424 added support for definition lists (DL,DT,DD) to wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:49:14 +00:00
Václav Slavík
8b260fbe33 removed 2nd frame from html test sample; test sample now shows DL,DT,DD support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:48:01 +00:00
Václav Slavík
c88293a404 cleaned some relics - mod_* instead of m_* in wxHTML modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-20 12:47:50 +00:00
Robin Dunn
5ea6dbbfff Adding MSVC makefile support for building the TIFF library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 20:55:50 +00:00
Václav Slavík
97734a7f33 fixed problem with image handlers in two headers (and yes, tested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 20:19:19 +00:00
Vadim Zeitlin
239446b415 wxDateTime progress: DST compuation, weekday computation, day-in-year and week
number computations all implemented and seem to work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 19:56:32 +00:00
Robin Dunn
3e1ed7d709 Fixing another hard-coded WXDIR path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 19:47:51 +00:00
Guillermo Rodriguez Garcia
5ebdc86afc *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 18:37:24 +00:00
Guillermo Rodriguez Garcia
300b128833 Compile-fix after modifying timercmn.cp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 18:36:45 +00:00
Robert Roebling
cae31b8b52 Fixed typo in wxStaticBoxSizer::CalcMin().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 18:32:25 +00:00
Guillermo Rodriguez Garcia
b704229ee2 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 16:40:06 +00:00
Guillermo Rodriguez Garcia
df0c322667 Compatibility fix: defined wxGetCurrentTime to wxGetLocalTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 16:35:48 +00:00
Jouk Jansen
08f6ac314a Committing in .
VMS 64bit integer definition

 Modified Files:
 	wxWindows/include/wx/longlong.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 15:37:00 +00:00
David Webster
2063a4a0ca Fixed a void* to wxObject* conversion error in a return causing compile break across all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 15:35:48 +00:00
Julian Smart
17d8ee1cbd Misc small mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 14:59:09 +00:00
David Webster
4e0f4f97d7 Some minor fixups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:45:15 +00:00
David Webster
334673a8bb Remove tbarsmpl.cpp from the build list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:41:24 +00:00
David Webster
b4eb4c6b55 New image base classes for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:39:24 +00:00
Vadim Zeitlin
6fd5fa4fcc added wxToolBar::SetToolClientData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 13:10:05 +00:00
David Webster
b7c2b5c51d cleaning up toolbar mess for os/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 05:42:52 +00:00
David Webster
97fdfcc9fd cleaning up image mess for os/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 05:42:26 +00:00
Guillermo Rodriguez Garcia
d895ad7c54 timercmn rewritten from scratch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:28:44 +00:00
Guillermo Rodriguez Garcia
b8f0499040 Everything rewritten from scratch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:27:53 +00:00
Vadim Zeitlin
c5a1681bfe 1. compilation fix for wxDir
2. wxDateTime now calculates week days (_almost_ correctly) and Format()
   seems to work too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:09:10 +00:00
Vadim Zeitlin
211c225069 test for weekdats added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 01:08:20 +00:00
Vadim Zeitlin
8673da0de1 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 23:14:14 +00:00
Vadim Zeitlin
6e807169c4 changed wxImage::Rescale() to return wxImage& and not void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 23:13:23 +00:00
Vadim Zeitlin
2ffa221c58 some more consts here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 22:10:32 +00:00
Vadim Zeitlin
d5e295970c compilation fix after incorrectly resolved conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:59:02 +00:00
Vadim Zeitlin
7521ca7d84 an experimental template for Win16/VC++ 1.52
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:30:47 +00:00
Vadim Zeitlin
8f177c8e73 Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:29:54 +00:00
Robin Dunn
b4d1ebf058 Took out somebody's hard coded path (j:\dev\something...) and put back
$(WXWIN).  Please just set an environment variable like the rest of us!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:00:59 +00:00
David Webster
6bee9b5951 New Visualage C++ Version 4.0 Project Configuration files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:00:54 +00:00
Robin Dunn
995a594ab4 Killed a bug that sometimes prevented ShowModal from returning if the
ESC key was used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 20:49:07 +00:00
Guillermo Rodriguez Garcia
6ecfe2ac49 Fix for mingw32 compilation (replaced #ifdef NM_CUSTOMDRAW with a test for _WIN32_IE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 20:41:39 +00:00
Vadim Zeitlin
e838cc1468 1. wxMotif toolbar works; the toggle buttons have the same width as the other
ones and not twice as big
2. wxMotif::wxBitmap(from XPM) ctor now takes either "char **" or "const char
   **", as in wxGTK
3. added an X error handler to wxMotif (debug only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 19:36:05 +00:00
Vadim Zeitlin
1eb6f40e2a should use ksh, not sh
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:38:15 +00:00
Guillermo Rodriguez Garcia
51dba3f868 PCX images can now be embedded in streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:19:41 +00:00
Guillermo Rodriguez Garcia
85806dc2d8 slight bug in waitconnection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:19:04 +00:00
Vadim Zeitlin
982b2cfc58 compilation fixes, doesn't work yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:10:38 +00:00
Vadim Zeitlin
9fb35cf180 small fix to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 17:39:07 +00:00
Robert Roebling
f35aa3daa3 Added wxSizer::Insert()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 16:37:08 +00:00
Vadim Zeitlin
5357c8e8b3 added check for timezone in addition to _timezone and __timezone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 16:19:26 +00:00
Guillermo Rodriguez Garcia
1b24a68eba Added #if wxUSE_OWNER_DRAWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 14:53:07 +00:00
Guillermo Rodriguez Garcia
90002c499c Compilation fix when wxUSE_OWNER_DRAWN is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 14:52:25 +00:00
Guillermo Rodriguez Garcia
d32548aa77 Accomodate changes in CountColours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 12:22:37 +00:00
Guillermo Rodriguez Garcia
cc9f7d7939 Changed stopat to stopafter in CountColours
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 12:19:02 +00:00
Václav Slavík
8f9846be80 image handlers moved to separate headers (imagbmp.h etc.) This change is backward compatible (all hdrs #included in image.h) and reduces executable size under GCC -- these files are regenerated makefiles due to change in filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:46:33 +00:00
Václav Slavík
c8b4eea8f2 image handlers moved to separate headers (imagbmp.h etc.) This change is backward compatible (all hdrs #included in image.h) and reduces executable size under GCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:46:17 +00:00
Václav Slavík
89de9af3cb fixed wxHtmlWindow flicker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:39:02 +00:00
Václav Slavík
1aaaa7120e JPEG handler does not read entire file into memory anymore (+, of course, that headers change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:38:18 +00:00
Václav Slavík
8f49300284 image handlers moved to separate headers (imagbmp.h etc.) This change is backward compatible (all hdrs #included in image.h) and reduces executable size under GCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 22:38:02 +00:00
Vadim Zeitlin
1dbe87089b small compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:49:48 +00:00
Vadim Zeitlin
8a0681f933 merging in the toolbar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +00:00
Robin Dunn
56f5d962ad New SWIG generated sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:09 +00:00
Robin Dunn
5bff6bb8ea Fixes for differences between wxMSW and wxGTK`
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:46:19 +00:00
Vadim Zeitlin
6de20863de using WX_TIMEZONE set by configure instead of timezone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:40:46 +00:00
Vadim Zeitlin
bf84b0be84 added datetime.h/cpp to filelist and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:40:22 +00:00
Vadim Zeitlin
360d6699d3 added check for timezone variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:35:03 +00:00
Vadim Zeitlin
64a8976615 documented GetLabel/Text, added a note about GetName being deprecated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:20:57 +00:00
Vadim Zeitlin
caf51f9536 fix for compilation with both native and generic kinds of toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 18:13:36 +00:00
Vadim Zeitlin
ad4ae6ed7a testing wxToolBarSimple
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 18:02:44 +00:00
Vadim Zeitlin
a16a9bf350 a fix for the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:57:46 +00:00
Vadim Zeitlin
3ed2e7ce82 more WXUNUSED() here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:14:58 +00:00
Vadim Zeitlin
e7bcded47c a small script to regenerate makefiles without running configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:06:32 +00:00
David Webster
3070bd9633 Remove these VisualAge C++ V4.0 files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 17:03:58 +00:00
David Webster
8ea3f821b7 Bitmap and Image updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 16:59:08 +00:00
David Webster
bed4d33171 For use when build samples under wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 16:54:08 +00:00
Vadim Zeitlin
1afe597eba fix for wxMouseEvent::LeftUp() from Stefan.Neis@t-online.de
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 15:34:05 +00:00
Vadim Zeitlin
9d08a1edf6 corrected bug in wxMenu::Enable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 14:39:56 +00:00
Guillermo Rodriguez Garcia
faa7a70eaf Small bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 12:32:22 +00:00
Guillermo Rodriguez Garcia
89d0045628 Added CountColours()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 12:31:28 +00:00
Guillermo Rodriguez Garcia
0848b0dd74 Now saves in eiher 8bit or 24bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 11:46:19 +00:00
Guillermo Rodriguez Garcia
c9d01afd82 Added ComputeHistogram
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 11:45:32 +00:00
David Webster
97507ccea7 gdiimage updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 06:02:30 +00:00
Vadim Zeitlin
980662342f support for multiple rows in Win32 native toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 01:54:39 +00:00
Vadim Zeitlin
44178d9214 added wxSingleChoiceDialog::SetSelection
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 00:31:58 +00:00
Vadim Zeitlin
2e8005ccaf fixed wxBitmapButton bug with bitmaps with masks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 00:28:42 +00:00
Václav Slavík
ad81651f00 removed USE_SHARED_LIBRARY(IES)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:57:30 +00:00
Václav Slavík
fed628b632 added default ctor for wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:53:32 +00:00
Václav Slavík
1c83cdc920 removed USE_SHARED_LIBRARIES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:53:26 +00:00
Václav Slavík
a68d00b192 removed USE_SHARED_LIBRARIES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:41:31 +00:00
David Webster
9dea36ef6d Visualage C++ V4.0 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:32:53 +00:00
Robert Roebling
aaf6c39ae6 Added a few modifiers to wxSiserItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 19:26:06 +00:00
Vadim Zeitlin
93fa69f84b support for vertical toolbars under GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 18:50:19 +00:00
Vadim Zeitlin
b685cd9bc8 added wxUSE_TOOLBAR_SIMPLE setting, enabled wxLongLong in configure by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 18:49:54 +00:00
Vadim Zeitlin
84f19880c6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 17:12:16 +00:00
Ron Lee
dc1dbfc640 added XBM example to image sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 16:53:41 +00:00
Sylvain Bougnoux
672cedf866 ~wxBufferedStream puts back unread bytes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 14:37:24 +00:00
George Tasker
c1dd939d3b Fixed the #include of tbar95.h, which referenced the wrong directory path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 11:21:25 +00:00
Robin Dunn
78385733e7 Some GenButton enhancements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 06:38:17 +00:00
Vadim Zeitlin
5ef2e6333e added support for vertical toolbars for MSW - seems to work more or less
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 02:02:09 +00:00
Vadim Zeitlin
d9c8e68e58 mask corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 23:15:02 +00:00
Vadim Zeitlin
fc6bbc6dad updated the sample and renamed the files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 23:05:56 +00:00
David Webster
fb5ddb4c13 Needed a __WXPM__ in new OS ifdefs at top
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 22:13:35 +00:00
Vadim Zeitlin
d166a4f8e8 wxCreateMaskedBitmap() is more const correct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 20:21:28 +00:00
Vadim Zeitlin
af79c52df0 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 19:31:48 +00:00
Vadim Zeitlin
d899618714 added wxList::Insert(size_t); updated wxList documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 19:30:09 +00:00
Sylvain Bougnoux
5ef37c79de Was missing png_read_end
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 19:02:50 +00:00
Václav Slavík
65e4f9b986 wxNotebookSizer surrounder by wxUSE_NOTEBOOK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:52:18 +00:00
Václav Slavík
75be3f5ef7 now survives compilation even if wxUSE_SASH == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:17:09 +00:00
Václav Slavík
60be2f47e1 added #if wxUSE_NOTEBOOK around wxNotebookSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:16:59 +00:00
Václav Slavík
41b1047d91 added #if wxUSE_CLIPBOARD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 16:16:52 +00:00
Robert Roebling
78e848cac9 wxTextStream now interprets 1,1 as 1.1 (European formating).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 15:55:30 +00:00
Vadim Zeitlin
191ab39aee attempted Unicode fixes for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 15:51:01 +00:00
Robert Roebling
864e8bd0fc Corrected wxRegion::GetBox()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 13:43:47 +00:00
Václav Slavík
61eff74fb9 added wxHTML samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 08:43:50 +00:00
Guillermo Rodriguez Garcia
528dad23e5 PCX handler now saves files too (always as 24 bit images, though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 01:03:42 +00:00
Vadim Zeitlin
ae373e59d5 removed because unused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 01:03:32 +00:00
Guillermo Rodriguez Garcia
7513f9ffc5 Added wxOutputStream::PutC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 01:02:32 +00:00
Vadim Zeitlin
20d9661c04 moved wxID_SEPARATOR from menuitem.h to defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-13 00:55:35 +00:00
Robert Roebling
85ec2f2634 Some doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 17:02:50 +00:00
Václav Slavík
f4cc15cd73 removed pnghand from MSW sources - obsoleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 16:22:39 +00:00
Václav Slavík
3cbe51d094 removed pnghand from MSW sources - obsoleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 16:18:55 +00:00
Václav Slavík
b58b1dfc21 fixed compilation bug with GCC 2.95.1 and GTK+ 1.2.6 (attrmask was of type GdkICAttributesType which is enum and was used in this way : attrmask |= some constant)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 21:53:57 +00:00
Václav Slavík
6c3d9ced08 wxPostScriptDC::DrawText now uses descent to determine baseline (instead of rough approximation), wxPostScriptDC::GetTextExtent now returns correct height (it did incorrectly add descent to pt size of font)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 21:52:43 +00:00
Václav Slavík
edbd0635f2 new wxHTML printing code ; parser now supports scaling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 21:50:44 +00:00
Robin Dunn
56ac3e75d4 A couple small tweaks to get the new wxNotebookSizer sample to work on MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 19:38:07 +00:00
Václav Slavík
16964b5ed5 documented wxDC::GetUserScale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:35:34 +00:00
Václav Slavík
c914a1a2d2 documented wxHF_BOOKMARKS flag for wxHtmlHelpController
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:34:14 +00:00
Robert Roebling
83edc0a574 Added wxNotebookSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 15:07:14 +00:00
Robin Dunn
fbff5d1ba5 One more quickie
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 08:09:25 +00:00
Robin Dunn
6999b0d8e9 Added rotated text support
Added Some generic button and toggle button classes
Lots of little fixes, additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 07:59:23 +00:00
Vadim Zeitlin
4afd752902 1. wxDir works for MSW and documented
2. wxDateTime works with dates very close to the Epoch
3. setting font for wxRadioBox works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 00:43:59 +00:00
Václav Slavík
6bfd5671b0 removed platform specific #ifdefs around wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 21:46:00 +00:00
Vadim Zeitlin
151d66be0f and now timezones work even better ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 20:59:08 +00:00
Vadim Zeitlin
299fcbfe98 more timezone stuff - it's a miracle, but it seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 20:44:37 +00:00
Guillermo Rodriguez Garcia
e4b8154a65 source clean-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 20:16:01 +00:00
Vadim Zeitlin
036bc7d9e1 compilation fix for headers without _WIN32_IE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 19:46:12 +00:00
Vadim Zeitlin
509a619604 use KDEDIR in wxKDEIconHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 17:31:44 +00:00
Vadim Zeitlin
8c264b23ad wxString::substr() bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 16:29:34 +00:00
Jouk Jansen
36cc39686a Committing in .
Updated VMS-support
 Adding new featrure of other modes to MOTIF to get it compile cleanly.

 Modified Files:
 	wxWindows/docs/readme_vms.txt
 	wxWindows/include/wx/motif/filedlg.h wxWindows/lib/vms.opt
 	wxWindows/src/common/descrip.mms wxWindows/src/motif/data.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-10 12:45:51 +00:00
Vadim Zeitlin
1f59726ed9 generic/wizard.h added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 16:53:49 +00:00
Robert Roebling
af159c4481 Compile fix. Where exactly is "wxString GetHomeDir()"?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 15:23:32 +00:00
Vadim Zeitlin
c51deffc32 a more easy to use version of wxGetHomeDir() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 15:14:58 +00:00
Robert Roebling
178009938b Changed scrollsub sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 15:01:04 +00:00
Guillermo Rodriguez Garcia
d314c3bbb0 Fixed small bug related to m_lastcount in wxInputStream::Read
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 13:41:52 +00:00
Stefan Csomor
b3d810c0b3 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:33:24 +00:00
Stefan Csomor
97e64d8ad5 cw pro 4 not supported anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:33:04 +00:00
Stefan Csomor
8fbb465f70 corrected mac-like placing of <about> menu line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:32:18 +00:00
Stefan Csomor
7c551d9594 small adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:30:35 +00:00
Stefan Csomor
0207122d52 adapted to mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-09 10:15:14 +00:00
Robert Roebling
2bf8e4ebcc Further stream tests, doc updates and minor clean-ups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 19:04:29 +00:00
Vadim Zeitlin
b9517a0ae4 GNOME/KDE integration for wxMimeTypeManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 17:53:32 +00:00
Vadim Zeitlin
c53a2bb3d3 even more docs for wxFile::Eof
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 15:22:18 +00:00
Vadim Zeitlin
e694c22c31 1. fix for compiling samples with profile info
2. dir.h/.cpp added to the makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 15:20:22 +00:00
Jouk Jansen
68874acfed Committing in .
Changes to get the libraries cleanly compiled on VMS

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/image.cpp
 	wxWindows/src/motif/dcclient.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 15:13:18 +00:00
Guillermo Rodriguez Garcia
76443e70a5 Performance optimizations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 14:39:28 +00:00
Vadim Zeitlin
13e8d36e0f edited changelog slightly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 14:22:47 +00:00
Vadim Zeitlin
1944c6bdd0 wxDir class added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 14:16:53 +00:00
Guillermo Rodriguez Garcia
8708a10fa6 Optimized for performance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 11:59:43 +00:00
Robert Roebling
842d6c94bd Documented wxFFile and wxFFileStream and Co.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 11:35:20 +00:00
Guillermo Rodriguez Garcia
5ac8158ad9 Fixed wxInputStream::Ungetch behaviour so that if you
a) unget a buffer (AAABBB)
b) read some data (AAA)
c) unget a second buffer (CCC)

it works OK now (you will get CCCBBB, instead of CCCAAABBB as before)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 09:58:42 +00:00
Robert Roebling
aa51b2e153 Stream error testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:28:29 +00:00
Vadim Zeitlin
e4e901d18e compilation fix (long -> wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:28:22 +00:00
Vadim Zeitlin
c74016378e fixing compile problems for people who don't look at the rebuild logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:26:45 +00:00
Vadim Zeitlin
9a8c762076 1. many DrawRotatedText() corrections (gtk)
2. compilation fix for window.cpp (!HAVE_XIM)
3. mentioned wxGTK slider limitations in the docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 08:19:45 +00:00
Vadim Zeitlin
c717373949 patch from Ricky Gonzales <gonzales@pyramid3.net> for the Unicode support for BC 5.02+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-08 07:54:58 +00:00
Robert Roebling
b79395c54b XIM support things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 18:58:53 +00:00
Robin Dunn
5ed3dab261 bitmap mask tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 18:20:01 +00:00
Robert Roebling
7ec2881ac5 Correction to position of rotated text.
Apps no longer give warnings if only a
    dialog pops up (top level windows == 0)
    before main loop.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 17:54:04 +00:00
Karsten Ballüder
d06800f14a Fixed XIM compilation, but doesn't work yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 16:11:43 +00:00
Robert Roebling
6e228e42e2 wxListCtrl sends event directly again. Also fixed problem
of list otem status not being up-to-date when events
    get sent.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:47:55 +00:00
Karsten Ballüder
d84b26a7b9 HAVE_GDK_XIM -> HAVE_XIM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:24:38 +00:00
Vadim Zeitlin
54acce9084 wxMimeTypeManager::EnumAll() seems to work, couple of minor corrections to the MIME code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:18:22 +00:00
Karsten Ballüder
7799a2d76f Test for XIM support in gdk added, relevant code for window.cpp follows this
evening.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 15:06:51 +00:00
Robert Roebling
00655497da Minor optical changes to toolbar and wxHelpFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 14:54:32 +00:00
Vadim Zeitlin
470caaf9df small cosmetic fix for wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 14:15:23 +00:00
Robert Roebling
0c62388988 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 12:24:57 +00:00
Robert Roebling
6308151359 Added wxUSE_SPINCTRL,
Added various HAVE_XIM patches.
  Added forty's headers to list of installed files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 11:59:07 +00:00
Robert Roebling
9b00bb1626 Various things related to wxFileDialog and attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 10:47:21 +00:00
Robert Roebling
1fb4de3138 doc view code inteprets wxSTREAM_EOF as correct,
Added wxMask( bitmap, colour ).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 09:35:42 +00:00
Vadim Zeitlin
c61f4f6dbd 1. wxFileDialog patch for multiple selection applied (with some small changes),
added demo for it in the sample and documented
2. wxMimeTypeManager works a bit better under Windows (doesn't ignore the
   extensions without filetypes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 00:48:45 +00:00
Vadim Zeitlin
696e1ea0b7 1. fixes for DrawRotatedText(), drawing sample extended to show it
2. implemented colour/font support for wxTreeCtrl items
3. corrected a bug in wxListCtrl colour/font support code, the items should
   now be deleted ok
4. SetProcessAffinityMask() correction, wxThread::SetConcurrency() kind of
   works (difficult to test on a UP machine)
5. wxMimeType::EnumAllFileTypes() added, works (somewhat) under MSW
6. made default fonts under MSW 10 points and not 12 - this is the standard
   size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 00:09:40 +00:00
David Webster
c8ce6bccc3 wxDC new virtual function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 23:47:52 +00:00
Robert Roebling
1b055864b6 Added tests for buffered streams.
Made wxBufferedOutputStream call Sync() in
    the destructor and SeekO().
  Documented this.
  Use buffered streams in wxImage. Seems to
    significantly speed-up the sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 18:16:37 +00:00
Vadim Zeitlin
85d11a7072 compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 17:56:59 +00:00
Vadim Zeitlin
1b986aef6e enumerating all MIME types (half finished, doesn't work yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 17:54:50 +00:00
Vadim Zeitlin
4314ec480e DrawRotatedText() for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 17:40:39 +00:00
Vadim Zeitlin
2182e26fa3 fixed LaTex error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 16:22:32 +00:00
Robert Roebling
d984207cc3 Patch for stream.cpp for non-flushable stream,
Corrected stream corruption for Umgetch()/SeekI() conflict,
  Docs for streams,
  Changed interpreteation og non-standard height in wxCombo,
  Other minor changes,
  Removed library name setting for Debian again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 16:16:14 +00:00
Vadim Zeitlin
929eed4799 wxSetlocale() doesn't always return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 14:14:19 +00:00
Vadim Zeitlin
28a4627cfe implemented GetCPUCount() and SetConcurrency() for Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 14:06:21 +00:00
Vadim Zeitlin
9ec64fa758 wxTreeCtrl has colours and fonts too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 13:18:14 +00:00
Vadim Zeitlin
70846f0a79 1. test for thr_setconcurrency() added to configure
2. wxListCtrl headers always black
3. some warnings in dcpsg.cpp corrected
4. returning FALSE from OnPrintPage() should abort printing now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:44:49 +00:00
Vadim Zeitlin
ef8d96c29c wxThread::GetCPUCount() and SetConcurrency() added and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:31:04 +00:00
Julian Smart
c92d798f9d Inexplicable removal of wxRadioBox::MSWWindowProc reversed, so wxRadioBox
works in Dialog Editor again. Compile error in Dialog Editor fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:12:36 +00:00
Vadim Zeitlin
0530737d1e generic wxListCtrl colour/font setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 10:43:35 +00:00
Vadim Zeitlin
1f897d251f Added DrawRotatedText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:51:40 +00:00
Vadim Zeitlin
95724b1aa2 Rotated text patch from Hans-Joachim Baader (with some corrections)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:35:27 +00:00
David Webster
43543d985b some os/2 icon-bitmap fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 05:01:46 +00:00
David Webster
58b1642453 bitmap and image updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 21:23:52 +00:00
Václav Slavík
fd72e0b5e2 added bookmarks support (strange thing : red color in wbkdel.bmp is somehow misinterpreted by either wxBitmap or win32 libs and is not displayed correctly :-((
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:38:19 +00:00
Václav Slavík
382e6efee4 added bookmarks support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:36:20 +00:00
Václav Slavík
fb5700fe76 fixed bug in SetFonts (caused segfault in wxHtmlHelpFrame)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:32:21 +00:00
Václav Slavík
a97a264f73 fixed incorrect rendering of tables with cellspacing and cellpadding and colspan/rowspan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:31:39 +00:00
Václav Slavík
2b8f5a2488 [gtk] fixed bug that caused segfaults in wxYield when wxToolBar has non-button control (m_item was no defined, rather then being set to NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 19:30:45 +00:00
Julian Smart
340196c001 wxChoice/wxComboBox background colour change (to get back to where we were);
and .dsp file updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 10:07:00 +00:00
Vadim Zeitlin
d62228a645 wxListCtrl custom drawing seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 00:20:58 +00:00
Vadim Zeitlin
aaa37c0d23 compilation fixes for the wxListItemAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 22:57:59 +00:00
Vadim Zeitlin
bdc72a2268 1. wxGetOsDescription() function added
2. wxApp::GetComCtlVersion() slightly updated
3. wxToolBar::AddControl() should work on all systems, DeleteTool() added
4. wxListCtrl custom draw changes (custom colours/fonts)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 22:34:54 +00:00
Robert Roebling
1d62a8b425 Change to wxMenuBar::Remove(),
"make dist" knows about src/tiff now,
  configure has a new shared library thing which Debian seems to require.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 16:40:27 +00:00
Vadim Zeitlin
280108ed82 EMX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:51:40 +00:00
Vadim Zeitlin
1aaef61416 new wxMenu(Bar) dynamic menu(bar) management functions documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:43:44 +00:00
Vadim Zeitlin
32db328c7a wxMenu::Insert() seems to work, bug in wxMenuBase::Insert() is corrected
(inserting an item at pos == GetCount() should be the same as appending and
not an error)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 14:10:31 +00:00
Vadim Zeitlin
f03ec224dc wxMenuBar::Insert() seems to work!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 13:43:59 +00:00
Robert Roebling
5f445b310b Documented wxStopWatch and wxToolBar::AddControl().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 13:28:26 +00:00
Vadim Zeitlin
309689b214 debug check for infinite loop in InitializeClasses() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 12:14:38 +00:00
Robert Roebling
f6b7723929 Two missing #includes in image code.
Corrected item coloring in wxListCtrl report mode (incl sample).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 11:56:28 +00:00
Robert Roebling
58c837a4e6 String changes for translations,
Made wxBitmap derive from wxGDIObject,
  Removed #ifdefs around destrctors for GDI lists (wxBrushList etc),
  Created wxEVT_COMMAND_SPINCTRL_UPDATE with obvious usage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 10:37:39 +00:00
David Webster
4f72fe4f1a Bitmap coding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 22:23:58 +00:00
Vadim Zeitlin
1ef54dcf12 wxDateTime...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 21:27:57 +00:00
Vadim Zeitlin
270a909e20 test for timegm() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 21:27:34 +00:00
Robin Dunn
abdd4565f1 code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 19:37:15 +00:00
Robin Dunn
5d1bd85974 Testing wxListBox.Delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 19:36:47 +00:00
Robin Dunn
6d75ea8f10 Split out the changelog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 19:36:21 +00:00
Stefan Csomor
0240e8b1aa wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 15:17:38 +00:00
Stefan Csomor
4378079d84 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 15:11:12 +00:00
Vadim Zeitlin
032af30f52 fixes for icon-inherits-from-bitmap mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:50:12 +00:00
Stefan Csomor
72e7876ba5 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:49:23 +00:00
Stefan Csomor
ef6bd27b35 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:40:17 +00:00
Stefan Csomor
6418cb9302 wxMSW update for CW, wxMac updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 14:30:39 +00:00
David Webster
3b9e345522 bitmap and image updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-03 05:03:55 +00:00
David Webster
d01cc696fc Catching up to latest thread changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 23:32:25 +00:00
Vadim Zeitlin
4c460b340f more threds fixes, more threads tests - seems to work ok for non GUI case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 17:59:35 +00:00
Vadim Zeitlin
48c8a76b81 a small compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 16:52:22 +00:00
Vadim Zeitlin
ecef04c293 a small compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 16:52:03 +00:00
Vadim Zeitlin
16193c2b68 wxUSE_CONFIG_NATIVE fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 16:32:16 +00:00
Vadim Zeitlin
4304b42f1a mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 14:47:49 +00:00
Vadim Zeitlin
e6ec579c77 even more wxDateTime work (completely broken for now, but support for the
full date range almost finished)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 01:01:26 +00:00
Václav Slavík
f151e8b583 cosmetic changes in help browser settings dlg; fixed problem with Borland C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:29:02 +00:00
Vadim Zeitlin
fcc3d7cbad 1. more wxDateTime work
2. some thread corrections (not fixing the deadlock with Delete() :-( )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:15:53 +00:00
Vadim Zeitlin
fa5f6926ec sorting test added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 22:07:25 +00:00
Karsten Ballüder
ab857a4ed6 fixed process termination handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 18:16:53 +00:00
Karsten Ballüder
371ee4026e rtf cut&paste works now, html export fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 18:05:54 +00:00
Robert Roebling
1193d8fa93 Typos in sizer docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 16:59:01 +00:00
Robert Roebling
d9d8273d9c Disabling PNG, TIFF and JPEG works now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:34:16 +00:00
Vadim Zeitlin
1c4f8f8d18 1. wxMotif::wxFrame derives from wxFrameBase now
2. wxFrame::GetClientAreaOrigin() made common to all ports and documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:23:56 +00:00
Robert Roebling
7941ba111c Applied patch for multiple file selection, documented.
Fixed some compilation warnings,
  Minor change to OpenGL code.
  Documented wxImageHandler::GetImageCount() and related.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 14:08:42 +00:00
George Tasker
fb073f86d2 Added wxODBC_FWD_ONLY_CURSORS define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 14:03:20 +00:00
George Tasker
1c74a90041 wxTreeCtrl::IsVisible() fix fix - a (LPARAM) typecast was lost in the last checkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 01:45:29 +00:00
Vadim Zeitlin
52a5502004 one day people will stop putting C++ comments in C files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 22:21:18 +00:00
Vadim Zeitlin
955be36cf8 wxTreeCtrl::IsVisible() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 22:14:31 +00:00
Vadim Zeitlin
2f02cb8966 wxDateTime starting to work, more tests for it and for threads in console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 21:55:00 +00:00
Robin Dunn
ec96574fbd a test file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 20:24:00 +00:00
Robin Dunn
eb7159455d Various small fixes and tweaks
Added wxIntersectRect helper function


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 20:21:55 +00:00
Robert Roebling
b47c832e55 Made db.h compile (removed this wxODBC_ONLY_FARWRD_XXXXXX),
Added sources for TIFF 3.5.2 from libtiff.org.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 18:42:35 +00:00
Robin Dunn
a6ad3e89c6 Various small fixes and tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 18:23:57 +00:00
Robert Roebling
700ec4546c Compile fix for GIF decoder,
Added image index to loadfile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 17:24:14 +00:00
Guillermo Rodriguez Garcia
a05da1b682 Doesn't reset the stream pos to 0 in CanRead().
Please note that the PCX handler still cannot read images
embedded in streams because it has to check for some things
at the END of the file before proceeding!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 14:40:57 +00:00
Guillermo Rodriguez Garcia
9d0e21da25 Fix to work with images embedded in streams (doesn't reset pos to 0)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 14:38:42 +00:00
Julian Smart
065de61268 Now allow SetMenuBar to be called several times.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 12:21:06 +00:00
Julian Smart
6b8b0e7ca0 Compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-30 10:07:03 +00:00
Vadim Zeitlin
9fc3ad34c5 joinable and detached POSIX threads (not fully tested yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 23:05:23 +00:00
Karsten Ballüder
7d3a036dc4 event handling fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 20:43:36 +00:00
George Tasker
a3439c7d16 Added support for creating forward or backward scrolling cursors support at run-time versus compile time. Default behavior will be determined by wxODBC_FWD_ONLY_CURSORS set in setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 19:20:53 +00:00
Robert Roebling
0b72db08a7 More TIFF things,
Disabled leaking debug code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 18:36:02 +00:00
Václav Slavík
b8aa1680f2 fixed wxBITMAP for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 17:33:44 +00:00
Václav Slavík
c1b43f8220 just deleted one empty line (testing CVS server)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 11:14:53 +00:00
Vadim Zeitlin
d1f4970d73 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 10:02:24 +00:00
Vadim Zeitlin
58aefa56e7 "no C++ comments in C files" rule
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 09:45:21 +00:00
Vadim Zeitlin
bd73863347 compilation fix (no C++ comments in C files, include/wx/expr.hsrc/msw/textctrl.cpp$include/wx/expr.h@!src/msw/textctrl.cppsrc/msw/textctrl.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 09:34:54 +00:00
Karsten Ballüder
2b0b665264 test complete :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:57:43 +00:00
Karsten Ballüder
75a2d2c79c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:57:08 +00:00
Karsten Ballüder
81a4f8460c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:56:52 +00:00
Karsten Ballüder
71ba5d266c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:55:59 +00:00
Karsten Ballüder
9c9f40d022 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:54:43 +00:00
Karsten Ballüder
b080e420ad test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:54:15 +00:00
Karsten Ballüder
d352e8509a test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:53:49 +00:00
Karsten Ballüder
2dfe62c86d test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:52:09 +00:00
Karsten Ballüder
0f65af9942 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:51:08 +00:00
Karsten Ballüder
0c83d66beb test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:50:39 +00:00
Karsten Ballüder
405c80ff3f test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:50:08 +00:00
Karsten Ballüder
46522c7910 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:49:23 +00:00
Karsten Ballüder
b28c70cf9f test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:48:48 +00:00
Karsten Ballüder
448663022d test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:48:27 +00:00
Karsten Ballüder
2c4c6c4abf test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:47:29 +00:00
Karsten Ballüder
1f381068b7 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:43:51 +00:00
Vadim Zeitlin
b76b015ed9 1. msec resolution for timer functions under Win32
2. small wxLog corrections/enhancements
3. some wxDateTime and wxLongLong work


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 23:30:18 +00:00
Unknown (JL)
2fc70a88e8 Same comment as in dc.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 22:15:35 +00:00
Unknown (JL)
ee41971cbb stupid double declaration of GetClippingBox due to the bad (lack of) usage of wxCoord in grid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 22:14:26 +00:00
Unknown (JL)
394e8031cb DoSetSize has to be virtual because subtype controls may have different implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 22:12:21 +00:00
Robert Roebling
ba5b8263f3 More fool-proof lock in thread events code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:46:55 +00:00
Václav Slavík
c9f56e70f4 wxHtmlWinParser::SetFonts now refreshes fonts cache
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:26:45 +00:00
Václav Slavík
ec74539c12 fixed MSVC++ (stupid) warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:26:12 +00:00
Václav Slavík
7dee4b2ba0 fixed minor bug in wxFileSystem's converting \ to /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:25:42 +00:00
Václav Slavík
d5db80c269 SetTitle method (internal use only) changed to virtual OnSetTitle, added GetOpenedPageTitle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:24:57 +00:00
Václav Slavík
31e24645c0 added &copy; in <PRE> environment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:24:34 +00:00
Václav Slavík
f09caa5758 changed icon name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:20:58 +00:00
Václav Slavík
bab537dc37 fixed wxBITMAP macro under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:20:14 +00:00
Václav Slavík
83efdf3393 added setup dialog, changed icons names (prefixed with w)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:19:28 +00:00
Václav Slavík
e6f9a44829 wxHTML icons are now prefixed with w so that it does not conflict with app's icon under MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:15:30 +00:00
Václav Slavík
d6a1e531a3 wxHTML icons are now prefixed with w so that it does not conflict with app's icon under MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 18:09:16 +00:00
Robert Roebling
60a41aee69 TIFF change 6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:21:03 +00:00
Robert Roebling
1c8d8d21dc TIFF change 5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:20:19 +00:00
Robert Roebling
8e1c188720 TIFF code 3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:19:05 +00:00
Robert Roebling
257bcf288a TIFF code 2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:18:25 +00:00
Robert Roebling
448dd031e3 TIFF code 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:17:53 +00:00
Robert Roebling
5ef9f90366 slider link fix 2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:17:24 +00:00
Robert Roebling
1e1fafb918 slider link fix 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:16:53 +00:00
Robert Roebling
c7a2bf27da Some tiff code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 17:11:24 +00:00
Robert Roebling
aec0ed2e25 More broken pipes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:48:39 +00:00
Robert Roebling
57a1fd7304 Damn broken pipes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:48:06 +00:00
Robert Roebling
aed8ac3f89 sfs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:47:36 +00:00
Robert Roebling
3f26799e25 ?kjashdf?aksj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:47:06 +00:00
Robert Roebling
5e7e9e1b68 More #include changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:46:33 +00:00
Robert Roebling
16c1f79c04 New event locking.
Removed CVS trash.
  Some compile fixes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-28 11:45:29 +00:00
Vadim Zeitlin
0979c96223 my old draft of wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 23:26:11 +00:00
Vadim Zeitlin
acb8423c2b compilation fixes for Unix - IT DOES NOT WORK YET, DON'T TRY IT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 23:24:12 +00:00
Vadim Zeitlin
9063ea8ee2 wxThread docs updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 23:15:07 +00:00
Vadim Zeitlin
b568d04ffa 1. wxThread changes (detached/joinable) for MSW and docs updates
2. wxUSE_GUI=0 compilation for MSW (use vc6dll.t with tmake) and many small
   fixes related to this
3. an attempt to make wxLog more MT friendly
4. a small fix for wxRegConfig: it doesn't create empty unused keys any
   more (SetPath() would always create a key, now it's deleted if it was
   empty)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 22:57:06 +00:00
Robin Dunn
aa9a4ae1a5 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 20:28:25 +00:00
Robin Dunn
0e0d88570a fixed to correctly use #if wxUSE_SPINCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 20:03:21 +00:00
Robert Roebling
55703c9178 ?lk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:45:59 +00:00
Robert Roebling
fb5dc8a2ee sds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:44:54 +00:00
Robert Roebling
a075e27bf3 sdasd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:43:47 +00:00
Robert Roebling
9826157f41 ?jl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:42:26 +00:00
Robert Roebling
66f384064d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:40:47 +00:00
Robert Roebling
56cfaa52a1 Added wxUSE_SPINCTRL
Changed some #include "gtk/.." to <>
  Removed GTK path from wx-config; this breaks wxPython's build.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 16:39:15 +00:00
Robert Roebling
13fb7b7a1f Correction to DnD code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 12:03:05 +00:00
Robert Roebling
72a7edf007 Minor changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 17:41:20 +00:00
Robert Roebling
b16088bf11 Same changes as last commit... Maybe CVS works now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 17:35:27 +00:00
Robert Roebling
e4c730e922 Added tooltips to radiobox (untested).
wxListCtrl now uses deferred events.
  Some debug code changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 17:34:17 +00:00
Vadim Zeitlin
fef15b42f3 attempt at more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 16:29:54 +00:00
Vadim Zeitlin
e959aee256 wxUSE_RICHeDIT added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 15:26:51 +00:00
Vadim Zeitlin
381dd4bfa2 more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 15:26:26 +00:00
Vadim Zeitlin
e42a6c18c4 1. wxBase compiles/links again
2. wxString::reserve() (STLese for Alloc()) added
3. compilation fixes for mingw32/BC++


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 11:44:01 +00:00
Vadim Zeitlin
252a752e85 1. wxBase compiles/links again
2. wxString::reserve() (STLese for Alloc()) added
3. compilation fixes for mingw32/BC++


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 11:37:42 +00:00
Vadim Zeitlin
10a0bdb193 mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 09:53:35 +00:00
Vadim Zeitlin
f048e32fcd 1. wxMDIParentFrame::~wxMDIParentFrame() bug fixed
2. tooltips work with wxRadioBox
3. duplicated OnCtlColor()s moved to wxControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 23:28:41 +00:00
Vadim Zeitlin
1e7215e676 compile fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 22:59:22 +00:00
Václav Slavík
c181287ca4 a bit better solution for &copy;,&nbsp; etc. (in terms of speed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 17:19:22 +00:00
George Tasker
6919c53fd2 Added "const" to the (char *) type params that should have been const params. Cleaned up code surrounding the upper casing (or not uppercasing) user names and table names for specific databases.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 15:54:04 +00:00
George Tasker
0b0ca94c89 Added "const" to the (char *) type params that should have been const params
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 15:52:09 +00:00
Jouk Jansen
85fb5ef8f2 Committing in .
VMS-Makefile for dialoged

 Added Files:
 	wxWindows/utils/dialoged/src/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 13:42:58 +00:00
Jouk Jansen
cd6361037d Committing in .
Changes needed to get dialoged utility compile on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/include/wx/setup.h
 	wxWindows/lib/vms.opt
 	wxWindows/utils/dialoged/src/reseditr.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 13:41:50 +00:00
George Tasker
e5ad852877 Commented out the defines of strnicmp and stricmp to fix OS/2 compilation. These should not be necessary any longer since db uses wxStrxxxx functions now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 12:35:31 +00:00
Jouk Jansen
7b5075ab92 Committing in .
Support for caret sample on VMS repaired

 Modified Files:
 	wxWindows/samples/caret/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 12:10:47 +00:00
Robin Dunn
d29aba2ff7 generated sources update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:57:07 +00:00
Robin Dunn
41509312d6 Split build instructions into a separate file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:12:34 +00:00
Robin Dunn
694759cfeb Bug fixes, new tests and demos, new generated source...
Added FileBrowseButton class to the library


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:08:14 +00:00
Robin Dunn
899493dd61 Added some test code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 07:03:09 +00:00
George Tasker
e9a145dfae Added optional param to Count() function to allow for counting DISTINCT columns rather than all columns
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:45:23 +00:00
George Tasker
ac4650263f Added preliminary support for Informix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:44:08 +00:00
George Tasker
e8af381479 Replaced all the strxxx() function calls with wxStrxxx() function calls. Added preliminary support for Informix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:42:51 +00:00
George Tasker
285c163f98 Replaced all the strxxx() function calls with wxStrxxx() function calls.
wxTable:Count() function now has an optional parameter to allow the count to be done on DISTINCT columns rather than all columns.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 18:40:02 +00:00
Robert Roebling
848bc5ba18 Partial fix for big_endian image conversion probs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 16:57:36 +00:00
Karsten Ballüder
c0d6c58bd0 fixed setfocus() flicker in listctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 15:11:29 +00:00
Vadim Zeitlin
0d0512bd8f 1. wxIcon/wxCursor change, wxGDIImage class added
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:55:02 +00:00
Vadim Zeitlin
6d167489bd 1. wxIcon/wxCursor change, wxGDIImage class added
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:30:56 +00:00
Julian Smart
162999bfb7 Removed strange wxFAIL; added dialup.cpp to filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:14:24 +00:00
Jouk Jansen
82a564fa35 Committing in .
New VMS sample compile support files

 Modified Files:
 	wxWindows/samples/bombs/descrip.mms
 	wxWindows/samples/checklst/descrip.mms
 	wxWindows/samples/config/descrip.mms
 	wxWindows/samples/controls/descrip.mms
 	wxWindows/samples/dialogs/descrip.mms
 	wxWindows/samples/image/descrip.mms
 	wxWindows/samples/menu/descrip.mms
 	wxWindows/samples/minimal/descrip.mms
 Added Files:
 	wxWindows/lib/vms.opt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 11:47:39 +00:00
Jouk Jansen
bceff37520 VMS option files clash with VC++. temporarily removed.
Removed Files:
 	wxWindows/samples/bombs/bombs.opt
 	wxWindows/samples/caret/caret.opt
 	wxWindows/samples/checklst/checklst.opt
 	wxWindows/samples/config/conftest.opt
 	wxWindows/samples/controls/controls.opt
 	wxWindows/samples/dialogs/dialogs.opt
 	wxWindows/samples/image/image.opt
 	wxWindows/samples/menu/menu.opt
 	wxWindows/samples/minimal/minimal.opt
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 10:17:04 +00:00
Václav Slavík
e52cac90cd added &copy; -> (c) conversion in html docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 09:20:57 +00:00
Robin Dunn
077def0b2a Removed some debug code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 21:45:36 +00:00
Robin Dunn
b731267565 a bug fix in helpers for ref-counting callbacks
some generated code updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 20:36:23 +00:00
Václav Slavík
80eab46937 fixed bug that caused wxHtmlWindow to segfault on html tables with cell(s) with rowspan>=3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 20:09:18 +00:00
Robin Dunn
84e4a8257d Splashscreen works better on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 19:30:12 +00:00
Robin Dunn
5bfb891ef8 Fixed so the tree looks proper on GTK and also reduced flicker.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 17:33:22 +00:00
Robin Dunn
2baa7b0cda fixing binary again...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 17:25:43 +00:00
Karsten Ballüder
80584ea306 Fixed linkage problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 15:38:47 +00:00
David Webster
c1b99516b6 Adding OS/2 default images and resource file to repository
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 14:53:13 +00:00
Karsten Ballüder
2686d91e13 Created wxSamples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 12:52:02 +00:00
Karsten Ballüder
11694d1f12 Compilation fix for Solaris.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 12:29:28 +00:00
Julian Smart
e2b34251cb WM_MOUSEMOVE correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 10:53:39 +00:00
David Webster
41404da71e CriticalSection update for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 01:06:26 +00:00
Robin Dunn
60c65519d0 Now sets the font for newly appended ownerdraw items.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 00:01:50 +00:00
Robert Roebling
071a2d7814 Include changes again. Something is wrong with CVS...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 19:46:55 +00:00
Robert Roebling
20e05ffbd3 Headers moved a bit.
Minor docs updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 19:44:25 +00:00
Jouk Jansen
ae285bb56a Committing in .
Compiling support for samples/controls on VMS

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/controls/controls.opt
 	wxWindows/samples/controls/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 14:59:21 +00:00
Jouk Jansen
39b307b82f Committing in .
samples/config/contest.cpp compilation on VMS
 Bug fix for "double home directory in fileconf.cpp

 Modified Files:
 	wxWindows/descrip.mms wxWindows/src/common/fileconf.cpp
 Added Files:
 	wxWindows/samples/config/conftest.opt
 	wxWindows/samples/config/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 14:31:37 +00:00
Robert Roebling
ccaaf5b083 Doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 12:13:55 +00:00
Jouk Jansen
abd7a159d2 Committing in .
Compliations of samples/checklst on VMS

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/checklst/checklst.opt
 	wxWindows/samples/checklst/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 10:34:59 +00:00
David Webster
20947e08ca OS/2 thread updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 05:27:57 +00:00
David Webster
892b89f3b7 thread updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 05:27:04 +00:00
Guillermo Rodriguez Garcia
55e8450757 explicitly set addr.LocalHost before creting the wxSocketServer object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-22 01:25:10 +00:00
Robert Roebling
11b620511d Forgot one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 19:29:42 +00:00
Robert Roebling
e909371890 makefile updates,
minor doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 19:28:15 +00:00
Robert Roebling
8a29359071 Updates to event docs. (removed evthandler::default).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 18:31:03 +00:00
Guilhem Lavaux
1cb6da2dda Fixed an incorrect behaviour in ResetBuffer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 18:16:40 +00:00
Robert Roebling
2e0e025ecd Added speed-up for font-loading (a bit simplistic),
Moving between items in a radiobox works again,
  Tried to remove remaining gap in a wxStaticBox that
    has no text-label.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 11:32:06 +00:00
Robert Roebling
7eef8db20d Called autoconf to update configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 10:25:46 +00:00
Robin Dunn
dafb483b3a Fixed bug in DnD. wxDragSource will now delete itself when done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 03:37:01 +00:00
David Webster
e78c4d503e updates for DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-21 01:03:00 +00:00
Robin Dunn
06d2a9e76e here it is again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:17:21 +00:00
Robin Dunn
7812795ed3 forgot to add the image with binary flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:16:32 +00:00
Robin Dunn
9fb56e0cbc Added SplashScreen class from Mike Fletcher and use it in the demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-20 21:15:12 +00:00
Robin Dunn
37bebc1112 Added encoding parameter to wxFontList::FindOrCreateFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 23:32:07 +00:00
David Webster
f38374d0d7 Removal of previous wxValidtor code for wxOS2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 22:36:55 +00:00
Vadim Zeitlin
f68586e51b wxWindow::GetBestSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 21:01:20 +00:00
Vadim Zeitlin
33879bb218 Tom's patch - hope I got it right this time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 18:59:19 +00:00
Vadim Zeitlin
cc160ba62b compilation fix for !wxUSE_MENU_CALLBACK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 16:19:33 +00:00
Jouk Jansen
c48afe2918 Committing in .
Support for the samples bombs and caret on VMS

 Modified Files:
 	wxWindows/descrip.mms
 Added Files:
 	wxWindows/samples/bombs/bombs.opt
 	wxWindows/samples/bombs/descrip.mms
 	wxWindows/samples/caret/caret.opt
 	wxWindows/samples/caret/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 09:47:30 +00:00
Robin Dunn
e395c057a3 updated wxMVCTree, VTK, and the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 05:34:40 +00:00
Unknown (JL)
5008c64c32 few adaptations to cope with new control.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 00:51:56 +00:00
Unknown (JL)
1dd521517c adding the notion of cyclic group of radiobutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 00:12:43 +00:00
Unknown (JL)
1395ff56f4 with only a little modification could be generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 00:11:42 +00:00
Unknown (JL)
2c4c7d0466 copy of the generic before adaptation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:41:17 +00:00
Unknown (JL)
cfcc3671ae needed to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:38:06 +00:00
Unknown (JL)
3fa28b5803 first add
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:37:02 +00:00
David Webster
2ce0a6e2d6 Some minor modifications for VA 4.0 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:31:51 +00:00
Unknown (JL)
31d80f31af for Gray Controls implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:30:08 +00:00
Unknown (JL)
6d3d1bb786 add Mac to the list of definition of HAVE_LOCALTIME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:15:21 +00:00
Unknown (JL)
c3f805b4ac needed for mac port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:13:14 +00:00
Unknown (JL)
0b939cbb2f To include the wx/mac version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:12:18 +00:00
Unknown (JL)
72582399ed Used when the Apparence Manager is not installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 23:10:31 +00:00
Vadim Zeitlin
32193feb83 Remove() -> RemoveAt()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 16:14:10 +00:00
Robert Roebling
97d7bfb8b4 Added wxEvtHandler::Disconect()
Added wxToolBar::DeleteTool()
  Removed the WXWIN_COMP... defines from the common setup.h
  Some tests,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 15:58:35 +00:00
Vadim Zeitlin
61b04ac652 wxGTK pastes text from rxvt again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 15:00:57 +00:00
Vadim Zeitlin
f373f19798 bug in wxArray::Remove() fixed (thanks Robert)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 14:54:02 +00:00
Vadim Zeitlin
ac7f0167aa wxLogTrace documentation updated and expanded, VC++ users note added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 14:34:13 +00:00
Jouk Jansen
338dd99216 Committing in .
Modifications to get rid of warnings on VMS

 Modified Files:
 	wxWindows/include/wx/utils.h wxWindows/src/common/date.cpp
 	wxWindows/src/common/datstrm.cpp
 	wxWindows/src/common/gdicmn.cpp wxWindows/src/common/image.cpp
 	wxWindows/src/common/object.cpp
 	wxWindows/src/common/sckipc.cpp
 	wxWindows/src/common/txtstrm.cpp
 	wxWindows/src/generic/fontdlgg.cpp
 	wxWindows/src/generic/listctrl.cpp
 	wxWindows/src/generic/scrolwin.cpp
 	wxWindows/src/generic/splitter.cpp wxWindows/src/motif/app.cpp
 	wxWindows/src/motif/bitmap.cpp
 	wxWindows/src/motif/bmpbuttn.cpp
 	wxWindows/src/motif/button.cpp
 	wxWindows/src/motif/checkbox.cpp
 	wxWindows/src/motif/choice.cpp wxWindows/src/motif/clipbrd.cpp
 	wxWindows/src/motif/colour.cpp
 	wxWindows/src/motif/combobox.cpp
 	wxWindows/src/motif/control.cpp wxWindows/src/motif/cursor.cpp
 	wxWindows/src/motif/dataobj.cpp
 	wxWindows/src/motif/dcclient.cpp
 	wxWindows/src/motif/dcmemory.cpp
 	wxWindows/src/motif/dcscreen.cpp
 	wxWindows/src/motif/dialog.cpp wxWindows/src/motif/filedlg.cpp
 	wxWindows/src/motif/font.cpp wxWindows/src/motif/frame.cpp
 	wxWindows/src/motif/gauge.cpp wxWindows/src/motif/icon.cpp
 	wxWindows/src/motif/listbox.cpp wxWindows/src/motif/mdi.cpp
 	wxWindows/src/motif/menu.cpp wxWindows/src/motif/menuitem.cpp
 	wxWindows/src/motif/msgdlg.cpp wxWindows/src/motif/palette.cpp
 	wxWindows/src/motif/radiobox.cpp
 	wxWindows/src/motif/radiobut.cpp
 	wxWindows/src/motif/region.cpp
 	wxWindows/src/motif/scrolbar.cpp
 	wxWindows/src/motif/settings.cpp
 	wxWindows/src/motif/slider.cpp wxWindows/src/motif/statbmp.cpp
 	wxWindows/src/motif/statbox.cpp
 	wxWindows/src/motif/stattext.cpp
 	wxWindows/src/motif/textctrl.cpp wxWindows/src/motif/timer.cpp
 	wxWindows/src/motif/toolbar.cpp wxWindows/src/motif/utils.cpp
 	wxWindows/src/motif/window.cpp wxWindows/src/unix/fontutil.cpp
 	wxWindows/src/unix/utilsunx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 14:30:10 +00:00
Karsten Ballüder
742ff1e12f Linux/AXP compilation fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 09:26:30 +00:00
Guillermo Rodriguez Garcia
06a0865f41 Changed default address from INADDR_ANY to INADDR_NONE in GAddress_Init_INET,
so that if the address is not correctly initialized it won't connect to localhost
by default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 08:41:50 +00:00
Guillermo Rodriguez Garcia
2d8353236d Changed default address from INADDR_ANY to INADDR_NONE in GAddress_INET_Init,
so that if the address is not correctly initialized it won't connect to localhost
by default.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 08:39:51 +00:00
Robin Dunn
7b9da2077d VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 07:17:57 +00:00
Václav Slavík
0b5d3315b3 I changed wxUSE_HTML (and other related wxUSEs) to 1. wxHTML is stable enough and all other options are enabled by default so I guess it's time to enable wxHTML as well :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:35:32 +00:00
Václav Slavík
2376d03d88 fixed incomplete lists of supported handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:34:25 +00:00
Václav Slavík
b75dd496d2 wxBitmap::LoadFile and SaveFile now uses wxImage's methods in case there is no wxBitmap handler for given type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:33:52 +00:00
Václav Slavík
169ee06c44 wxHtmlWindow::LoadPage does not use wxBusyCursor anymore. Instead it displays local hourglass cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:33:30 +00:00
Robin Dunn
9779893b90 Added wxWakeUpIdle() for MSW and empty stubs for Motif, OS2, and Mac
Pending events are now deleted after being processed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 21:02:45 +00:00
Julian Smart
5f2936dacb Made some treectrl sample icons transparent; added toolbar.h to wx.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 14:29:00 +00:00
Jouk Jansen
b8ad9f18ca Committing in .
New timing routines need new setup-definitions
 Modified Files:
: 	wxWindows/setup.h_vms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 13:45:26 +00:00
Unknown (MT)
e16ebee6a9 use a smaller tip font for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 02:05:17 +00:00
David Webster
d5c22d1042 Modified full UNICODE support for VisualAge C++ for OS/2 V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 23:24:31 +00:00
David Webster
c49359e0fc VisualAge V4.0 duplicate definition error suppression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 23:21:08 +00:00
Vadim Zeitlin
3175c712e9 wxMSW fixes after wxFrameBase change - seems to work ok too by now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 23:09:32 +00:00
Vadim Zeitlin
7c0ea335c7 wxFrameBase class for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 21:31:40 +00:00
Vadim Zeitlin
40779a03e7 assert in OnSelected() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 16:59:10 +00:00
Vadim Zeitlin
148cd9b6ec send wxActivateEvents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 16:44:23 +00:00
Vadim Zeitlin
ebf2689b4d wxWindows/misc correction (was doubly included in wxGTK module)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 16:02:12 +00:00
David Webster
ec6f69825a Added full UNICODE support for VisualAge C++ for OS/2 V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 15:49:36 +00:00
Vadim Zeitlin
4419ba31aa crash when deleting window in OnUnsplit() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 15:31:40 +00:00
Vadim Zeitlin
8a729bb860 RemoveAt() added to array classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 13:28:23 +00:00
Vadim Zeitlin
bffa1c7746 wxListCtrl::DeleteAllItems() doesn't send notification events (as documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 13:14:06 +00:00
David Webster
bbdc9a8780 More wxWindow work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 05:52:04 +00:00
Unknown (MT)
568e7b4ac8 fix compile error - too many }
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 01:58:05 +00:00
Unknown (MT)
d3fef91f56 ignore error when trying to delete zlib.lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 01:55:24 +00:00
David Webster
776d87d504 wxWindow class work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 23:16:19 +00:00
Karsten Ballüder
329e50732b private dataformat almost working - minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 21:15:25 +00:00
Robert Roebling
f49f2b0c33 Added header vs. library version check to configure,
Fixed problem in wxTreeCtrl when nothing was selected
   upon startup and tabbing into it crashed.
 I understood now what filterindex in file dialog means.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 19:35:10 +00:00
Robin Dunn
ef30972aed distrib update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 19:25:43 +00:00
Robin Dunn
f802b3d360 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 19:25:21 +00:00
Vadim Zeitlin
ce52ac88bc more IRIX support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 17:33:51 +00:00
Robert Roebling
c4fda16bb0 Added a few non-threads compile fixes,
Removed strcasecmp defines from db.cpp and dbtable.cpp,
  Added more stand-alone makefiles,
  wxDropSource::DoDraDrop()'s return values works now
    (wxDragNone, -Copy, -Move).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 17:31:10 +00:00
Ron Lee
266b635a28 enabled _vsnprintf for mingw with norlander headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 17:19:52 +00:00
Vadim Zeitlin
fbf0c83d3c optimisation in wxString::AllocBeforeWrite() - realloc() used instead malloc() whenever possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 16:14:10 +00:00
Vadim Zeitlin
78ee892753 oops, compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 15:57:56 +00:00
Vadim Zeitlin
378b05f7f8 wxSnprintf() and wxVsnprintf() added, documented and used in wxLog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 15:49:59 +00:00
Karsten Ballüder
e2de943347 wxGTK must include wxWindows/misc or make install will fail
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 15:30:21 +00:00
Vadim Zeitlin
c2a05373bf patch from Tom Surace for 16 color mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 14:30:15 +00:00
Vadim Zeitlin
5d5de0b677 NO C++ COMMENTS IN THIS FILE PLEASE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 14:07:51 +00:00
Vadim Zeitlin
9739d9ee80 wxMenu::callback stuff taken inside WXWIN_COMPATIBILITY_2 (everybody should
be happy now)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 14:04:06 +00:00
Vadim Zeitlin
c09f28798b patches from Ricky Gonzales <gonzales@pyramid3.net> for BC++ Builder
compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:57:22 +00:00
Vadim Zeitlin
7aa4cce853 PPP interface under IRIX is called 'ppp'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:50:17 +00:00
Vadim Zeitlin
1834190409 IRIX compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:39:23 +00:00
Vadim Zeitlin
5b1eea6ab8 wxCriticalSectionLocker ctor param type corrected, example of using it added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:34:57 +00:00
Vadim Zeitlin
83ef322ddd wizard.h added to the list of headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:29:04 +00:00
David Webster
9ed0fac8a8 wxApp development for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 04:50:09 +00:00
David Webster
d45d30c868 Minor tweek for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 04:48:33 +00:00
David Webster
6b1e0606aa HAVE_LOCALTIME def for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 04:47:19 +00:00
Vadim Zeitlin
222594ead7 1. fixed wxStaticBox background erasing (or, rather, restored the old bug)
2. fixed the mask code in wxBitmap(const wxIcon&) - now it really works (Win32)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 01:19:46 +00:00
Robert Roebling
ba0e7d4111 Distrib changes.
Augmented version to 2.1.12.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 19:25:07 +00:00
Julian Smart
5b0d48b32a Added m_callback init.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 17:51:57 +00:00
Guilhem Lavaux
cc82835c2b Fixed bug in wxSound windows driver (Recording is in progress: don't try it
it make Windows crash completely)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 17:20:11 +00:00
Robert Roebling
454e2a22c0 Small change to SetFont() logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 17:04:36 +00:00
Robert Roebling
cb148defda Added two stand alone makefiles for samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 16:18:21 +00:00
Robert Roebling
bf9e3e7367 Added wxWakeUpIdle() to wxGTK,
Changed wxFindFile to detect hidden files (but not "." and ".." as before),
  Added "show hidden files" to file dialog,
  Added controls to wxToolBar,
  doc view now uses pretty file dialogs as per MSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 15:14:23 +00:00
Julian Smart
c0ab6adfed Watcom C++ fixup in tbar95.cpp; removed WXWIN_COMPATIBILITY for 'old' menu
constructor and event handling; added wxString version of wxGetTempFileName


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 14:41:30 +00:00
Ove Kaaven
021e0f2105 Looks like someone did str[n]cmp -> wxStr[n]cmp global replace or something
even in files where this shouldn't be done?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 11:35:16 +00:00
Vadim Zeitlin
4fe5383d6c 1. wxBitmap copy ctor and operator=() taking wxIcon added
2. wxBitmapButton focus rect looks a bit better and it respects the icon
   mask
3. wxWizard::GetPageSize() added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 02:22:27 +00:00
Václav Slavík
954269e6dd html help : search panel now has more logical order of controls (list of books is after search button, not the last item)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 18:28:07 +00:00
Robert Roebling
69ffe1d20b Compile fix in dialup,
Removed GTK's native tab traversal and fixed some related probs,
  Fixed a crash in wxListCtrl,
  Added configure correction ofr HP-UX GNU shared linker.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 15:58:53 +00:00
Ove Kaaven
7aa733b31e No, .mo files doesn't use Unicode, so use strcmp here, not wxStrcmp...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:57:12 +00:00
Ove Kaaven
511f273f9e Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:51:40 +00:00
Ove Kaaven
958012e0bd From: #define wxTRANSLATE(str) (str)
To:   #define wxTRANSLATE(str) wxT(str)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:48:00 +00:00
Ove Kaaven
08942a0c0d fopen -> wxFopen and such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:44:15 +00:00
Ove Kaaven
5c9ea14d97 wxGetHostName uses wxChar, not char
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 10:27:59 +00:00
Robin Dunn
a24282a442 distrib file updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 08:45:03 +00:00
Robin Dunn
564747ee85 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 08:15:30 +00:00
Robin Dunn
27df96a8d1 one more note
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 08:03:38 +00:00
Robin Dunn
0572a7bb9c fixing distrib script
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 07:52:03 +00:00
Robin Dunn
6230a84fdc more tweaks for release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 07:33:29 +00:00
Ron Lee
51471a1074 added patch for _(v)snprintf protos in stdio.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 06:10:03 +00:00
Robin Dunn
e19b716460 Added a demo showing how to use wxPostEvent
Added an MVCTree contribution
Some final tweaks for this release


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 05:52:53 +00:00
Ron Lee
3739399733 added simple test for wxStaticBoxSizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 05:07:18 +00:00
Vadim Zeitlin
07cf98cb8e 1. undid my wrong fix to wxWindowBase::Centre
2. corrected fatal bug in wxCheckLstBox (double deletion of items)
3. wxTextCtrl::SetValue() only does it if the new text is different from
   the old one
4. wxBitmap(const wxIcon&) ctor added
5. compilation fixes for VC++ and generic Win32 implementation of
   wxGetCurrentTime() in timercmn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 00:30:45 +00:00
Vadim Zeitlin
fd69e87d25 compilation fix (float => wxCoord)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:41:43 +00:00
Vadim Zeitlin
f76dbc4d52 unused param warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:31:35 +00:00
Vadim Zeitlin
148c45edfb compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:26:50 +00:00
Vadim Zeitlin
f03a98d873 aesthetic fix to configure (extra comma)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:26:21 +00:00
Vadim Zeitlin
d465862f71 Motif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:24:46 +00:00
Vadim Zeitlin
0470b1e6fe wxTimer/timercmn.cpp change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:19:38 +00:00
Vadim Zeitlin
97d3f0eee6 fixes for wxFontMapper endless recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 17:00:02 +00:00
Vadim Zeitlin
741a9306b3 more samples added to SAMPLES_SUBDIRS (minimal, font, richedit)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:47:37 +00:00
Karsten Ballüder
a4bacadeb2 fixed endless recursion for loading of default font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:31:33 +00:00
Julian Smart
23a8562d7a Removed warning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:12:26 +00:00
Vadim Zeitlin
410eaf6d66 small fixes; rearranged module definitions in a more readable way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 16:04:50 +00:00
Vadim Zeitlin
47f7a3a726 some HTML links \urlref'ied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:33:47 +00:00
Vadim Zeitlin
e4a71fc3f9 note about VMS linker case insensitivity added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:29:07 +00:00
Vadim Zeitlin
de6019fb15 OutputDebugStringW95 removed - it's really unnecessary - and the references to
DBWIN32 in the docs replaced with DbgView


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:15:14 +00:00
Vadim Zeitlin
837e96fc55 Solaris compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:03:26 +00:00
Vadim Zeitlin
3cdb471c6a (old) mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:58:35 +00:00
Vadim Zeitlin
772507f1f4 Centre() centers the window centre and not the upper left corner
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:55:37 +00:00
Vadim Zeitlin
423a556f53 mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:50:44 +00:00
Vadim Zeitlin
4e15f6c57a mingw32 compilation fixes (unfortunately, this effectively disables placing controls into the toolbar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:50:29 +00:00
Vadim Zeitlin
43c9c17dfb note about WX_DEFIN_EOBJARRAY added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:46:11 +00:00
Jouk Jansen
2b8e283d47 Committing in .
Support to compile the image sample on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/docs/readme_vms.txt
 Added Files:
 	wxWindows/samples/image/descrip.mms
 	wxWindows/samples/image/image.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:35:18 +00:00
Vadim Zeitlin
8d0df10dcf warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:33:36 +00:00
Vadim Zeitlin
7f4791dda9 it didn't compile at all...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:31:59 +00:00
Jouk Jansen
43dc9c15ef Committing in .
Files needed to compile the dialogs sample on VMS

 Added Files:
 	wxWindows/samples/dialogs/descrip.mms
 	wxWindows/samples/dialogs/dialogs.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 13:18:46 +00:00
Jouk Jansen
816654badb Committing in .
Support for compilation of dialogs sample on VMS

 Modified Files:
 	wxWindows/descrip.mms wxWindows/docs/readme_vms.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 13:17:42 +00:00
Jouk Jansen
548be1f513 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 12:55:48 +00:00
Jouk Jansen
7499ebbe6c Committing in .
Compilation support for minimal sample on VMS

 Modified Files:
 	descrip.mms
 Added Files:
 	samples/minimal/descrip.mms samples/minimal/minimal.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 12:54:41 +00:00
Jouk Jansen
f9cb48eff3 Committing in .
Added Files:
 	docs/readme_vms.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 12:11:45 +00:00
Jouk Jansen
e22c27b6bd Committing in .
VMS patch (typo in previous one)

 Modified Files:
 	wxWindows/include/wx/defs.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:51:17 +00:00
Jouk Jansen
00ad47b0a2 Committing in .
Link option file for VMS

 Added Files:
 	wxWindows/samples/menu/menu.opt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:36:08 +00:00
Jouk Jansen
14e5a5ed1c Committing in .
Added Files:
 	wxWindows/samples/menu/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:35:30 +00:00
Jouk Jansen
59f0336397 Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/common/parser.y


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:30:42 +00:00
Jouk Jansen
4900c03954 Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/setup.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:28:38 +00:00
Jouk Jansen
e1c70641a3 Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/sckaddr.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:27:07 +00:00
Jouk Jansen
aec34b4682 Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/defs.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:25:41 +00:00
Jouk Jansen
6a370f427a Committing in .
VMS patch

 Modified Files:
 	wxWindows/include/wx/app.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:18:54 +00:00
Jouk Jansen
af9d1662d9 Committing in .
VMS patch
 Adding some expicit type casts

 Modified Files:
 	wxWindows/src/unix/gsocket.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:16:52 +00:00
Jouk Jansen
d554e5da38 Committing in .
VMS7.x patch

 Modified Files:
 	wxWindows/src/common/doslex.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:08:29 +00:00
Jouk Jansen
61f0d452ea Committing in .
VMS7.x patch

 Modified Files:
 	wxWindows/src/common/cwlex_yy.c


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:07:12 +00:00
Jouk Jansen
07518267d1 Committing in .
Makefile for VMS
   makes files in src/motif

 Added Files:
 	wxWindows/src/motif/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:04:28 +00:00
Jouk Jansen
62edfd9e59 Committing in .
Makefile for VMS
   makes files in src/unix

 Added Files:
 	wxWindows/src/unix/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:02:47 +00:00
Jouk Jansen
0fcdf6dcc5 Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/unix/utilsunx.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 11:00:33 +00:00
Jouk Jansen
ff52285867 Committing in .
Makefile for VMS
   used to generate files in src/generic

 Added Files:
 	wxWindows/src/generic/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:56:14 +00:00
Jouk Jansen
e0b3e85b5a Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/generic/helpext.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:53:52 +00:00
Jouk Jansen
79a8a691e9 Committing in .
VMS patch

 Modified Files:
 	wxWindows/src/generic/dcpsg.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:51:39 +00:00
Jouk Jansen
a8a32ce2cf Committing in .
Makefile for VMS
  makes files in src/common

 Added Files:
 	wxWindows/src/common/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:49:19 +00:00
Jouk Jansen
7e72d7aaa2 Committing in .
Patch for VMS7.x

 Modified Files:
 	wxWindows/src/common/utilscmn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:47:11 +00:00
Jouk Jansen
5230801e77 Committing in .
Patch needed for VMS

 Modified Files:
 	wxWindows/src/common/timercmn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:17:05 +00:00
Jouk Jansen
6842d18650 Committing in .
Patch for VMS7.x

 Modified Files:
 	wxWindows/src/common/memory.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:09:49 +00:00
Jouk Jansen
acdc3b6b5c Committing in .
Patches for VMS7.x

 Modified Files:
 	wxWindows/src/common/filefn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 10:07:52 +00:00
Jouk Jansen
c4886362e4 Main make file for VMS
Added Files:
 	wxWindows/descrip.mms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 09:57:21 +00:00
Jouk Jansen
0db9d8d2ea New file use to configure the compilation on VMS-systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 09:23:31 +00:00
Robin Dunn
8c58829804 more floatbar tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 06:23:28 +00:00
Vadim Zeitlin
c8f1f08817 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 03:12:51 +00:00
Vadim Zeitlin
2ccf68ce7c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 02:21:17 +00:00
Vadim Zeitlin
1c383dbac9 controls can now be put in the toolbars (MSW only so far, preliminary version)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 02:17:44 +00:00
Stefan Csomor
7c74e7fe1d wxMac completed so far, generic listctrl extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 16:11:14 +00:00
Václav Slavík
8c651ab787 <br><br><br> is now handled correctly, e.g. empty lines are inserted (unlike <p><p><p>)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 16:08:52 +00:00
Robert Roebling
4b59bea3dd Fixed optical bug in wxListCtrl,
Added dnd.wxr to install script,
  Fixed two problems in wxGLCanvas.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 15:41:43 +00:00
Ron Lee
7790267175 #included log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 13:33:24 +00:00
Karsten Ballüder
a832f63206 fixed solaris gethostname() prototype
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 11:04:47 +00:00
Julian Smart
cf1d22d685 Added a bug report; C++Builder compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 11:01:28 +00:00
Julian Smart
1c6fb09fe2 Added files to make patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 10:59:37 +00:00
David Webster
13a4ea8d83 Finished up utilities testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 04:40:29 +00:00
David Webster
f28538c5f6 Quick fix up for __WXPM__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 04:39:48 +00:00
Vadim Zeitlin
3f2711d5c1 1. wxStaticBox doesn't draw over the underlying controls any more
2. a couple of new helper functions in msw/private.h: wxColourToRGB and
   wxRGBToColour are handy to avoid writing horribly long and ugly RGB <-> wxColour
   conversions explicitly
3. modified wxDirDialog to be more comprehensible (to me), hopefully it also
   works better


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 00:25:57 +00:00
Robin Dunn
e0473f5f5a Tweaking some of the new wxPython stuff for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 22:47:12 +00:00
Vadim Zeitlin
26bf1ce0bc 1. made it possible to use wxUpdateUIEvent with wxTextCtrl under wxGTK
2. ... and with controls with id < 0 under all others as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 17:40:02 +00:00
Vadim Zeitlin
957d856c81 added 2 more cursors (patch from Gerd Mueller)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 17:19:19 +00:00
Julian Smart
4f02408ec9 Stupid makeprog.vc corruption fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 13:26:55 +00:00
Stefan Csomor
51abe921b8 wxMac (debug) builds and runs wxMinimal again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 11:32:00 +00:00
Robin Dunn
944930d5f5 Added calendar contributed by Lorne White
Some tweaks for wxFloatbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-10 08:03:29 +00:00
Robin Dunn
be2577e4e6 wxSizer patches by Alexander Smishlajev <als@turnhere.com>
Adds some wxALIGN_* flags to increase ability to position item
    within its allotted space.

    Adds wxSHAPED flag that enforces proportional resizing on growable
    items.

    Adds a sample and updated documentation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 23:02:41 +00:00
Vadim Zeitlin
a7540f46f7 compiles with or without wxSpinCtrl now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 19:19:39 +00:00
Vadim Zeitlin
7bf07d2635 compilation fixes, Makefile.in added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 18:10:50 +00:00
Stefan Csomor
e75491071d mac adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 15:24:52 +00:00
Robert Roebling
eff869aad2 Removed Vadim's surplus code in clipboard.
wxTreeCtrl now creates its two font in the constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 14:48:41 +00:00
Vadim Zeitlin
dcda1c71b1 fix for FreeBSD compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 14:32:40 +00:00
Karsten Ballüder
9707f3fddd usleep() prototype added for solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 12:31:55 +00:00
Karsten Ballüder
6ed6d1239a added gethostname protoype for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 10:21:53 +00:00
Stefan Csomor
d30ab05b0d will not be adopted to 2.1, pro 4 was too buggy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 08:42:05 +00:00
Stefan Csomor
ae550e6b64 .mcp was broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 08:41:32 +00:00
David Webster
e8fd750b53 OS/2 resource storage and retrieval
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 05:57:19 +00:00
Julian Smart
47f12f58db Added m_nSelection = -1 fixes to RemovePage, DeleteAllPages (from Scott Newham)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 01:53:44 +00:00
Julian Smart
a925b00678 Misc small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-09 01:52:28 +00:00
Julian Smart
154f22b3fa Fixes to Cygwin/Mingw32 makefile, manual now compiles wxStaticLine, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 21:14:50 +00:00
Karsten Ballüder
3b0c8308f1 Minor fixes to plug memory hole, will add WXLO import ASAP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 20:55:14 +00:00
Vadim Zeitlin
2f5292c3df compilation fix for Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 18:38:56 +00:00
David Webster
3c0df30065 Minor fix to environment to support co-existance of msw and os/2 port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 17:35:17 +00:00
Vadim Zeitlin
a5fc62a112 Motif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 17:07:54 +00:00
Vadim Zeitlin
19d89516dd wxDataObjectComposite/Custom seem to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 17:05:51 +00:00
Vadim Zeitlin
fe26d444bb DEBUG => __WXDEBUG__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 16:38:17 +00:00
Vadim Zeitlin
0d0837053c small Motif compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:59:33 +00:00
Vadim Zeitlin
ea9144a3bc minor aesthetic fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:56:41 +00:00
Vadim Zeitlin
270c23f7bd pasting text from xterm works, finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:28:04 +00:00
George Tasker
e041ce574b Fixed __WXDEBUG__ references to use #ifdef rather than checking for it being greater than 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:23:41 +00:00
George Tasker
18f4ad8673 Fixed reversed logic on wxODBC_FWD_ONLY_CURSORS.
getRec now will return as successful if the result was SQL_SUCCESS_WITH_INFO


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:09:47 +00:00
Vadim Zeitlin
e66ad5c68d removing Makefile.ams (and minor additions/fixes to the samples)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 15:06:41 +00:00
George Tasker
ac99a98ff0 Fixed reversed logic on wxODBC_FWD_ONLY_CURSORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:59:26 +00:00
George Tasker
e3baecd7d6 wxEndBusyCursor() was being called, even when it was not needed, causing a wxAssert in debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:55:05 +00:00
Julian Smart
6adaedf0fc Made various Motif fixes, wxListBox/wxChoice derive from wxControlWithItems,
added release.txt


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 14:53:39 +00:00
George Tasker
5e84fc5a82 Replaced an old ifndef FWD_ONLY_CURSORS with the new wxODBC_FWD_ONLY_CURSORS setup.h define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 13:46:18 +00:00
Robin Dunn
8a28f119c8 Sombody committed this with a hard-coded pathname for WXDIR. Fixed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 07:10:11 +00:00
Robin Dunn
4120ef2b38 wxPython updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 06:58:32 +00:00
Robin Dunn
085078a1c4 Made SetType public to match MSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 06:07:20 +00:00
David Webster
5d4b632ba3 OS/2 PM Fixeups for fonts, validators, and html
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 05:20:31 +00:00
David Webster
57c4d796c5 OS/2 PM specific fixes for validators and fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 05:18:15 +00:00
George Tasker
aa33452c94 wxStrnicmp() function is not defined under windows, so I've provided a workaround that does not require that function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 01:17:24 +00:00
Julian Smart
01dba85a7f Various fixes for various compilers...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 18:34:36 +00:00
George Tasker
a968c19a82 GUI display problems fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 16:44:45 +00:00
Robert Roebling
81c67e27fd More replacements of strcmp -> wxStr..
Minor change in font code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 16:08:25 +00:00
George Tasker
8493118f58 Column name IS_DEVELOPER in index was shortened to IS_DEV to match the column name in the table. These names were shortened to allow use by dBase which only allows 8 character column names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 15:26:56 +00:00
George Tasker
d433a26fd4 Cleaned up a compile warning on the MAX_PATH definition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 15:06:13 +00:00
Robert Roebling
9199e66fb5 Added wxStrnicmp and to wchar.h, not yet for Unicode mode.
Changed strcmp to wxStrcmp in db.cpp and dbtable.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 14:53:38 +00:00
George Tasker
d194ddf23b Undoing my last checkin so wxGTK compiles correctly under unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 14:43:30 +00:00
Julian Smart
ad556aa948 Tidied up wxHTML About HTML file (missing /td, /tr etc.: how did that work? :-));
added sample entries to index.htm; fixed some wxUSE_SPINBUTTON -> wxUSE_SPINBTN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 12:36:36 +00:00
Robin Dunn
65dd82cbce wxPython stuff:
1. Added test for HTML printing
  2. Update wxFontEnumerator
  3. wxPyEvent and wxPyCommandEvent derived classes now return the
     actual Python object in the event handler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 07:49:09 +00:00
George Tasker
e4a330f1e5 Fixed a multiple define problem for strnicmp and stricmp by using the definition from utils.h if compiling for wx2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 02:03:37 +00:00
Vadim Zeitlin
6a2e72251f OS/2 patch from Stefan.Neis@t-online.de
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:48:34 +00:00
Vadim Zeitlin
f3ac12aa7a compile fix for VC++ 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:46:06 +00:00
Julian Smart
106f039552 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:43:45 +00:00
Robert Roebling
9f2d09aad2 Applied a few OS/2 patches for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:39:09 +00:00
Vadim Zeitlin
74d38ad8e2 1. more corrections to file dnd (works with testdnd GTK sample now as well)
2. restored STRING for g_textAtom, not text/plain


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:35:15 +00:00
Karsten Ballüder
61a6d4c23a some fixes and speedups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 18:23:50 +00:00
Vadim Zeitlin
810b5e1f3b wxFileDataObject supports GNOME file dnd now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:58:56 +00:00
George Tasker
9695185a70 Added wxODBC_FWD_ONLY_CURSORS to allow for drivers/data sources that only support forward scrolling cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:50:34 +00:00
Guilhem Lavaux
56dc1ffd50 Fixed wxMemoryOutputStream (it wasn't working at all)
Fixed wxStreamBuffer to support features of wxMemoryOutputStream
wxMMedia2 updates (various fixes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:44:03 +00:00
Václav Slavík
81915974f6 fixed URL parsing problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:28:02 +00:00
Julian Smart
0e528b997e Added some makefiles, fixed a BC++ problem in controls.cpp; changed some class
ordering for VC++ 1.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:12:10 +00:00
George Tasker
78f071b6cc Renamed FWD_ONLY_CURSORS to wxODBC_FWD_ONLY_CURSORS to avoid conflicts with other libraries. The setting for this define will be included in the setup.h files so that people using the Remstar ODBC classes will now be able to use data sources/ODBC drivers that only support foward scrolling cursors (like dBase).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:09:35 +00:00
Karsten Ballüder
b581c7e649 mouse selection handling fixed
wxGTK private clipboard data format and private selection are broken!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:59:44 +00:00
Karsten Ballüder
41ee29dfda fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:56:47 +00:00
Robert Roebling
4349acd401 wxListBox now sends events using AddPendingEvent(),
I wonder if that really is good.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:47:38 +00:00
Vadim Zeitlin
97206645f1 test for wxFrame::GetPosition/GetSize added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 16:12:44 +00:00
Václav Slavík
01325161d5 cosmetic changes : indentation etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:41:14 +00:00
Václav Slavík
5c172c1788 html help : added '?' icon to root node of contents panel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:40:35 +00:00
Václav Slavík
42d306a033 wxHTML overview reorganized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:39:25 +00:00
Václav Slavík
6fa588a864 added list of tags supported by wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:39:01 +00:00
Václav Slavík
435151d7f2 added wxFontEnumerator::GetFacenames and GetEncodings that return array of facenames/encodings found by EnumerateXXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:38:23 +00:00
Václav Slavík
f0dc00f39c fixed stupid typo I did a minute ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:28:24 +00:00
Václav Slavík
bd6882eed7 modified samples/html/test so that it loads inet fs handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 15:25:06 +00:00
Václav Slavík
7512153245 better-looking icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 13:38:22 +00:00
Robert Roebling
2d68e1b4f4 Fixed typos in frame and dialog,
Some improvemnts to DnD,
  It's no longer possible to close any
    frame if there is a dialog open.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 11:21:51 +00:00
Julian Smart
6e47faf150 Fixed image sample, dsp files etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 10:39:19 +00:00
Julian Smart
0a2017e01e Minor doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 10:22:11 +00:00
Robin Dunn
b1462dfa34 wxPython stuff:
1. Added Clipboard and Drag-and-Drop classes
  2. Added wxFontEnumerator
  3. Many changes to wxMenu, wxMenubar
  4. Various other changes and additions
  5. Updates to the demo
  6. Documentation updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:30:23 +00:00
Robin Dunn
024fb9b98a Fixed a misplaced } that was causing the wrong encoding to be enumerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:03:56 +00:00
Robin Dunn
82c87ed37c Stuff needed for the font sample to build with VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:01:42 +00:00
Robin Dunn
5f287fcf1d added a WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 08:00:29 +00:00
Robin Dunn
7e69b0e8ac added fontenum.cpp for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 07:59:50 +00:00
Vadim Zeitlin
11c7d5b6d1 1. wxFontMapper seems to work for wxMSW
2. font functions moved into a separate file, duplicated code in font.cpp
   and fontdlg.cpp removed
3. wxCustomDataObject docs finished


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:43:31 +00:00
Václav Slavík
51f79d5c67 fixed memory leak in wxFilesystemHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:14:25 +00:00
Václav Slavík
ec939b6813 fixed some clipping related bugs in wxHTML priting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:13:28 +00:00
David Webster
87d673313d Change the const global wxDefaultValidator to a pointer for VisualAge
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 22:09:37 +00:00
Vadim Zeitlin
79e4b6277e wXMotif compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 19:36:35 +00:00
Vadim Zeitlin
864753e906 (start of) wxCustomDataObject docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 19:19:58 +00:00
Vadim Zeitlin
7beba2fc73 1. wxFontMapper almost finished
2. font helper functions are now in separate files, not utilsunx.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 19:03:19 +00:00
Robin Dunn
feef75abca Incremented the version number used in the DLL filename to match version.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 18:47:26 +00:00
Robert Roebling
faecf4cb9a This window positioning setting works on AfterStep
and almost on KDE 1.0, so lets leave it here.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 18:25:40 +00:00
Karsten Ballüder
0c4234663d another operator needed for __alpha__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 17:04:13 +00:00
Robert Roebling
8487f88742 Added IsTopLevel() as a virtual function.
Added fontenum.hto filelist.txt,
  Changed window positioning code again,
  some more related things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:54:10 +00:00
Julian Smart
2bc1aa1174 Cleaned up paint DC cache in ~wxPaintDC to avoid spurious memory warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:04:31 +00:00
Vadim Zeitlin
60be19c4ba fontmap.h/cpp and fontutil.h/cpp added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 14:41:46 +00:00
Vadim Zeitlin
7e14e49f38 compilation fixes for GTK+ <= 1.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 13:04:13 +00:00
Karsten Ballüder
ef500a4059 fixed menu accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 10:56:38 +00:00
Karsten Ballüder
bb44571b29 added missing event.Skip(), now menus work properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 09:56:19 +00:00
Stefan Csomor
519cb848a8 CW5.2 Pro Adaptions, wxMac starting to move in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 09:16:09 +00:00
Robin Dunn
20f2deb3cf Change a Popup menu from using a callback to using events. Can't test
it right now but it compiles.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 06:56:53 +00:00
Julian Smart
cd77c08509 Retyping some lines in tfontenc.tex seemed to remove a strange WinHelp compile
problem...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 20:43:52 +00:00
Vadim Zeitlin
3c1866e88f 1. wxFontMapper starts to materialise
2. wxFontEnumerator corrections: EnumerateFamilies => EnumerateFacenames


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 20:40:41 +00:00
Julian Smart
7f24fdbfea Some doc changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 20:04:04 +00:00
Robert Roebling
2e5c594e36 Window placement changes. Pure guessing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 19:47:03 +00:00
Vadim Zeitlin
90c6f4d6f5 wxUSE_RADIOBOX/SLIDER/SPINCTRL added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 18:20:35 +00:00
Robert Roebling
330d6fd063 Minor doc updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 17:49:21 +00:00
Vadim Zeitlin
678b92a94a more samples are being built and samples/Makefiles uses SAMPLES_SUBDIRS
determined by configure which avoids trying to build the samples which won't
compile anyhow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 16:52:23 +00:00
Václav Slavík
e8ce9e6baf 2.2 release should happen in 1999, not 2000 :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 16:35:06 +00:00
Vadim Zeitlin
66cbc96ddf bug with object being passed through ... corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 16:33:09 +00:00
Vadim Zeitlin
508379ee46 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 15:59:39 +00:00
Vadim Zeitlin
58e648e00c compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 15:49:20 +00:00
Karsten Ballüder
f83db66133 modification to AXP hack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 13:02:26 +00:00
Karsten Ballüder
16c61f1b48 made new operator __alpha__ dependent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 09:43:42 +00:00
Karsten Ballüder
5367e67d63 added operator[](unsigned int) const -- testing it now on Linux/axp,
solaris, linux/i386


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 09:27:36 +00:00
Vadim Zeitlin
87a1e3085b 1. wxFileDataObject fixes from Ricky Gonzales - seems to work, so demo added
to the dnd sample and documented
2. wxLogTextCtrl gets status messages too (were just eaten)
3. wxWindow::Enable() goes down recursively
4. attempts at fixing wxButton::SetBackgroundColour() - didn't work :-(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 02:39:19 +00:00
Vadim Zeitlin
775a998ed0 wxFontEnumerator docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 23:51:07 +00:00
Václav Slavík
1db1f1ede2 added frame icon for HTMLhelp frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 22:40:48 +00:00
Václav Slavík
12909796a5 wxHTML now supports not only "&nbsp;"-like specials but "&nbsp " as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 22:39:51 +00:00
Václav Slavík
c32bfc1090 saving customization now works fine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 22:39:13 +00:00
Guilhem Lavaux
7f45dffc96 Added makefile.g95
Added some commentary in sndwin.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 18:09:06 +00:00
Robert Roebling
a583e623c0 Some menu things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 17:48:23 +00:00
Robert Roebling
f152cf5a84 A bit more testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:55:14 +00:00
Karsten Ballüder
cb81efcd84 Added a border around dialogs. Has anyone got a better solution?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:53:18 +00:00
Václav Slavík
ce7f10f2a6 fixed rounding error problem in wxPostscriptDC::SetFont when DC's user scale was != 1 ; this fixes AFM problem with wxLayout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:33:25 +00:00
Václav Slavík
385c54d720 wxPostScriptDC::CanGetTextExtent now returns TRUE - bugfix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 15:32:10 +00:00
Robert Roebling
763809100c wxDialog now stays on top of its parent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 14:24:42 +00:00
Karsten Ballüder
1bb6398255 Improved tests for networks. Compiles.
PLEASE TEST ON AS MANY PLATFORMS AS POSSIBLE!
I can only test it on Linux, have no dialup running on Solaris, know nothing
about other Unixes. If there's a problem: mailto:karsten@phy.hw.ac.uk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 12:59:59 +00:00
Karsten Ballüder
08a43154b4 more asserts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 10:33:47 +00:00
Julian Smart
5efec44300 Changed \\ to \ again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 10:09:05 +00:00
Julian Smart
8c1c5302f3 Added check for sel == -1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 10:08:03 +00:00
David Webster
9ac6ff7b80 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 05:54:29 +00:00
Unknown (CR)
d21895aec4 Added generic/tabg to the GTK distribution. It was missing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 05:10:58 +00:00
Unknown (CR)
774b322d02 Fixed .Position -> .GetPosition for wxMouseEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 03:52:47 +00:00
Unknown (CR)
54b37e2e8b Fixed inverse masking on MSW imagelist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 03:52:12 +00:00
Vadim Zeitlin
4e16881a08 readded clipboard support to richedit sample and fixed a fatal bug in
wxCustomDataObject (uninitialized m_data) which this allowed to discover


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 01:13:04 +00:00
Vadim Zeitlin
51edda6af0 small corrections for dnd code and added wxFileDataObject demo to the sample
(wxMSW only)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 00:32:11 +00:00
Vadim Zeitlin
c03648c251 more dnd/clipboard docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-03 00:29:20 +00:00
Václav Slavík
5b8ab3827f fixed compilation under GCC 2.95 - 'export' was used as variable name and GCC complained about export being a keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 23:24:26 +00:00
Václav Slavík
5558ce7ce4 AFM metrics were searched in /afm instead of /share/wx/afm ; did not try all AFM locations correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 23:23:24 +00:00
Václav Slavík
fcdb55192c fixed ^M at ends of lines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 23:21:44 +00:00
Vadim Zeitlin
eb91c0be88 some files I forgot to add previously...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 22:47:19 +00:00
David Webster
476607a777 Updates for VA 4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 22:41:55 +00:00
Julian Smart
51babd0983 Small compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 20:47:02 +00:00
Vadim Zeitlin
69a568f06b warnings (and may be a bug) corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 19:21:33 +00:00
Vadim Zeitlin
e657520984 another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 19:18:44 +00:00
Vadim Zeitlin
ab9b9eabe6 missing -D_REENTRANT for HP-UX/Solaris finally seems to be fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:58:22 +00:00
Vadim Zeitlin
cfeb83fd7f another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:48:40 +00:00
Vadim Zeitlin
af8ec91907 and the compilation fix for the warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:46:56 +00:00
Vadim Zeitlin
bf57d1adac and the compilation fix for the warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:46:33 +00:00
Vadim Zeitlin
b02da6b187 many warnings fixed (from HP-UX compilation log)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:41:23 +00:00
Robert Roebling
173348db5f wxDialogs now use GTK_WINDOW_DIALOG,
Corrected cursor setting bug with right aligned checkboxes,
  Disabled code in ~wxView that unset the m_currentView,
  One more thing I forgot.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 18:11:18 +00:00
Vadim Zeitlin
4ff9eba644 disabled the old odbc code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 17:56:56 +00:00
Vadim Zeitlin
10c1d2177a bug corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 17:39:20 +00:00
Vadim Zeitlin
c71830c3b6 wxMotif compiles (and runs minimal sample) again after wxMenu changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 17:23:29 +00:00
Karsten Ballüder
d76e994a28 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:52:51 +00:00
Karsten Ballüder
ba337fe731 testing cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:51:22 +00:00
Vadim Zeitlin
788deba173 AC_X_XTRA restored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:46:55 +00:00
Vadim Zeitlin
dd10a64696 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:27:42 +00:00
Vadim Zeitlin
8b85d24e4c additions for wxFileDataObject from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:20:40 +00:00
Vadim Zeitlin
a80c322c0d more tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:17:16 +00:00
Vadim Zeitlin
4aee367ed0 wxMenuItem::IsChecked() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:07:24 +00:00
Vadim Zeitlin
1ee4ead5af end label edit patch from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:05:25 +00:00
Vadim Zeitlin
1dddf8389f bug in wxMenuBase::FindChildItem() corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:57:07 +00:00
Vadim Zeitlin
3096bd2fa7 include <wx/...> => include "wx/..."
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:50:22 +00:00
Vadim Zeitlin
1987af7e9f wxGTK compiles (and seems to work) again after wxMenu changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 15:21:40 +00:00
David Webster
b86737ee11 More defines to get error codes out of OS/2 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:44:23 +00:00
David Webster
909b4f08a1 Process/thread work and API fix into network APIs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:42:09 +00:00
Karsten Ballüder
d9b77fb236 Added missing CPPFLAGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:41:28 +00:00
Julian Smart
1fb3eae500 Some doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 14:04:44 +00:00
Karsten Ballüder
3e469ea37f Added wxINSTALL_PREFIX define to makefile and made dcpsg.cpp use it to
find the correct location of AFM files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 12:36:14 +00:00
Julian Smart
407f36811e Some doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 10:02:01 +00:00
David Webster
e92f266ca7 wxMenu implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 04:38:14 +00:00
David Webster
d8dd11bab4 thread #ifdefs for WXPM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 04:37:45 +00:00
David Webster
c5fb56c07a new wxMenu stuff and thread implementations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 04:36:20 +00:00
Vadim Zeitlin
dd60b9ec1e compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:31:51 +00:00
Vadim Zeitlin
600ea9da94 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:27:42 +00:00
Vadim Zeitlin
717a57c2fa 1. wxMenu changes: wxMenuBase appears, several new functions for dynamic menu
handling as well
2. new sample: menu
3. small corrections to wxFileHistory made possible by wxMenu changes
4. ugly fix for panel loaded from resources and TABbing
5. wxDataObject &c doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:25:43 +00:00
Guillermo Rodriguez Garcia
cf85cb95f1 new docs for wxsocket in 2.1.10
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 00:44:10 +00:00
Julian Smart
36edded90c Tidied some docs, made VC++ 6 DLL compilation work with wxvc_dll.dsp,
removed wxvc6.dsp, updated projgen, small fixes for OGL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 20:36:43 +00:00
Robert Roebling
fc9c7c09bd Small doc updates.
Distrib and makefile updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 18:20:39 +00:00
Karsten Ballüder
d361e74eb1 added support for global AFM path setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 15:24:28 +00:00
Julian Smart
9ffdee8074 Added some makefiles to HTML samples; added help.ico for wxHTML;
make richedit sample compile (but without clipboard ops)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 11:27:38 +00:00
Julian Smart
737f4d3d79 Corrected wxConfig usage problem.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-01 09:39:11 +00:00
Václav Slavík
3dabc03fef wxHtmlHelpController now accepts AddBook('archive.zip') and zip archive may contain arbitrary no of hhp projects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:06:09 +00:00
Václav Slavík
aaa66113df added wxFileSystem::FindFirst and FindNext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:05:10 +00:00
Václav Slavík
6836465999 more wxHtmlHelpFrame fixes (didn't store customization correctly, still needs some fixing, will do asap)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:03:50 +00:00
Václav Slavík
62877de0ed added html help viewer sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 22:02:03 +00:00
Robert Roebling
59fe1666ce Distrib corrections,
Changed way to prevent toolbar from sending
    event when changes programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 16:42:46 +00:00
Robert Roebling
e90196a556 Distrib changes.
Augemnted version to 2.1.11.
  Applied patch for wxGenericValidator.
  Corrected MDI's wxActivateEvent code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 15:31:43 +00:00
Julian Smart
d139753aed Some edits to the schedule.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 12:48:23 +00:00
Julian Smart
6474416b2e Fixes for VC++ 4 compilation; fixed wxCommandEvent arg in grid.h;
added $(RM) variable to Mingw32 makefile


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 12:03:20 +00:00
Robert Roebling
3da17724b6 More tab code corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-31 10:22:26 +00:00
Václav Slavík
2a0eb92258 fixed bug that caused assertion failure during HTML printing under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 21:36:48 +00:00
Robert Roebling
354aa1e366 Some work on tabbing and menu accels,
Added a missing "Activate()" to docvwmdi sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 15:08:33 +00:00
Ove Kaaven
cb36238601 Someone forgot wxT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 12:10:49 +00:00
Vadim Zeitlin
a1d58ddc15 wxFontEnumerator mostly works for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 00:08:04 +00:00
Robin Dunn
740c28d5e8 Fixed windows installer to not need a reboot and therefore not have
the bogus error message that freaked everybody out...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:29:42 +00:00
David Webster
dde11e6053 Execution control stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:29:22 +00:00
Robin Dunn
33a43c5e1e fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:26:06 +00:00
Robin Dunn
2abc0a0f9b Added wxPython support of new HTML Printing classes.
Fixed thread problem
Other miscellaneous fixes, minor additions, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:25:04 +00:00
Robin Dunn
dc2f8a65c0 Added wxPython support of new HTML Printing classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:21:54 +00:00
Robin Dunn
3135f4a778 Added WXDLLEXPORT to wxWndProc definition so wxGLCanvas could be used
with wxWindows DLL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:18:20 +00:00
Robin Dunn
b32c6ff062 wxPython doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 22:16:53 +00:00
Vadim Zeitlin
5d20e510b1 styles for listboxes added for testing purposes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 19:45:19 +00:00
Vadim Zeitlin
ddb2574624 platform.htm added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 19:41:51 +00:00
Vadim Zeitlin
669a6e11ae forgotten files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:55:14 +00:00
Vadim Zeitlin
36f210c81e 1. added encoding param to wxFontEncoding::EnumFamilies() which allows to get
the list of families supporting the given encoding
2. added encoding decoding logic to src/gtk/font.cpp so that now choosing an
   encoding different from default in GTK+ font selector dialog actually works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:54:13 +00:00
Robin Dunn
8b99adf475 EXPORTED an array to quiet the DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:32:32 +00:00
Robert Roebling
da048e3d4c Renamed GtkMyFixed to GtkPizza,
Made default button work more often than before.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:20:44 +00:00
Vadim Zeitlin
928b5c0860 /usr/include added back for AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 15:36:56 +00:00
Vadim Zeitlin
995de2b488 compilation fix for AIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 15:17:48 +00:00
Sylvain Bougnoux
825ba8f0de Add operator << (ostream&, const wxString&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 15:11:25 +00:00
Sylvain Bougnoux
191549ed17 Accept list of separators as a wxString instead of wxChar\nTurn NextNonWhiteSpace to NextNonSeparators\nIntroduce EatEOL (major factorization)\nFix GetC() call on last char introduce a bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 11:18:46 +00:00
Michael Bedward
5612a51858 Changes to fix problem where spurious scrollbar(s) were displayed when
the window size had changed and was able to display all rows and/or
all cols.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 07:43:04 +00:00
Ove Kaaven
66a77a748e Well, wxHTML compiles in Unicode mode now. But if it works (without
further changes), it shall be considered proof that there is such a
thing as a divine intervention.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 03:10:22 +00:00
Ove Kaaven
0e36104428 Well, can't hurt to do some char -> wxChar, though wxHTML may not work
in Unicode mode quite yet...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 02:14:51 +00:00
Ove Kaaven
e08ee38353 wxT() for a Spanish(?) debug message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 02:02:58 +00:00
Ove Kaaven
7dd6292482 Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 01:59:38 +00:00
Ove Kaaven
6eec2beef7 A few Unicode compilation fixes (mostly wxT())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 01:55:00 +00:00
David Webster
3e7fb41b4b SpinCtrl update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 22:38:37 +00:00
Julian Smart
8aaef28406 Corrected small mistake (set static variable)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 13:13:35 +00:00
Vadim Zeitlin
ce89fdd22e wxGTK::wxSpinCtrl API synchronised with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 13:04:45 +00:00
Sylvain Bougnoux
41d1f82d93 conform to new wxTextInputStream >> wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 12:37:44 +00:00
Sylvain Bougnoux
9853d97739 operator >> wxString eat word by default. \n Add wxTextInputStream::Get/SetStringSeparator.\n Add wxTextInputStream::wxTextInputStream(wxInputStream, const wxChar &sep=' ')
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 12:33:55 +00:00
Julian Smart
87b501f0f7 Added CS_OWNDC fix to wxGLCanvas and corrected sample makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 11:35:45 +00:00
Ove Kaaven
f6e9f05fa7 Use wxConvertMB2WX to fix compilation error in Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 10:31:16 +00:00
Ove Kaaven
80df4d3169 wxFNCONV no longer references wxConv in a non-Unicode build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 10:29:51 +00:00
Ove Kaaven
345b024712 Fixed typo in ARGS_CLEANUP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 10:14:10 +00:00
Julian Smart
449f38b57e Do... fixes and OnMenuHighlight correction (so MDI sample now works)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 09:15:42 +00:00
David Webster
2bd5bbc948 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 04:48:40 +00:00
Vadim Zeitlin
678cd6de66 1. corrected (but the fix is ugly) the multiple def button problem
2. corrected a bug which disabled all accels for MSW (sic)
3. added SetValue/GetValue to wxSpinCtrl
4. modified wxGetNumberFromUser to use wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 01:17:35 +00:00
Vadim Zeitlin
baccb51431 1. more code commented out by DW (@#%#%!#%!@) uncommented
2. wxSpinCtrl calculates its default size better and sends notifications
   as wxSpinButton does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 00:38:59 +00:00
Václav Slavík
4e67bfc7a4 added copy ctor to wxHashTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:33:05 +00:00
Václav Slavík
ecf9e593f8 bugfix: wxList's copy ctor now works with keyed lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:32:54 +00:00
Václav Slavík
0eb8c9383b added wxHtmlParser::{Push|Pop}TagHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:31:13 +00:00
Václav Slavík
09397bc6e9 documented Harm's changes to wxHTML help
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:30:38 +00:00
Václav Slavík
223cb5ed5a cleaned Harm's new wxHTML help code (removed search.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:29:05 +00:00
Václav Slavík
d5bb85a0a4 cleaned Harm's new wxHTML help code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:26:24 +00:00
Václav Slavík
a7a4d01bdb added wxHtmlParser::{Push|Pop}TagHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 23:25:45 +00:00
David Webster
29435d814d Toolbar fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 22:47:04 +00:00
Vadim Zeitlin
afc31813f6 checks for time functions added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 19:43:07 +00:00
Robert Roebling
76db86e7e1 Minor Motif changes, made scrollsub sample work somehow.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 19:01:58 +00:00
Vadim Zeitlin
bd8ed12c5a fix for make clean when building in topdir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 18:39:21 +00:00
Vadim Zeitlin
c63c71069e Solaris fixes: -lnsl, -lXext, -lsocket added if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 18:27:48 +00:00
Vadim Zeitlin
3e58661e97 DATAFILES may contain directories too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 17:25:50 +00:00
Vadim Zeitlin
f512f90a83 always use wxString::operator[](size_t) - wxWin doesn't compile without it anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 17:15:29 +00:00
Guillermo Rodriguez Garcia
304ccacc13 removed debugging code which shouldn't be there :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 17:03:07 +00:00
Julian Smart
733dac4760 Small changes to peripheral files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 16:18:22 +00:00
David Webster
a66ebb5b82 Take out statbrpm, add statline back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 15:15:41 +00:00
Vadim Zeitlin
10f2d63a82 fix for native compilers on Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:44:07 +00:00
Vadim Zeitlin
95d15e64c3 trying to get it back onto the main branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:43:39 +00:00
David Webster
75bce3ad34 Replaced inadvertant C++ comments with standard 'C' comments for VisualAge fixups (VA will not compile non-ANSI C code anymore)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:43:35 +00:00
Vadim Zeitlin
9874b4ee83 1. wxMenu{Item|Bar} modifications for wxMotif
2. corrected a crash on startup if wxDataObject is used in Motif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:19:07 +00:00
Vadim Zeitlin
d537080184 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 13:10:40 +00:00
Guillermo Rodriguez Garcia
f3e6095286 Bug in GAddress_UNIX_init fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 10:48:52 +00:00
Guillermo Rodriguez Garcia
e22da5d625 Stupid bug in GAddress initialization prevented BCC to work. (I still
wonder how this could work with other compilers :-( ...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 10:44:40 +00:00
Julian Smart
25f4712757 Fixed wxMotif's wxRegion/wxRegionIterator to optionally use wxRects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 08:59:23 +00:00
Michael Bedward
52068ea5ff Fixed bug that caused wrong block of cells to be selected if the
mouse was dragged out of the grid cell area.

Cell text values now echo changes in top edit control if in-place
editing is disabled.

Changed highlight scheme again so that a border is drawn around the
current cell whether in-place editing is on or off. Hopefully this is
less confusing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-27 03:05:05 +00:00
Vadim Zeitlin
ad9bb75ff2 1. regenerated the makefiles to include menucmn.cpp
2. more compilation fixes for DW changes
3. implemented dynamic menu support for wxMSW
4. added code to the toolbar sample to test it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 23:38:33 +00:00
Vadim Zeitlin
a8cfd0cbf1 wxMenuBarBase for MSW (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 19:35:25 +00:00
Vadim Zeitlin
3dfac9707a 1. added wxMenuBarBase
2. corrected typo in gtk/menu.cpp when dealing with Fn accel keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 19:07:04 +00:00
Julian Smart
196c87f43d Fixed wxFont mis-specification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 18:40:50 +00:00
Julian Smart
9c5b332b83 Added temporary iterator fix (generates just 1 bounding rectangle)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 17:12:26 +00:00
Vadim Zeitlin
92d2389ec5 reverted last changes by DW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 16:14:24 +00:00
Julian Smart
ee1aaf9996 Motif: made file selector and message box properly take on background colour.
Initialised a member variable in wxDC, so e.g. bombs sample now works
and splitter displays something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 15:16:29 +00:00
Vadim Zeitlin
adc6fb165a attempt to fix wxMenuBar::EnableTop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 14:38:34 +00:00
Vadim Zeitlin
eb553cb25b 1. corrected uninitialised variable (which led to crash) in wxListBox
2. corrected assert failures in wxChoiceDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:54:58 +00:00
Vadim Zeitlin
505928852c fix for items without accelerators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:45:29 +00:00
Julian Smart
af111fc338 Removed lots of wxMotif compile warnings. Copied new install.txt into old
install.txt (wxMotif).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:33:13 +00:00
Vadim Zeitlin
37d92fba28 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:32:56 +00:00
Michael Bedward
49db7de411 Fixed bug that caused crashes if wxGrid::OnSize was called before grid was properly initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 06:52:04 +00:00
David Webster
afbdc52a1b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 04:47:56 +00:00
David Webster
50c375d311 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 04:38:15 +00:00
Julian Smart
2799df0c0d Added WXDLLEXPORT to wxChrono
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 21:23:51 +00:00
Karsten Ballüder
faf17c8acb fixed timer related bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 20:06:32 +00:00
David Webster
16a12a3d27 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 20:03:39 +00:00
Robert Roebling
257980e6f2 Makefile corrections after the setup.h changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 18:56:26 +00:00
Vadim Zeitlin
d111a89a85 1. moved fontenum.cpp to unix because implementation is common to X and GTK+
(had to add wxGetDisplay() to wxGTK)
2. implemented EnumerateEncodings() - now only if we could do something useful
   with this...
3. added makefile for the console sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 17:22:13 +00:00
Robert Roebling
bbeb6c2bc2 Mem leak in new accelerator code.
Install things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 16:55:15 +00:00
Vadim Zeitlin
bbea8df359 it now lives under unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 16:41:22 +00:00
Vadim Zeitlin
974e8d946f 1. small dnd compilation fixes (no attempt to make icon setting work though)
2. wxMenuItemBase appears
3. more key combinations handled by wxGTK for menu accels


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 15:51:37 +00:00
Julian Smart
84a3fe2c9b Added wizard sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:30:09 +00:00
Julian Smart
60a67569bf Added more compat. functions for wxGrid so grid sample compiles;
fixed regtest compilation prob. (but still crashes on exit); fixed
tab sample compile problem.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:28:43 +00:00
Julian Smart
09fb22cf3c Changed #include file ordering so it compiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:27:04 +00:00
Julian Smart
cb34a6eeac Added further makefiles for wizard sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 14:24:46 +00:00
Julian Smart
448af9a46e Cosmetic changes in setup0.h; Latex edits; PaletteSize -> wxPaletteSize;
generate newgrid VC++ project files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 13:46:48 +00:00
Michael Bedward
6ac64257e4 Fix for incomplete initial display sometimes with wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 13:17:36 +00:00
Karsten Ballüder
997bba3675 bug fix for disable auto poll
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 12:54:31 +00:00
Vadim Zeitlin
8cf1c13cfa setup.h moved (and not copied) to the correct location by configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 11:30:31 +00:00
Julian Smart
8a5679d101 Added mysteriously-missing #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 08:18:37 +00:00
Vadim Zeitlin
572eed55ba BC++ 16bit makefile fixes (obj isn't replaced with suffix in filenames)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:41:07 +00:00
Vadim Zeitlin
876325579b VC++ 1.5 makefile fixes (lib split, C objs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:37:40 +00:00
Vadim Zeitlin
c54f522622 Symantec makefile fixes (for OLE files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:22:06 +00:00
Vadim Zeitlin
d98fcc003d Watcom makefile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 07:19:13 +00:00
Vadim Zeitlin
ee31c269fc /usr/include fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 06:33:22 +00:00
David Webster
735c116a84 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 04:05:02 +00:00
David Webster
004fd0c883 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 02:41:20 +00:00
Ove Kaaven
2695a14e85 Changed wxGetSingleChoiceData() to take void* client data pointers instead
of char*


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 20:42:35 +00:00
Julian Smart
8fb3a512a8 Fixes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:50:17 +00:00
Vadim Zeitlin
2d93e1335c wxDropSource now has 3 custom cursors for copy/move/nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:34:11 +00:00
Robert Roebling
f96ac56ad3 wxFrame::Set/GetClientSize() uses toolbar area again,
wxWindow no longer reroutes mouse events to invisble windows,
  Compile fix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:09:50 +00:00
Karsten Ballüder
99d967ac6f uncommented ping method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 18:32:30 +00:00
Robert Roebling
11e1c70d8e Small distrib changes,
Use GTK's native insert for wxListBox,
  Compile pacthes for AIX,
  wxClipboard things,
  Ignore wxSIZE_AUTO flags in wxDialog and wxFrame,
  Ignore toolbar size in wxFrame::Get/SetClientSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:45:01 +00:00
Vadim Zeitlin
185fa6bf6f 1. corrected client data deletion in wxListBox (no more memory leaks in controls
sample)
2. added wxST_NO_AUTORESIZE style for wxGTK and wxMSW and added test for it to
   the controls sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 16:29:08 +00:00
David Webster
e6ebb51430 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:57:35 +00:00
Julian Smart
ace03f87d6 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:14:05 +00:00
Julian Smart
c7def858e5 Added small library binaries to lib directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:09:54 +00:00
Julian Smart
5ae4432e86 Removal of old src/msw/ctl3d files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 15:07:08 +00:00
Julian Smart
0cdf89abb1 More Watcom C++ compilation stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 13:07:26 +00:00
Robin Dunn
99a49d3e67 Squashed another threading and interpreter lock bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 05:16:56 +00:00
Vadim Zeitlin
2b2739754f 1. compilation fix for wxArrayTreeItemIds
2. small bug fixes for recent fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 00:30:53 +00:00
Vadim Zeitlin
8ee9d6182c 1. wxDropTarget::OnData() returns wxDragResult now, not bool
2. fixed assert failure in wxMSW::wxListBox
3. wxFileHistory automatically deletes non existinf files from menu
4. wxDropTarget coordinates are client (and not screen) under MSW too
5. wxConvertBitmapToDib and vice versa seem to work!
6. client data field if filled by wxListBox and wxChoice and it's also deleted
   (this just wasn't done before!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 23:40:55 +00:00
Julian Smart
4d85bcd1f5 BC++ and Watcom C++ makefile and source fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 19:55:01 +00:00
Karsten Ballüder
18c98e42ee minor bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 11:01:02 +00:00
Robert Roebling
d7928388eb Fixed resizing problem with GTK 1.2.3 notebooks.
Added wxSizer test to controls sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 10:40:04 +00:00
Robin Dunn
775e1c62be Added missing constructor for wxCustomDataObject so the DLL would
link.  It's just a guess though so it should be checked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 06:42:24 +00:00
Robin Dunn
d9a012add9 Apparent typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 04:27:52 +00:00
Robin Dunn
f078d013ae generated source updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 03:35:37 +00:00
Robin Dunn
9d8bd15f99 Fixed a deadlock problem when using threads
Incremented version number

Added some missing methods and such

Minor updates to a couple demos


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 02:33:44 +00:00
Robert Roebling
7b5d569973 Added wxDropSource::GiveFeedBack().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 22:43:21 +00:00
David Webster
dcd307ee1f no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 22:00:20 +00:00
J. Russell Smyth
3f9ca77023 Fixed "torn" patch line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 21:44:08 +00:00
David Webster
2185635d87 Update for VA V4.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 20:40:13 +00:00
Vadim Zeitlin
6c8a980fc4 1. sorted wxListBox and wxComboBox seem to work under wxGTK
2. to support this, new class wxControlWithItems added (ctrlsub.h/cpp) and the
   controls sample modified to test it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 18:00:39 +00:00
Vadim Zeitlin
2ee3ee1bc8 wxChoice and wxListBox GTK+ changes (wxChoice works, wxListBox still doesn't)
to support sorting, also compilation fixes in dataobj.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 15:55:27 +00:00
Robert Roebling
bd77da975b Compile fix for wxDataFormat cast,
Unfinished code for wxDragCopy vs. wxDragMove,
  Corrected key accel code for wxFrame as children of wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 15:49:39 +00:00
Vadim Zeitlin
1e8335b0b7 MSW compilation fixes (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:26:45 +00:00
Vadim Zeitlin
b56c22469a tests for sorted wxChoice added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:13:51 +00:00
Julian Smart
88b1927cb3 More broken code corrections; broken Latex file corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:12:08 +00:00
Vadim Zeitlin
e01c8145b1 1. some fixes for wxSortedArrayString
2. wxChoice understands wxCB_SORT under GTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:12:04 +00:00
Vadim Zeitlin
90bc25c7c9 yet another BC++ fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:07:05 +00:00
Julian Smart
b0a6c154de BC++ fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 12:45:04 +00:00
Vadim Zeitlin
c32a8bd4db another BC++ fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 12:27:43 +00:00
Julian Smart
1a7f306263 Modified Mingw32 makefiles to compile with Mingw32 2.95 or earlier;
some wxMSW/gcc compile fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 12:03:54 +00:00
Vadim Zeitlin
4b3d29db08 wxDataFormat default ctor doesn't crash for global objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 11:37:39 +00:00
Vadim Zeitlin
0c2b453f0a attempt to fix BC++ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 11:24:01 +00:00
Vadim Zeitlin
e87271f358 1. made wxBase compile/link/run again under Unix
2. added wxSortedArrayString class and documented it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 09:24:15 +00:00
David Webster
5dcec1d99b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 04:40:12 +00:00
David Webster
6dddc146fb *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 04:37:39 +00:00
David Webster
2e1a688e3e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 22:37:14 +00:00
David Webster
4004aba331 VA fussy compiler fix (must qualify any reference to member more than one class up the inheritance tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 22:36:51 +00:00
Robin Dunn
dcc7139872 Added some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 21:13:21 +00:00
Vadim Zeitlin
12db77cab1 wxMotif compilation fixes for wxDataObject and PROCESS_EVENTS (wxSocket)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 20:16:53 +00:00
Vadim Zeitlin
a64a02efae and the compilation fix which really compiles, finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:44:11 +00:00
Vadim Zeitlin
6663339816 compilation fixes for old gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:33:03 +00:00
Vadim Zeitlin
bc450ccdff a better compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:31:23 +00:00
Vadim Zeitlin
fb61df8580 compilation fix - as nobody else doesn't seem to want to do it...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:21:43 +00:00
Vadim Zeitlin
e30d5976c9 and some more WXUNUSED() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:16:25 +00:00
Vadim Zeitlin
f2491e2d19 some WXUNUSED() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 19:15:58 +00:00
Vadim Zeitlin
90e12284ec found the double deltion bug - now it seems to work under wxGTK!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 18:30:50 +00:00
Vadim Zeitlin
2edc8f5bd6 minor change: disable debug messages flood from OnDragOver
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 18:04:20 +00:00
Vadim Zeitlin
c9057ae1c5 OnEnter/OnDragOver API update (compiles, links, somewhat runs under wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 17:47:45 +00:00
Robert Roebling
e5d6aa2208 A bit more or multi-format clipboard.
Added == operator to wxDataFormat for standard types (again).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 16:53:38 +00:00
Karsten Ballüder
2c41c4404c improved dialup manager, added wxALL_FILES define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 15:00:17 +00:00
Robert Roebling
572c6194d3 wxSlider should now display int values,
Corrected garbage deletion in dnd sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:53:42 +00:00
Vadim Zeitlin
135ebb43cb readding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:14:10 +00:00
Vadim Zeitlin
f3d4cc30e9 removing corrupted files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:13:42 +00:00
Vadim Zeitlin
ffd56fbcb5 and now it even compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 14:00:30 +00:00
Vadim Zeitlin
ae125753e4 updated the makefile to copy dnd.wxr so that the program can find it,
don't forget to open the clipboard


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:57:08 +00:00
Vadim Zeitlin
f536e0f24b wxClipboard::IsOpened() and wxCLipboardLocker helper class added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:56:34 +00:00
David Webster
51d7e4e762 Support different for Visualage Versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:44:31 +00:00
Vadim Zeitlin
08794f696f added helpext.cpp and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:41:18 +00:00
Vadim Zeitlin
ffaaaacbca added the makefile for tex2rtf compilation using configure, fixed compilation
for wxUSE_HELP == 0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:40:47 +00:00
Vadim Zeitlin
d54598dd85 some conflicts resolved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:40:07 +00:00
Robert Roebling
97c79de27c More DnD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:09:06 +00:00
Vadim Zeitlin
79ec2ce20e some compilation warnings/errors fixed (still doesn't compile under wxGTK though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 12:46:48 +00:00
Robert Roebling
b068c4e8a1 Made wxGTK compile and link again. Broke wxMSW a little.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 10:23:30 +00:00
David Webster
1be7f92adb *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 05:13:26 +00:00
Ryan Norton
d37acbdf1c Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:16:19 +00:00
Vadim Zeitlin
af5ba963e7 create makefiles in right location
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:15:07 +00:00
Vadim Zeitlin
c493315781 added wxDataObject related files and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:13:46 +00:00
Vadim Zeitlin
3922ecc98e more files for wxDataObject change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:06:27 +00:00
Vadim Zeitlin
9e2896e5c8 wxDataObject changes - ok for MSW, still not for GTK/Motif/...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 01:58:57 +00:00
Vadim Zeitlin
e1ee679c2e wxDataObejct and related changes (won't compile right now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:25:42 +00:00
Vadim Zeitlin
df485dc0d0 vi swap files added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:25:02 +00:00
Vadim Zeitlin
3f364be84b added dobjcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:22:47 +00:00
David Webster
10e5b9303b no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 22:41:35 +00:00
Robert Roebling
2f073eb2e0 Fixed problem with mouse events getting sent to wrong
children when these were scrolled.
  wxCheckBox and wxRadioButton now have cursors and
    will do other things more sanely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 20:38:47 +00:00
Robin Dunn
a6aa9b1ee8 Since wxPanel is now AutoLayout aware, removed indirect auto layouting
of child windows from wxNotebook and wxSplitter, as per Robert's
request.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 18:30:47 +00:00
Václav Slavík
50073cf24c does compile under MSW now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 18:23:41 +00:00
Robin Dunn
f6aa390384 fixed compile error for FINAL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 17:46:37 +00:00
Robin Dunn
0398b1d65d Size the notebook page when it is added to the notebook.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 17:31:53 +00:00
Robin Dunn
1d2a5b31b1 forgot the clean target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 16:53:01 +00:00
Robin Dunn
7ac4c23700 Will now make glcanvas_d.lib if FINAL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 16:51:42 +00:00
Robert Roebling
3017f78d67 Minor Reparent() and SetToolBar() fix for wxFrame.
Corrected size reported by wxToolBar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 15:30:42 +00:00
Václav Slavík
280132e34e wxHtmlEasyPrinting now uses wxThePrintSetupData - creates local copy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 08:49:53 +00:00
Robin Dunn
2cdac55878 made wxPanel be auto layout aware
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 05:08:37 +00:00
Robin Dunn
27dc7e21d9 made wxPanel be auto layout aware
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 04:57:45 +00:00
David Webster
78d50441dd *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-20 04:42:32 +00:00
Julian Smart
ac0ac8241f Fixed wxSlider95 bug; updated .dsp files; added Set/GetLastDirectory to wxDocManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 22:18:32 +00:00
Robert Roebling
8e00741dbd Further DnD changes. Untested.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 22:13:33 +00:00
David Webster
7cdc2f1e42 Fixes for long to wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 21:03:55 +00:00
David Webster
d6d3a0217e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 18:53:33 +00:00
Robert Roebling
a3e7d24d21 Changed two conflicting defines in defs.h
DnD multiformat fine-tuning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 15:12:11 +00:00
Vadim Zeitlin
98f026a6e4 accels for menu commands
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 13:58:16 +00:00
Vadim Zeitlin
7c7d8b16cb some more TODOs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 13:58:05 +00:00
Vadim Zeitlin
adaa20adcf never undefine inline for C++ sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 13:57:34 +00:00
Robert Roebling
d6538e2c55 Added size hints to dialog,
Corrected client data "code" for wxChoice,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 10:51:48 +00:00
Michael Bedward
bcdfb2cf30 Removed #pragma implementation "appbase.h" which caused duplicate symbols
to between app.o and appcmn.o


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 09:21:44 +00:00
Michael Bedward
c336585eec Added demo of handling EVT_GRID_SELECT_CELL.
A couple of other minor tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 07:27:56 +00:00
Michael Bedward
749692cc9f Added EVT_GRID_SELECT_CELL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 07:24:46 +00:00
Michael Bedward
17732cec28 Added EVT_GRID_SELECT_CELL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 07:14:27 +00:00
Robin Dunn
305b8c10f1 Added a simple makefile for those whose fingers can't type anything
but "make install"

Ensure that the full TARGETDIR exists

changed the build scripts to play nicer with make.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 05:01:36 +00:00
Michael Bedward
7b65ea1af9 Numerous changes to comply with use of wxCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-19 03:26:24 +00:00
Robert Roebling
1dd989e1bf New wxDataObject etc. Almost works.
A few more compatibility funcs for (long*) vs (int*).
  Makefile.in regenerated from filelist...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 22:22:56 +00:00
Václav Slavík
314260fbd0 wxUSE_HTML was missiing at some places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 19:46:54 +00:00
Vadim Zeitlin
9abe166a30 wxControl and wxChoice derive from the base classes under wxGTK too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:45:28 +00:00
Vadim Zeitlin
ec6c9ccd7f added appcmn.cpp to the list of files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:15:21 +00:00
Vadim Zeitlin
72cdf4c9b3 1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
regenerated the makefiles. wxPostEvent() should work for wxGTK too (untested)
2. long -> wxCoord change for wxGTK and wxMSW, use
   wxUSE_COMPATIBLE_COORD_TYPES to get the old behaviour
3. wxHTML compilation fixes (for !wxUSE_HTML case)
4. a couple of handy macros in thread.h added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:14:52 +00:00
Vadim Zeitlin
72dd34b5dc don't try to build shared library on platforms not supporting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:12:14 +00:00
Vadim Zeitlin
26b8332978 include/wx/choice.hpragma warning is only for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:57:21 +00:00
Vadim Zeitlin
3f1c6a14cb compilation fix for !WX_PRECOMP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:55:17 +00:00
Vadim Zeitlin
7ffdaf81b5 compilation fix for non OLE clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:53:47 +00:00
Vadim Zeitlin
12234741d9 gcc warning about printf() format mismatch corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:29:23 +00:00
Vadim Zeitlin
47765ba2b8 gcc warning about printf() format mismatch corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:19:19 +00:00
Sylvain Bougnoux
87202f787c Add wxImage::CanRead, wasn't in 1.59 ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 14:18:15 +00:00
Vadim Zeitlin
ae8b97cf4b added a rule about DoXXX() functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 13:17:43 +00:00
Vadim Zeitlin
ce1a1ff40a described a patch to mingw32 headers to fix va_arg warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 13:05:13 +00:00
Robert Roebling
c6d73ef67d Corrected wxImage for use with mono wxBitmaps,
Corrected compilation of wxApp without threads (untested).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 08:51:23 +00:00
David Webster
d90895ac11 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 03:30:47 +00:00
Michael Bedward
45bee2eea9 Removed unused code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 03:16:29 +00:00
Michael Bedward
edc2c29006 Improved cell highlighting when in-place editing is disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 03:13:45 +00:00
Vadim Zeitlin
98397babd3 part of dnd sample I forgot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 00:10:22 +00:00
Vadim Zeitlin
d59ceba572 1. more drag and drop and clipboard changes:
a) OLE clipboard works fine
 b) wxBitmapDataObject now accepts DIBs (but doesn't give them back :-( )
 c) bugs in sample corrected
2. wxFatalExit() replaced with wxFAIL_MSG() in bitmap.cpp and dcmemory.cpp
3. wxFrame::ClientToScreen and ScreenToClient() replaced with DoXXX() - like
   this, they don't hide the base class versions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 00:08:40 +00:00
Vadim Zeitlin
23d277e683 attempt at documenting drag and drop and clipboard classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 23:57:10 +00:00
Vadim Zeitlin
228de783a9 corrected serious bug in SetHBITMAP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 21:24:31 +00:00
Václav Slavík
efba2b89f1 HTML_xxxx constants changed to wxHTML_xxxx (with backward compatibility through WXWIN_COMPATIBILITY_2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 20:52:29 +00:00
Vadim Zeitlin
e8c504562f added several other accel strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 20:47:51 +00:00
Robert Roebling
510d156fc5 Added temporary test to splitter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 19:54:51 +00:00
David Webster
04701dd94f *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 17:23:27 +00:00
Robert Roebling
eb38f734d2 Small fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 15:59:20 +00:00
Robert Roebling
d8d474af58 Distrib changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 14:55:39 +00:00
Václav Slavík
3ce369e687 added HTML printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 13:03:40 +00:00
Robert Roebling
30760ce7e5 Applied Diana's font patch II
Made wxGLCanvas work again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 10:22:45 +00:00
Vadim Zeitlin
8e193f384f 1. wxPostEvent added and documented
2. Made it possible to have wxDataObjects which support multiple formats
   painlessly
3. Extensively modified dnd sample to show a "real life" wxDataObject


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 01:18:49 +00:00
Robert Roebling
6d693bb4fc Restored wxSizeEvent code form last week -> wxGLCanvas
probably broken again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 20:07:16 +00:00
Robin Dunn
c4d83d0a59 Changed an OBJARRAY to an EXPORTED_OBJARRAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 18:09:56 +00:00
Václav Slavík
559fe022db wxHTML classes description is now in alphabetical order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 15:38:26 +00:00
Václav Slavík
7087444f7e fixed bug in PS clipping (non-virtual SetClippingRegion was overloaded)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 15:37:35 +00:00
Václav Slavík
e52d6dbca3 wxHtmlCell::AdjustPagebreak now works correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 15:37:13 +00:00
Václav Slavík
eb3a4aa9aa wxHtmlCell::AdjustPagebreak documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 12:28:03 +00:00
Václav Slavík
89966d5c0d SetFonts methods have const param now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 12:27:35 +00:00
Václav Slavík
d95e254418 removed wxVERSION_* macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 12:24:28 +00:00
Julian Smart
fcd86df154 Added instructions to Forty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 08:57:14 +00:00
Robin Dunn
1dec68aa52 Added some definitions, a missing method, and fixed a compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 06:09:13 +00:00
Robin Dunn
5a7823f599 Enabled to be run without splitters to track down possible bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-16 06:08:16 +00:00
Vadim Zeitlin
1bb27b0cc6 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 23:04:24 +00:00
David Webster
409c9842c7 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 21:00:38 +00:00
Vadim Zeitlin
63d963a189 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 19:04:05 +00:00
Vadim Zeitlin
a492cb0f49 unused param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 18:12:56 +00:00
Vadim Zeitlin
a1fffa9fd5 don't draw with NULL font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 18:09:45 +00:00
Vadim Zeitlin
936895ee9d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:59:05 +00:00
Vadim Zeitlin
c19c1ca9be compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:49:56 +00:00
Vadim Zeitlin
729d8f9158 warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:47:34 +00:00
Vadim Zeitlin
d64af447da on some systems (HP-UX), strtok_r() needs _REENTRANT to be defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:35:14 +00:00
Vadim Zeitlin
80810ca399 let's not forget that \& has lower priority than == in C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 17:15:43 +00:00
Vadim Zeitlin
995612e2ab 1. wxImageHandler::DoCanRead() introduced to solve the virtual function name
hiding problem
2. wxPNMHandler::CanRead() shouldn't use wxT() - should it?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:59:32 +00:00
Vadim Zeitlin
52f13e4930 resolved a conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:28:09 +00:00
Vadim Zeitlin
cb0f56f978 resolved a conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:21:25 +00:00
Vadim Zeitlin
5b7f1aab47 compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 16:14:01 +00:00
Vadim Zeitlin
2b835535a9 removed wxDialog::Centre()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 15:49:05 +00:00
Robert Roebling
ecab4dba7d scrolling of foreign windowsplus sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 14:59:44 +00:00
George Tasker
9c40a88dbb Removed a variable declaration from within a FOR statement for compilation on HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 10:11:06 +00:00
David Webster
11e59d47c0 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-15 04:07:54 +00:00
David Webster
fb46a9a6c6 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 22:36:24 +00:00
Julian Smart
4c0a2c5c3e Updated install.txt, added double-inclusion guard, corrected a GnuWin32 thing
in spinctrl.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 17:47:31 +00:00
Robert Roebling
be0872076f HP-UX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 17:08:31 +00:00
Vadim Zeitlin
458ed37d80 never undefine 'inline' keyword for C++ compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 15:52:35 +00:00
Vadim Zeitlin
d607e6c39d manually test for X11 headers/libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 15:43:11 +00:00
Vadim Zeitlin
9e92b089c0 NULL shouldn't be used in test programs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 15:18:39 +00:00
Harco de Hilster
8f8ca6c952 fixed some frame cleanup stuff; The main frame (MyFrame) explicitely closes
the helpframe now before deleting the config pointer and closing itself.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 14:57:17 +00:00
Julian Smart
f3ef286fee Added sqltypes.h (for Cygwin b20), some other Cygwin fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 14:10:59 +00:00
Robert Roebling
5451765210 Changed time of sending the wxSizeEvent and assorted things,
this made wxGLCanvas work,
  wxMiniFrame looks correct again,
  Corrected makefile for HTML help


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 13:09:01 +00:00
Vadim Zeitlin
791a21023f init.cpp isn't included in the makefiles for wxMSW any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:55:26 +00:00
Vadim Zeitlin
be4c1d33a7 -mwindows added for mingw32 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:49:30 +00:00
Julian Smart
b4fe51258d makeg95.env edited for Mingw32/gcc 2.95 compilation; _T not redefined for
Mingw32; removed init.cpp from makefile.vc (tmake keeps generating it);
added spinctrl.cpp to MSW section in filelist.txt.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:37:52 +00:00
Vadim Zeitlin
da8bed9bfd = replaced with ==
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:31:35 +00:00
Vadim Zeitlin
a0c3c734d7 more mingw32 warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:02:03 +00:00
Julian Smart
cd34332fc4 Corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 10:20:38 +00:00
Robert Roebling
cf1f0870d8 Applied patches for AIX,
Corrected prop dialog,
  Tabbing in parent top-level-windows no longer possible,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 09:29:20 +00:00
Julian Smart
a9b832dd86 Added makewise.bat, for making a WISE installation automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 08:56:05 +00:00
Julian Smart
1c9143bd11 Added system DLL file installs for makewise.bat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 08:54:50 +00:00
Michael Bedward
af563b6612 Regenerated from tmake after editing filelist.txt to add gridg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 05:41:22 +00:00
Michael Bedward
e7494fa996 Put gridg.h back so that it gets installed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 05:36:05 +00:00
Michael Bedward
5795d034f1 Changed all EVT_WXGRID... constants to EVT_GRID...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 05:03:00 +00:00
David Webster
37f214d588 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 04:43:46 +00:00
Michael Bedward
b5f788a51e Changed all EVT_WXGRID... constants to EVT_GRID...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 04:42:29 +00:00
David Webster
d88de032d3 Latest Updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 22:34:18 +00:00
Unknown (CR)
9bfa7bfcbd changed LVHITTESTINFO to LV_HITTESTINFO
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 22:33:43 +00:00
Unknown (CR)
e43cab59ed brought regconf interface read/write methods up to spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 22:05:03 +00:00
David Webster
634157786d no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 20:35:03 +00:00
Vadim Zeitlin
a17e237f4a warnings for mingw32 compilation fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:52:05 +00:00
Vadim Zeitlin
4882bf1b78 DnD is disabled automatically y configure for mingw32 without OLE headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:51:01 +00:00
Vadim Zeitlin
a0c79abb5d small updates for Linux->Win32 cross compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:06:19 +00:00
Robin Dunn
801e06d5a8 update to wxPython module
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 18:00:29 +00:00
Unknown (CR)
72a0c982c4 Added tabg.o/tabg.d to GTK make stuff. Tabbed dialogs weren't linking correct.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:16:47 +00:00
Vadim Zeitlin
0709ee62f2 regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:07:33 +00:00
Unknown (CR)
84a6b8590b Added item clicks event support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:05:17 +00:00
Unknown (CR)
3995f8eb97 Added support for item clicks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:04:34 +00:00
Unknown (CR)
fb882e1cbe Added right/middle click item support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:03:24 +00:00
Unknown (CR)
aad0fe4b45 Added tree control item click event wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:01:06 +00:00
Unknown (CR)
4debf1352d Added list control item click event wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 17:00:39 +00:00
Unknown (CR)
5d53c76bab Added tree control item click events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 16:59:21 +00:00
Julian Smart
07e632909b Added some setup files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 16:30:46 +00:00
Vadim Zeitlin
0c7571ef17 wxMotif module corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 16:15:23 +00:00
Robert Roebling
3fd528b939 Forgot resource sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 15:35:55 +00:00
Julian Smart
f4c890fdbe Added precompiled header stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 11:59:13 +00:00
Michael Bedward
0eee528340 Added demonstration of insert/delete rows/cols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 11:57:22 +00:00
Michael Bedward
3f2965162c Fixed bug causing crashes when all rows or cols were deleted and then an attempt was made to insert rows/cols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 11:49:55 +00:00
Michael Bedward
616b488dbc Put include for makelib.b32 back in (why was it taken out ? without it the lib isn't built)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 04:36:32 +00:00
Ryan Norton
38d679fdb5 Tcl regex lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 02:22:17 +00:00
Vadim Zeitlin
652bbafac4 added autogenerated files to make build work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 02:22:15 +00:00
Vadim Zeitlin
a497618a56 1. DLL compilation fixes (wrong WXDLLEXPORT placement) in db.h/cpp
2. dummy typedef added to gsocket.c - trans unit can't be empty
3. WX_DEFINE_EXPORTED_ARRAY & friends appear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 23:57:40 +00:00
Vadim Zeitlin
755c41bf1e tmake template for DLL project for VC++ 6.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 23:49:56 +00:00
David Webster
cdf1e71425 More OS/2 stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 22:49:24 +00:00
Robert Roebling
1b68e0b5b9 Refresh() problem from DialogEd solved
Unified the naming of GNU pragmas for base classed:
    dialogbase, choicebase, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 21:52:17 +00:00
Robin Dunn
8ad4b7acf4 Attempting to create module def for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 20:29:23 +00:00
George Tasker
3351164d4c Moved the #include of filefn.h from db.h to db.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 17:20:48 +00:00
George Tasker
53953cf736 Moved the #include of filefn.h to db.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 17:19:45 +00:00
Robert Roebling
c09ab26a49 Some more distrib corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 14:36:37 +00:00
George Tasker
e57fe6cc73 Use of a postgres data source would fail due to checking for "PostgresSQL" rather than "PostgreSQL"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 11:06:24 +00:00
George Tasker
aa277f4ce2 Changed #ifdef _IODBC_ to #ifdef __UNIX__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 11:02:53 +00:00
Robert Roebling
79144b8a47 More makefiles, distrib things,
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 09:44:18 +00:00
Robin Dunn
11cde40611 2.1.5 quickie release
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 06:13:37 +00:00
Robin Dunn
07cb3fd3d1 distrib tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 03:04:38 +00:00
Robin Dunn
60a15c9b7b more intelligent build for gtk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 03:04:13 +00:00
Robert Roebling
d5a07b9ec9 Various distrib things,
Applied patches for HP-UX compilation,
  Corrected (?) vetoing of tree expansion,
  Raised version.h to 2.1.10


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 22:36:46 +00:00
Robin Dunn
46c3e3d92a minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 22:16:33 +00:00
Robert Roebling
d1b15f03b8 Added wxMenu::Delete() and fixed some menu deleted memory
leaks. Some.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 19:32:58 +00:00
Robert Roebling
147bc49159 Tried to make wxGLCanvas work again. WIP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 15:24:49 +00:00
Julian Smart
4c61bdabd6 Added blank line to end (Tex2RTF requirement)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 11:06:44 +00:00
Robert Roebling
27d029c722 Minor doc updates,
Made resizing a scrolled window function,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 10:48:43 +00:00
Robert Roebling
738f9e5a12 added SpinCtrl,
updated a few headers,
  tried to set window size hints, no effect with KWM,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 10:05:36 +00:00
J. Russell Smyth
d66d3ce6dd Updated instructions for Mingw32/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 05:56:43 +00:00
David Webster
75f11ad7ca *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-11 02:49:06 +00:00
Vadim Zeitlin
b782f2e0f6 wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 23:28:07 +00:00
Václav Slavík
2083616e16 fixed bug with 2 frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:21:08 +00:00
Václav Slavík
1b231e235b fixed terminology (widget vs. binded window)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:20:43 +00:00
Václav Slavík
622ea7838d fixed cursor flickering in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:18:08 +00:00
Václav Slavík
db98870d82 preparing for HTML printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 20:17:42 +00:00
Robert Roebling
247e5b1632 TreeTest compiles again,
Found flickering bug wrt cursors.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 19:56:38 +00:00
Robert Roebling
bf0c00c6e8 Scrolling updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 18:42:43 +00:00
David Webster
fb9010ed40 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 18:36:14 +00:00
Karsten Ballüder
89be8239db updated richedit and nettest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 16:52:34 +00:00
Karsten Ballüder
2726c66d5b added samples richedit and nettest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 16:50:05 +00:00
Robert Roebling
5e4ff78a96 Minor changes to keep my MSW source
in synch...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 15:04:47 +00:00
Guilhem Lavaux
783ff666e0 Changed Ungetch behaviour (FIFO -> LIFO).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 11:36:39 +00:00
Robin Dunn
bc29c5e0e1 minor additions and bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 23:13:43 +00:00
Robin Dunn
06c0fba410 minor additions and bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:24:16 +00:00
Robin Dunn
21422dd796 incremented wxPython version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:23:12 +00:00
Robin Dunn
7e94145827 Ifdef'ed back in the scrolling aware drawing code in wxHtmlWidgetCell
for MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:19:10 +00:00
Robin Dunn
a091d18c61 Added WXDLLEXPORT for wxInitAllImageHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 21:16:45 +00:00
Robert Roebling
e115e77131 Applied a few patches,
Put some life into iODBC again,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 13:32:40 +00:00
Julian Smart
2a6277d4f2 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 13:11:23 +00:00
Robert Roebling
de87c35312 Makefile changes for static libs and HP-UX,
Compile fixes for HP-UX,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 11:20:06 +00:00
Robert Roebling
307f16e829 Changed SetToolBar() to behave a bit smarter. Untested.
Removed some unused variables.
  More tests in scroll sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 09:06:35 +00:00
Robin Dunn
ca43a38c0f Attempting to restore the binary files that got trashed earlier today.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:15:31 +00:00
Robin Dunn
a79fa1ed13 fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:13:13 +00:00
Robin Dunn
272cd5dddb Added missing costructor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:10:26 +00:00
Robin Dunn
3156ba6ea6 passing CRTFLAG to subordinant makes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:09:46 +00:00
David Webster
45016e1a6b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 04:19:01 +00:00
Robert Roebling
ed673c6a48 New scrolling code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 20:09:32 +00:00
Václav Slavík
2136a764e5 fixed bug in tables when border=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 15:24:58 +00:00
Václav Slavík
44174280e5 fixed bug in imagemap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 15:22:39 +00:00
Karsten Ballüder
223d09f6b5 replaced T() makro with wxT() due to namespace probs, _T() exists, too
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Sylvain Bougnoux
b4a2ab728b tiny fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 11:56:57 +00:00
Julian Smart
fcc228b31e Debug option mod
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 10:22:00 +00:00
Julian Smart
85f3749fd2 Made .dsp files consistent with debug option; added JPEG project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 10:21:14 +00:00
David Webster
0371a69143 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 03:39:11 +00:00
Robin Dunn
89aea7b0ef distribution updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 23:40:33 +00:00
Robin Dunn
fbfe0e6a88 more release notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 23:19:22 +00:00
Robin Dunn
ae920857a7 bugfix dealing with where the CWD is...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 23:00:59 +00:00
Robin Dunn
ccba72313c distribution updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:28:44 +00:00
Robin Dunn
86e7822245 wxPython documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:16:50 +00:00
Robin Dunn
4f63da7e98 more updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:11:23 +00:00
Robin Dunn
f40dc1e275 some release notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:07:42 +00:00
Robin Dunn
9b5801d640 distribution updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 22:05:16 +00:00
Robin Dunn
167b96c2ad updated generated sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:49:47 +00:00
Robin Dunn
6147ee3451 new contributions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:48:14 +00:00
Vadim Zeitlin
e1ea357c67 wxLog::FlushActive added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:18:07 +00:00
Vadim Zeitlin
bbfa03228a 1. wxLog::FlushActive() added
2. threads can be used in console mode


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 18:12:57 +00:00
Robin Dunn
48115f4a69 updated generated sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:52:00 +00:00
Robin Dunn
1475671a66 Added event class constructors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:51:10 +00:00
Robin Dunn
e9f2ef9429 updated distribution list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:50:17 +00:00
Karsten Ballüder
c4684a42c8 added missing implementation (untested, but compiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:29:50 +00:00
Vadim Zeitlin
39a7c7e167 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:06:39 +00:00
Vadim Zeitlin
00ded55423 item about Borland C++ dislike for objects in ternary operator added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 16:02:11 +00:00
Vadim Zeitlin
2b37dc19c5 compile fix for BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 15:54:58 +00:00
Karsten Ballüder
3976f6a846 typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 15:52:58 +00:00
George Tasker
a2115c88f3 Added support for dBase, PostGres, MySQL, Access, MS SQL Server.
Added QUERY_ONLY data connection types.
SQL logging code addded.
Cleaned up handling compilation under both 1.6x and 2.x.
Added debug code to warn when connections were not released on program termination.
MS-VC6 corrections due to larger memory buffers required.
Parameter added to not require CreateView() and CreateTable() to drop the view or table first.
DropView() function added.
Database UserIDs can now be passed to functions that need them.
SQLUnbind() called where needed now to prevent resource leaks.
TableExists() function now handles dBase files.
Dbms() function added to determine which database the program is currently running against.
Comments have been added to the Dbms() function to indicate issues specific to different data sources.
Dynamic cursor support added (no longer creates 5-7 cursors for every wxTable instance).
wxTable dtor is now virtual.
Parameter added to not require CreateIndex() and CreateTable() to drop the view or table first.
DropIndex() and DropTable() functions added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 14:19:57 +00:00
Vadim Zeitlin
9b64e79868 some fixes after global _T() => T() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 14:07:48 +00:00
Vadim Zeitlin
7c4eef7a75 Unicode overview added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 12:02:36 +00:00
George Tasker
3806d8a9f6 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 11:06:20 +00:00
George Tasker
65d7ddc4eb Fixed the GUI so it will now work correctly when widgets are clicked/used. This demo program was not really even usable, although the database portions worked correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 11:04:06 +00:00
Unknown (JL)
d604ea3355 switch /MD /MDd depend on FINAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 07:55:08 +00:00
Michael Bedward
66242c8007 Added page up and page down key support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 06:36:41 +00:00
David Webster
21802234df *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-07 04:44:22 +00:00
Robin Dunn
134d79dca7 more tweaks and fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 23:49:48 +00:00
Vadim Zeitlin
2690830ea0 added wxDialUpManager::IsAlwaysConnected() and GetISPNames(), also Dial()
is now smart enough to propose to choose from available ISPs and tries to
find out the username and password on its own


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 23:00:40 +00:00
Vadim Zeitlin
28d00598b3 fix for base-only files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 22:57:30 +00:00
Vadim Zeitlin
934d4f8d8c fix for .c files in msw subdir for VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 22:41:17 +00:00
Robin Dunn
7bf5436263 Allow override of /MDd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 19:09:07 +00:00
Vadim Zeitlin
cdb5168095 _T() restored for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 18:12:57 +00:00
Vadim Zeitlin
b540eb2bee some warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 18:12:41 +00:00
Vadim Zeitlin
07818da861 wxRegion::IsEmpty() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 18:11:57 +00:00
Vadim Zeitlin
3766781218 more changes for wxBase - starts to work under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 17:48:34 +00:00
Unknown (JL)
6768c790de compile error with VC6.0 fixed. #include "wx/wxprec.h" moved to top of file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 17:29:56 +00:00
Robin Dunn
064f8bf6f8 removed some test code that accidentally was left in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 16:27:10 +00:00
Karsten Ballüder
74697a5713 cvs debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 15:42:04 +00:00
Karsten Ballüder
e87d60c93b cvs debugging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 15:40:04 +00:00
Julian Smart
a181ac202f Corrected setting back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 15:04:05 +00:00
Michael Bedward
e685e57bbd Have to set focus to edit control when it is shown otherwise the
insertion point stays at the beginning of the text control under wxMotif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 08:23:29 +00:00
Robin Dunn
13971833d8 now supports wxCURSOR_BULLSEYE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 07:09:26 +00:00
Robin Dunn
8f17924e73 added font encoding support
some more demos
some contributed items into the library
many little tweaks and such


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 07:03:36 +00:00
Robin Dunn
f0261a7246 added font encoding support
some more demos
some contributed items into the library
many little tweaks and such


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 06:22:25 +00:00
Michael Bedward
91233253ec ifdef'd out wxEmptyString. This is defined in string.cpp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 05:45:05 +00:00
Michael Bedward
f85afd4e46 Added new wxGrid classes. This is a work in progress !
Define wxUSE_NEW_GRID as 1 in setup.h to compile the new wxGrid
otherwise the old wxGrid class will be compiled.
Treat with caution and expect bugs and missing bits at this stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 05:13:20 +00:00
Michael Bedward
10434f3c24 Added comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 04:58:38 +00:00
Michael Bedward
e442cc0d9d Sample program for new wxGrid classes.
Define wxUSE_NEW_GRID as 1 in setup.h to use the new wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 04:55:17 +00:00
Václav Slavík
704d25e2a3 PS printing now uses afm instead of gs_afm metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 22:56:29 +00:00
David Webster
f0a56ab0c3 wxOS2 updates for 10/5/99
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 22:10:56 +00:00
Robert Roebling
f7a11f8c8e Updated configure (not only configure.in)
Refresh improvements


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 19:38:05 +00:00
Sylvain Bougnoux
fe8aa971c4 after a seek, reset error if error==EOF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 07:34:27 +00:00
Sylvain Bougnoux
a20cd16ca0 warn if visual isn't found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 07:22:36 +00:00
Unknown (JL)
aee3892569 Debug version with compiler switch /MDd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 06:40:42 +00:00
Robin Dunn
d6d2b6ae8f Inceremented the version number for the DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 06:32:15 +00:00
David Webster
27476f7368 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-05 04:22:59 +00:00
Vadim Zeitlin
1bd1d102fd use BMPs and npt PNGs under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 22:55:47 +00:00
Vadim Zeitlin
73974df1f9 MSW compilation (and other) fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 22:55:10 +00:00
Vadim Zeitlin
e90c1d2a19 many changes; major ones:
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Karsten Ballüder
9841339c74 ping method almost there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:03:07 +00:00
Robert Roebling
1d61ebaca1 OpenGl updates (still gives warnings..)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 19:54:25 +00:00
Julian Smart
5e0201eaa1 Removed some unused parameter warnings; compile error in dialup.cpp corrected;
some commits are redundant (sorry)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 15:07:20 +00:00
Vadim Zeitlin
c5342938e2 attempt to fix makefile for make -j
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 14:23:44 +00:00
Vadim Zeitlin
5b95b795cc more new items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 14:05:10 +00:00
Vadim Zeitlin
f19d58d551 several new items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 13:59:36 +00:00
Julian Smart
302aa842e9 Added ProjGen for generating sample VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 13:31:50 +00:00
Julian Smart
4658cb18f1 Added some makefiles etc. to nettest sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 13:23:39 +00:00
Vadim Zeitlin
d443da9d54 -ldl only added if it exists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 12:56:01 +00:00
Julian Smart
9b94d7f91e Version numbering change, small additions to ToDo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 12:31:15 +00:00
Unknown (JL)
ef3ab00998 Renameing funktions from DIB to prevent name clashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 11:40:50 +00:00
Unknown (JL)
a61ddc4715 Renameing funktions to prevent name clashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 11:39:13 +00:00
Unknown (JL)
d676ebcf25 Parameter "small" renamed. Defined in a header file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 11:28:23 +00:00
Václav Slavík
d57bf68500 added GetTextExtent test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:18:00 +00:00
Karsten Ballüder
fa3e4baf13 minor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:16:54 +00:00
Robert Roebling
9b7e522ae9 Applied a few old patches,
Changed dclick handling in wxFileDialog,
  Added cursor code to wxToolBar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 09:03:48 +00:00
Václav Slavík
a439ecef10 more AFM metrics fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 19:41:16 +00:00
Robert Roebling
f35c265988 If we used 10% less inline functions in useless occasions,
we would have 50% less to debug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 19:33:07 +00:00
Václav Slavík
b714136483 changed to use 2 html windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 18:02:19 +00:00
Václav Slavík
f036b31cde postscript DC didn't check for AFM metrics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 18:01:17 +00:00
Václav Slavík
2131a664df wxHTML 8.3 convention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 17:56:02 +00:00
Karsten Ballüder
275abf24e1 wxDialUpManager fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 17:26:45 +00:00
Karsten Ballüder
c756f74260 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 15:57:28 +00:00
Vadim Zeitlin
24df4c19d9 forgot this one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 01:36:06 +00:00
Vadim Zeitlin
a0b4c98b8a 1. Win9x support + async dialing + many more for wxDialUpManager
2. renamed files from net.h/cpp to dialup.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 01:33:05 +00:00
Vadim Zeitlin
1949cd9c5c I'm having some weird problems with cvs...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 01:30:31 +00:00
Vadim Zeitlin
4cd056a7c1 fixes I previously forgot to check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 00:05:52 +00:00
Robert Roebling
5fd11f0971 Added test for wxTreeCtrl::GetChildrenCount()
Fixed Reparent (added heaps of debug code for this)
  Small mods to glcanvas


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 19:43:56 +00:00
Karsten Ballüder
1c8515f9ab Unix implementation of wxDialUpManager.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:29:54 +00:00
Václav Slavík
6782163029 did not compile under GCC2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:21:20 +00:00
Václav Slavík
69941f0586 making wxHTML 8.3 compliant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:19:46 +00:00
Václav Slavík
47f631042b added wxHTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:18:00 +00:00
Václav Slavík
ad1fa80802 global makefile for samples now include html
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 18:17:33 +00:00
Guillermo Rodriguez Garcia
5c15428b75 PROCESS_EVENTS macro added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 15:21:29 +00:00
Julian Smart
25a37c8cb1 Added roadmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 14:15:58 +00:00
Václav Slavík
df9cbfc2bf removed declarations of static wxLoadQueryFont, wxLoadQueryNearestFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 13:41:13 +00:00
Robert Roebling
e8b04eb349 Updated doc for wxFileExists()
Corrected redrawing and OpenGl canvas
  Made new font code in utilsunix compile (Why does
    Vadim never need any headers?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 10:56:10 +00:00
David Webster
f1415824cc *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 03:15:13 +00:00
David Webster
ce44c50e9b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-02 01:44:39 +00:00
Vadim Zeitlin
def6fb9bd8 fix for Append() bug for sorted comboboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 23:00:58 +00:00
Vadim Zeitlin
83b1f35395 Borland makefiles fixes for .c files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 23:00:30 +00:00
Vadim Zeitlin
7cc391bd39 minor correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 22:50:26 +00:00
Vadim Zeitlin
09884325fc wxDialUpManager class (first draft, works only under Windows NT for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 22:42:17 +00:00
Vadim Zeitlin
7a903311aa virtual functionsignature corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:31:57 +00:00
Vadim Zeitlin
0661ec3993 wxCALLBACK added, wxCOMPFUNC_CONV moved to defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:27:51 +00:00
Vadim Zeitlin
ddc8c2e3ab wxFontEnumerator class for Motif/X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:01:54 +00:00
Robert Roebling
e1811a014b Improved wxFileDialog behaviour wrt to remembering filenames
Ported new scrolling code from wxWindow to wxScrollBar and
    wxSlider


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 15:41:15 +00:00
Vadim Zeitlin
93ccaed869 wxMotif::wxFont supports encodings too (and shares 99% of font code with wxGTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 14:59:52 +00:00
Vadim Zeitlin
d391a34510 renamed gsockmot.cpp to *.c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 13:53:26 +00:00
Vadim Zeitlin
e1393d82b3 fix from Ron for one-shot timers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 13:21:34 +00:00
Julian Smart
5427610e6b Updates to VC++ project files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 11:41:15 +00:00
Vadim Zeitlin
1ccd74daf9 small font demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 00:50:45 +00:00
Vadim Zeitlin
b9b3ccd9ea basic support for encodings for wxMSW::wxFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 00:49:52 +00:00
Guillermo Rodriguez Garcia
f85d901fcb new sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:56:10 +00:00
Guillermo Rodriguez Garcia
483249fc1a bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:53:10 +00:00
Guillermo Rodriguez Garcia
75d684d9f7 All events now internally watched
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:44:00 +00:00
Guillermo Rodriguez Garcia
5bb0807e96 Uses wxSocketBase::Unread instead of CreatePushback
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:42:36 +00:00
Guillermo Rodriguez Garcia
96db102a93 Several changes and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:41:33 +00:00
Vadim Zeitlin
8dc9904630 fixed compilation and added support for all 4 images (as a side effect) to the
generic tree control


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:25:19 +00:00
Robin Dunn
37f6a9770c gernerated source code updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:28:18 +00:00
Robin Dunn
60edeacfb7 version string is now quoted properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:27:28 +00:00
Robin Dunn
e918362128 fixed an error in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:26:02 +00:00
Vadim Zeitlin
2ebcd5f5fd wxListCtrl::InsertItem returns the index of the inserted item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:17:02 +00:00
Robert Roebling
5e014a0c44 Corrected filelist.txt a little - one gsocket.c is enough,
Corrected cursors - not yet perfect,
  Added some tests to scroll sample
  Made wxScrolledWindow::Scroll() call Refresh(),
  Change wxListCtrl to reflect the latter change (wxTreeCtrl will follow),
  Added activate event for wxMDIChildFrame
  Implemented wxSIMPLE_BORDER for wxWindow (no controls),
  Tried to correct positioning upon start-up - no way,
  Rewrote catching of scroll events - page-up, page-down, up and down
    work now. Don't know what TOP and BOTTOM are used for.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 22:13:45 +00:00
Robin Dunn
a9221a9508 fixed the rule for the DLL so it doesn't build the .lib file twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 21:28:29 +00:00
Robin Dunn
e0f83017f5 added missing fontcmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 21:26:44 +00:00
Unknown (MT)
36e2955a64 only set parent frame ontop when the current frame being destructed is active
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 08:01:13 +00:00
Robin Dunn
76e1c2debf updates for wxPython docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 07:13:40 +00:00
Robin Dunn
2f90df854e 1. wxHtmlHelpController and related classes
2. the C++ versions of wxSizer and firends, Python versions are
   'depreciated'
3. wxPyEvent and wxPyCommandEvent, event classes that can carry some
   python objects through the event system and safely come back out
   again.
4. wxGridSizer and wxFlexGridSizer
5. wxValidator
6. wxPyOnDemandOutputWindow
7. several tweaks, fixes and additions of missing methods, etc.
8. and probably several other things I am forgetting since CVS was
   down so long...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 07:11:20 +00:00
Robin Dunn
2348eaee20 Created and wrapped wxPyControlPoint
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 06:58:38 +00:00
Vadim Zeitlin
74b31181b3 1. Implemented support for different icons for different states (expanded,
selected, combination of them) for the tree control (and doc'd it)
2. removed code which was sending extra event if wxFrame::SetSize() was
   used
3. important changes to wxWizard interface
4. small compilation corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 22:47:56 +00:00
Sylvain Bougnoux
4f3ac40926 Change wxGetCurrentUTime as wxGetCurrentMTime (milli not micro!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:51:04 +00:00
Sylvain Bougnoux
f0599ea919 Factorize timercmm.cpp code
Added wxGetCurrentUtime
Put extern declaration in wx/timer.h instead of wx/*/timer.h
Added wxChrono class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:40:04 +00:00
Vadim Zeitlin
0c5d3e1ccd 1. added a brief overview of Unicode support
2. added and documented wxBITMAP() macros (as wxICON)
3. restructured wxFont class, added support of encoding parameter
4. regenerated makefiles to compile the new fontcmn.cpp file
5. corrected bug with non existing files in document-view history


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:02:07 +00:00
J. Russell Smyth
7a3ac80489 Added wxNB_LEFT,RIGHT,BOTTOM styles to alter tab placement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:45:41 +00:00
J. Russell Smyth
ab20a9a95a Added defines to allow altered tab placement under gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:44:14 +00:00
J. Russell Smyth
a3a7f8791c Added wxNB_RIGHT,LEFT,BOTTOM flags for tab placement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:41:05 +00:00
Vadim Zeitlin
fdb7dadb6e param type of wxWindow::Reparent() fixed in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:35:52 +00:00
J. Russell Smyth
4a0253b82b Added wxNB_LEFT,RIGHT,BOTTOM for notebook tab placement
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:34:58 +00:00
Robin Dunn
a77aa9d600 Removed call to SetValidator since CreateBase was doing it already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 16:10:48 +00:00
Julian Smart
1b9315eb77 Misc changes, including to wxPropertyForm and sample to make it work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 15:55:50 +00:00
Vadim Zeitlin
51c0a521a9 wxListCtrlCompare typedef now is defined correctly (was missing CALLBACK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 15:18:58 +00:00
Vadim Zeitlin
866592d872 //... => /* ... */
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 11:44:12 +00:00
Vadim Zeitlin
172d3acb55 item about constants naming added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 11:39:52 +00:00
Michael Bedward
556921dc4e Ifdef'd out sample code for wxStaticBitmap. It's not working under
wxMOTIF at the moment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 05:32:59 +00:00
Michael Bedward
ba7ce6a0b7 Added check to ensure that style arg to ctor has either wxHORIZONTAL or
wxVERTICAL. Without one of these the slider doesn't display under
Motif.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 05:22:34 +00:00
David Webster
23e4b7d824 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 05:16:03 +00:00
Michael Bedward
0ba1a6f33c Added code to wxMemoryDC ctor to set default font. This fixes the controls
sample which was crashing when calling wxDC::DrawText.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 03:29:16 +00:00
Michael Bedward
17023320be Added code to implement wxTE_READONLY style for single line text controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 02:37:29 +00:00
David Webster
4486e1be1f no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 22:29:47 +00:00
Robin Dunn
269e82009d I got tired of some of the memory leak messages related to html and
filesystem classes, (even when I wasn't using them) so I added to the
cleanup code already there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 20:15:31 +00:00
Sylvain Bougnoux
d57eb7b9b3 add imagall.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 19:06:44 +00:00
Sylvain Bougnoux
b5a4a47df5 change wxImage::InitAllHandlers to wxInitAllImageHandlers and put it in a separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 19:05:49 +00:00
Sylvain Bougnoux
6e58e01afa *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 19:03:59 +00:00
David Webster
86de7616de More OS/2 changes and fixes. Getting there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 17:19:25 +00:00
Vadim Zeitlin
22aed133d8 the bitmaps in wxPropertyList are created on demand: this speeds up the
program startup and also cures the crash under wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 16:22:26 +00:00
Vadim Zeitlin
dd85fc6b89 started separating GUI parts of wxLog from the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 16:10:03 +00:00
Harco de Hilster
77cff60663 header inclusion fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 11:53:41 +00:00
Harco de Hilster
9c3d0b59c4 Removed obsolete files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 11:52:56 +00:00
Sylvain Bougnoux
a14e57f9f7 Add wxImage::InitAllHandlers()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 09:03:37 +00:00
David Webster
45fcbf3b7a *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 04:49:19 +00:00
Robin Dunn
0c0d686fe5 Added userData to wxSizerItems and other things to make sizers more
usable/overrideable from wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-20 03:12:49 +00:00
Robin Dunn
76f78a96ce Added CVS module for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-19 18:54:02 +00:00
Robin Dunn
9cce9de16f updates of some SWIG generated stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:33:39 +00:00
Robin Dunn
10534c0bb1 some ifdef'd out things added back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:23:56 +00:00
Robin Dunn
26197023a7 minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:21:02 +00:00
Robin Dunn
b2bc50e4ca more things to ignore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:20:13 +00:00
Vadim Zeitlin
9dea50fc65 setlocale() argument corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 18:02:58 +00:00
Vadim Zeitlin
90a53a3aed small underscores fix for GTK 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:59:05 +00:00
Vadim Zeitlin
572d746108 underscores in menu items handled too under GTK+ 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:54:14 +00:00
Vadim Zeitlin
a4c970041c unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:34:17 +00:00
Vadim Zeitlin
ae8f576913 serbase.cpp added to the list of files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:23:20 +00:00
Vadim Zeitlin
964688d8ec unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:17:04 +00:00
Vadim Zeitlin
60df2e7d97 FreeBSD linking fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 17:14:49 +00:00
Vadim Zeitlin
6e31e94063 unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:57:21 +00:00
Vadim Zeitlin
45c94d784d typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:53:10 +00:00
Vadim Zeitlin
d2682f231a more files to ignore (*.env)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:51:31 +00:00
Vadim Zeitlin
07d4b94c3b ambiguous ctor call resolved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:50:48 +00:00
Vadim Zeitlin
ec6e0a192c typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:49:31 +00:00
Vadim Zeitlin
014b0d064e unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:49:30 +00:00
Vadim Zeitlin
1fa609b166 more files to ignore (*.d and configarg.cache)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:48:25 +00:00
Vadim Zeitlin
0b862e2069 font selector dialog doesn't work with GTK+ 1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:42:13 +00:00
Vadim Zeitlin
c8c0e54c70 extra consts removed here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:39:08 +00:00
Vadim Zeitlin
284b4c8866 unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:34:02 +00:00
Vadim Zeitlin
7d5af6fa6b 'static not in the beginning of the decl' warnings fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:32:53 +00:00
Vadim Zeitlin
077968ca5e Mac and OS2 files excluded from wxGTK and wxMSW modules
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 16:30:44 +00:00
Robin Dunn
5aeeab1454 Fixed wxTreeCtrl to use the proper bacground color from
SystemSettings, and changed how wxListCtrl used SystemSettings
too (static method doesn't need an instance.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-18 00:10:03 +00:00
Vadim Zeitlin
086c94af90 compilation error corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 23:37:27 +00:00
Vadim Zeitlin
5d47c8a0d2 now we initialize wxListEvent correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 23:26:38 +00:00
Guillermo Rodriguez Garcia
186005466d Solved problem with wxhInstance name being mangled by MSVC; wxGetInstance is now extern C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 22:24:28 +00:00
Guillermo Rodriguez Garcia
eb254be6df Solved problem with wxhInstance name being mangled by MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 22:23:37 +00:00
David Webster
a419c3b116 More OS/2 stubs and caret fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 21:46:51 +00:00
David Webster
0616b8382d More stubs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 21:45:56 +00:00
Robin Dunn
2d0294308d uncommented a try...except that I had removed for testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 15:43:05 +00:00
Robin Dunn
0190e1faf8 Don't need these in the demo directory anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 05:58:27 +00:00
Robin Dunn
e166644c53 New wxHtml stuff, including a TagHandler for placing wxPython widgets
on the html page.

Some other tweaks and fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 05:55:00 +00:00
Unknown (MT)
2819545569 set tooltip to be TOPMOST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 04:03:10 +00:00
David Webster
77cd51c3de *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 03:29:33 +00:00
Guillermo Rodriguez Garcia
af2fd9613a - NOWAIT flag now implemented
- WaitForXXX are now correct (will not report readability / writability if
in the middle of a defered read / write operation)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 01:51:06 +00:00
Guillermo Rodriguez Garcia
236ef8a966 typedef unsigned int bool (instead of int) for consistency with defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 01:45:36 +00:00
Unknown (AN)
a3daed0276 call HasMask() before writing PNG files, as was done in WX_2_0_FIXES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 19:24:01 +00:00
Vadim Zeitlin
9f6af110ff vetoing item collapse works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 13:32:03 +00:00
Vadim Zeitlin
0b26605d52 use "cd dir && make" instead of "cd dir; make" which results in infinite loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 11:37:41 +00:00
Michael Bedward
7183e38bec Added GetMainWidget() to fix bug that was causing crashes under wxMOTIF.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 10:32:03 +00:00
Patrick Albert
1e2c86ca5c Correcting minor painting problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 08:56:32 +00:00
Michael Bedward
1e8abce5e8 Modified wxTranslateMouseEvent so that it can recognize double clicks.
This allows double click events to be intercepted by panel items.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-16 07:33:16 +00:00
David Webster
9fea1a5d62 Updated makefiles for VisualAge C++ V3.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 21:56:39 +00:00
J. Russell Smyth
a6f989f3db corrected to allow drag and drop for mingw32/gcc295
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 21:45:36 +00:00
Vadim Zeitlin
7fb233050c added test for changing toolbar on the fly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 16:15:50 +00:00
Vadim Zeitlin
93840b31b9 removed some unneeded bit of test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 15:22:48 +00:00
Vadim Zeitlin
455fadaa6a underscors are handled better in the menu item labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 15:06:19 +00:00
Vadim Zeitlin
503f414edd corrected the bad patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 14:27:04 +00:00
Vadim Zeitlin
2e4f15693a patch for AIX compilation (Hans-Joachim Baader)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 14:12:22 +00:00
Guillermo Rodriguez Garcia
0ce742cf09 Checking for wxUSE_SOCKETS and __GSOCKET_STANDALONE__ should be right, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 02:21:15 +00:00
Guillermo Rodriguez Garcia
7c235f0914 Now uses wxSocketBase::Error() to see if last IO call failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:17:15 +00:00
Guillermo Rodriguez Garcia
17aa2bec08 Various small bugfixes
Serious bugfix in ReadMsg (Read was being called with buffer == NULL !)
Added m_error
Added error handling to all IO functions
Discard now correctly updates m_lcount
Implemented wxSocketBase::SetTimeout
Deleted wxSocketClient::OnRequest (all is handled inside wxSocketBase's)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:15:39 +00:00
Guillermo Rodriguez Garcia
68317b6d3f You CAN'T check for wxUSE_SOCKET *before* #including <wx/setup.h>!!! Who has done this?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:09:54 +00:00
Guillermo Rodriguez Garcia
7c395bf3a1 wxSocketBase::OnRequest is non.virtual now (and there is no wxSocketClient::OnRequest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:04:44 +00:00
Guillermo Rodriguez Garcia
c21b68f7dd Added _GSOCKET_STANDALONE_ symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:02:49 +00:00
Robin Dunn
3ef01ce5e3 Added GetParser method to wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 21:09:30 +00:00
J. Russell Smyth
4c2d8a30f6 Patches for mingw32/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 21:03:19 +00:00
J. Russell Smyth
2d996ed1c4 Mingw32/gcc-2.95 change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:57:06 +00:00
J. Russell Smyth
6627a4b049 Changes for mingw32/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:55:29 +00:00
J. Russell Smyth
0045dee3f4 Makefile for mingw/gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:54:48 +00:00
J. Russell Smyth
d04d2fb520 Added makeg295.env file for building with gcc-2.95/mingw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:53:04 +00:00
J. Russell Smyth
eaac466a40 Added files for mingw32/gcc-2.95/norlander headers build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:52:00 +00:00
J. Russell Smyth
a98404cd24 Added makefile and resource script for building under mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:30:33 +00:00
Harco de Hilster
91f491639e Changed AppendCommon (called by all Append methods) so it doesn't
call ApplyWidgetStyle (which applies the current style to all list_items,
which should already have the right style), but instead only applies
the style to the new list_item. This results in a *great* speedup for large
listboxes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 19:32:20 +00:00
Robin Dunn
761a9d2b1f ifdef'ed out GetBoundingRect for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 03:34:00 +00:00
Robin Dunn
a65c6e1446 No need to separate generated code for html because there are no
platform differences.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 02:17:59 +00:00
Robin Dunn
0f66a9f39d wxPython html module updates. The beginings of tag handler support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:34:01 +00:00
Robin Dunn
5b626e7f84 Added ogl to the module list
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:32:26 +00:00
Robin Dunn
ec3e670f9f The beginings of wxHtmlWindow support in the wxPython demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:31:50 +00:00
Robin Dunn
d426c97e9a More tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:29:53 +00:00
Robin Dunn
389c55270a Moved wxPy_ConvertList function from oglhelpers to helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:28:10 +00:00
Robin Dunn
18ba9da6b9 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:20:10 +00:00
Robin Dunn
d098a3572c Changed HWND --> WXHWND in tooltip.h so it can be included in files
that don't include windows headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:19:57 +00:00
Robin Dunn
c23bbc11ea Now specifies the corrent EVT_ macro names for wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 18:21:38 +00:00
Harco de Hilster
2e39ec8448 small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 18:11:31 +00:00
Julian Smart
7cb86a4c28 Added DLL versions of project files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:53:28 +00:00
Robin Dunn
5454a9276b Now setting the right library switches for both platforms...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:46:50 +00:00
Harco de Hilster
6b5286d112 Fixed surplus space in help output.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:17:45 +00:00
Harco de Hilster
0940bcf7f5 Changed configure option --with-libgif to --enable-gif
gif now defines wxUSE_GIF instead of wxUSE_LIBGIF
also added --enable-pcx (wxUSE_PCX) and --enable-pnm (wxUSE_PNM).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 17:15:43 +00:00
Julian Smart
a19fb96bd0 Added VC++ 5 wxWin project files (not generated sample project files)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 14:31:48 +00:00
Julian Smart
28468136d0 Made HelpGen into a wxWin app (still uses command-line args); moved includes
into src for simplicity; added VC++ 5 project file


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 14:29:41 +00:00
Harco de Hilster
46c6b9c0ec new include file for change to new wxHtmlHelp classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 13:24:06 +00:00
Julian Smart
b31ba28885 Took anonymous class out of wxHtmlHelpFrame; corrected some typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 13:16:28 +00:00
Robin Dunn
c596875e23 Configure support for OGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:18:36 +00:00
Unknown (MT)
ca8a9e603a add detachmenu, insert menu, replace menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:17:09 +00:00
Unknown (MT)
c399c2de41 use global hwndTT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:16:40 +00:00
Unknown (MT)
ea9a4296a2 Add detachmenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:16:18 +00:00
Unknown (MT)
7682a175b6 Add wxTE_AUTO_SCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:15:46 +00:00
Unknown (MT)
066f302c6c use a global hwndTT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:15:11 +00:00
Unknown (MT)
2c738dd87a add wxTE_AUTO_SCROLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:14:27 +00:00
Unknown (MT)
ebb206a33d blit using icon mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:13:52 +00:00
Unknown (MT)
1cf27c6349 Add detachmenu, insert menu, replace menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 07:13:16 +00:00
Unknown (MT)
bfa2e032ef Added callback to start in current directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 06:38:43 +00:00
Robin Dunn
b661e6759e Allowed gsocket to compile when wxUSE_SOCKETS is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:31:20 +00:00
Robin Dunn
2bbf461836 Makefile updates from new filelist.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:30:01 +00:00
Robin Dunn
f42b1601d6 Fixed some compile errors (MSVC++ 6) and some very strange link errors when
building a DLL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:27:36 +00:00
Robin Dunn
e6a5dc94a4 Added implicit rule for building .c files in msw directory (gsocket)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:25:30 +00:00
Robin Dunn
fcd4694c3e Allowed tbarsmpl to be built for win32 as it still has its uses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 05:24:57 +00:00
Robin Dunn
a0250ba3e5 Added WXDLLEXPORT's to the class definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 03:49:33 +00:00
Robin Dunn
a097c93d4f Some OGl updates:
uses wxINVERT instead of wxXOR

	a couple minor tweaks

	VC makefiles now use Debug and Release for object files
	depending on FINAL


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 03:08:57 +00:00
Robin Dunn
93c95e18f4 Made wxNO_DEFAULT set the "no" button as the default, according to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 02:50:35 +00:00
Harco de Hilster
90bb2919de fixed typo (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 18:49:59 +00:00
Harco de Hilster
8ec2b48446 New HTML help system. The old controller class has been split in
three parts; basic data, a frame and a controller. Docs will appear
shortly...

All Makefiles should be correctly updated. To be sure, I put an
#error pragma in the old files, which will be removed in a few days.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 17:45:34 +00:00
Guillermo Rodriguez Garcia
a0378c28b8 fixed (didn't work at all)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 11:19:35 +00:00
Guillermo Rodriguez Garcia
4c28d606dd Added _GSocket_Configure()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 11:18:15 +00:00
Guillermo Rodriguez Garcia
2f7c2af547 Fixed a bug when GSocket_SetCallback was used before allocating the internal socket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-12 11:17:00 +00:00
Guillermo Rodriguez Garcia
83802b0bd9 little changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:30:17 +00:00
Guillermo Rodriguez Garcia
fade627a81 Prototypes for some _internal_ functions had to be changed (API remains the same)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:29:50 +00:00
Guillermo Rodriguez Garcia
e9e3e3abaf Added GSocket_Select() and removed some unused functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:29:14 +00:00
Guillermo Rodriguez Garcia
56d8adc0c0 - Completed WaitOnAccept
- Rewritten all the WaitXXX functions so that they do not depend on the
event notification system.
- Rewritten all the internal event system; now all events are internally
monitorized, but users are notified only of these events they are
interested in. This solves a lot of hard-to-catch little problems
and bugs which could arise sometimes.
- Rewritten all the automatic event notifier code.
- Added callback management code, which had been forgotten (badly needed
for wxTCPConnection in IPC classes)
- Fixed wxSocketBase::Write(), which didn't honour the WAITALL flag.
- Fixed some other bugs.
- The code is now much more stable and robust than before (because
the architecture is more robust, but it still needs testing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:27:55 +00:00
Guillermo Rodriguez Garcia
ef25e6386d Added GSocket_Select()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:17:49 +00:00
Guillermo Rodriguez Garcia
483c6690e9 Added GSocket_Select() and fixed some things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-11 20:14:30 +00:00
Harco de Hilster
1235650ffb sensible default...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 19:14:15 +00:00
Robin Dunn
b730516c98 Made wxNO_DEFAULT set the "no" button as the default, according to the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 17:57:47 +00:00
Robin Dunn
e91a9dfcc3 wxPython module for OGL added.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:25:47 +00:00
Robin Dunn
1afc06c2d8 Some tweaks and updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:23:48 +00:00
Robin Dunn
922dc97681 Better dependency checking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:23:03 +00:00
Robin Dunn
3ab72185cb Put Get/Set/Push/PopEventHandler methods back in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:11:12 +00:00
Robin Dunn
d559219f40 Lots more support for event-less callbacks
Exported some symbols for the other modules to use
etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-10 06:05:32 +00:00
Guillermo Rodriguez Garcia
228b910aea wxUSE_GIF instead of wxUSE_LIBGIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:20:37 +00:00
Guillermo Rodriguez Garcia
9ab6ee851e Ops. wxUSE_XXX and wxUSE_STREAMS are separated again :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:19:18 +00:00
Guillermo Rodriguez Garcia
2b98cb1f84 small changes here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:16:11 +00:00
Guillermo Rodriguez Garcia
83b1bfaac9 wxUSE_GIF instead of wxUSE_LIBGIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:14:22 +00:00
Guillermo Rodriguez Garcia
83413d6d2d *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:12:08 +00:00
Guillermo Rodriguez Garcia
35809fe3d7 Accept, AcceptWith -> wait parameter
WaitOnAccept
m_establishing member for correct WaitOnConnect


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:08:31 +00:00
Guillermo Rodriguez Garcia
d80d1aba10 Fixed WaitOnConnect().
Added wait parameter to Accept() and AcceptWith()
Added WaitOnAccept() (incomplete)
Added about a dozen or so small bugfixes here and there.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:03:20 +00:00
Guillermo Rodriguez Garcia
7be110e30d Replaced wxUSE_LIBGIF with wxUSE_GIF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 22:01:30 +00:00
Guillermo Rodriguez Garcia
b9b32d5c4f Added #include "wx/setup.h" (or "wx/defs.h") before checking for
wxUSE_***

Merged wxUSE_*** and wxUSE_STREAM (is this right?)

Replaced wxUSE_LIBGIF with wxUSE_GIF everywhere


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 21:58:54 +00:00
David Webster
6f349458f6 VisualAge C++ V4.0 configuration files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 21:24:24 +00:00
David Webster
feeb816597 Latest OS/2 compiler bug fixes for common and generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 21:22:51 +00:00
Guillermo Rodriguez Garcia
cb421e53cb Fixed some bus in Connect()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 19:16:23 +00:00
Karsten Ballüder
a16d3c04d7 cosmetic fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 13:41:40 +00:00
Guillermo Rodriguez Garcia
11235b74ce Nothing serious here :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 12:25:47 +00:00
Julian Smart
33bbfe4b23 Small bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 11:22:20 +00:00
Karsten Ballüder
0b1c443719 no more errors in make clean
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-09 08:56:09 +00:00
Guillermo Rodriguez Garcia
aa3981f2c6 Bugfix in GSocket_Cleanup()
GSocket_Connect and GSocket_WaitConnection now detect EWOULDBLOCK
errors and act accordingly (this is needed for correct wxSocket
behaviour)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-08 22:13:48 +00:00
Julian Smart
2f85113366 Fixed cursor loading on Win95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-08 12:39:41 +00:00
Julian Smart
b70ababc14 Added wxTE_NO_VSCROLL style; corrected joystick event class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-08 08:29:49 +00:00
Guillermo Rodriguez Garcia
2618484fed Little changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 16:23:46 +00:00
Guillermo Rodriguez Garcia
881eba2c0d Added -lwsock32 (needed for socket support)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:40:37 +00:00
Guillermo Rodriguez Garcia
a9775f1f58 Added gsocket.c for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:37:31 +00:00
Guillermo Rodriguez Garcia
791b24c405 wxSocketClient::Connect() now honours the 'wait' parameter.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:34:27 +00:00
Guillermo Rodriguez Garcia
9bbd7ba3ea GSocket for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:25:48 +00:00
Guillermo Rodriguez Garcia
904ec517d3 Header file for MSW GSocket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 15:20:51 +00:00
Julian Smart
2ef1f50a94 Corrected #include in gsockmot.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 08:22:23 +00:00
J. Russell Smyth
1a9469d7cb Fixed include gsockunix.h line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-07 05:28:25 +00:00
Guilhem Lavaux
533c7161fc Moved gsockunx.h from src/unix to include/wx/unix
Added include/wx/unix/gsockunx.h to Makefile.in


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 19:06:46 +00:00
Patrick Albert
63dcfc151b Added documentation for wxMenuBar::Refresh()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:54:56 +00:00
Patrick Albert
fbb90f7f2b Changed scope of wxMenuBar::Refresh() from protected to public.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:53:09 +00:00
Julian Smart
2f435842c5 Added missing constant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:15:33 +00:00
Julian Smart
24126cdde8 Changed value of wxGA_SMOOTH (clashed with wxVERTICAL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 12:12:53 +00:00
Julian Smart
543f08a676 Added wxFontEnumerator class for wxMSW, and fixed text validator for French
decimal point (",").


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-06 09:36:21 +00:00
Vadim Zeitlin
d87a962086 some fixes for VC++ 1.5 makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 20:45:24 +00:00
Julian Smart
7e9a386e10 Fixed some doc problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 19:42:03 +00:00
Julian Smart
1044a386f0 Misc. 16-bit compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 15:14:50 +00:00
Julian Smart
ed75793627 Updating corrupt file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 14:09:49 +00:00
Guilhem Lavaux
aa6d970619 Updated wxSocket documentation
Renamed GSOCK_TIMEOUT to GSOCK_TIMEDOUT
Added wxURL::ConvertFromURI
Use wxUSE_LIBGIF in imaggif.cpp and samples/html/test/test.cpp
Full implementation of "timeout"s in gsocket.c
Non-blocking WaitConnection()/Connect() are supported now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 10:23:22 +00:00
Guilhem Lavaux
de3131e784 Changed some more name in wxSocket (internal)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 06:46:38 +00:00
Michael Bedward
da4a658da4 What is it doing here anyway ?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 06:33:31 +00:00
Guilhem Lavaux
aa8fb7a016 Added GSocket/wxSocket alias to socket.h to prevent us from using GSocket
internal symbols
Added G721 filter for Wave
Fixed a bug in wxsocket sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 05:51:05 +00:00
Michael Bedward
11d737b409 Modifed ShowModal() function so that you can have dialogs with yes, no and cancel buttons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-05 03:31:27 +00:00
Harco de Hilster
e951f847fa fixed crashing generic dir dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 10:54:26 +00:00
Michael Bedward
b387781ceb Added statline, checklst and spinbutt file to wxMotif compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 05:19:10 +00:00
Michael Bedward
d84b1219a5 Enabled wxStaticLine for wxMotif. Added checklst.cpp and spinbutt.cpp to Motif compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 05:16:19 +00:00
Michael Bedward
7a4b8f2770 Fixes for gcc 2.95 and AIX.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-03 04:18:50 +00:00
Guilhem Lavaux
765e386bfa Added a test to wxSocket sample (client side socket event test)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-02 19:11:38 +00:00
Julian Smart
da4b7ffc78 SetMenuBar potential memory leak fixed; added wxTAB_TRAVERSAL as dummy (0) style
for backward compatibility


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-02 08:23:23 +00:00
557 changed files with 252511 additions and 82011 deletions

View File

@@ -1,117 +0,0 @@
*.py
*.pyc
*.pyc
*.pyd
*.pyd
*.pyo
*.pyo
*.zip
.cvsignore
.emacs.desktop
__init__.py
__init__.py
__init__.pyc
__init__.pyc
__init__.pyo
__init__.pyo
build.local
cmndlgs.py
cmndlgs.py
cmndlgs.pyc
cmndlgs.pyc
cmndlgs.pyo
cmndlgs.pyo
controls.py
controls.py
controls.pyc
controls.pyc
controls.pyo
controls.pyo
controls2.py
controls2.py
controls2.pyc
controls2.pyc
controls2.pyo
controls2.pyo
docs
events.py
events.py
events.pyc
events.pyc
events.pyo
events.pyo
filelist
frames.py
frames.py
frames.pyc
frames.pyc
frames.pyo
frames.pyo
gdi.py
gdi.py
gdi.pyc
gdi.pyc
gdi.pyo
gdi.pyo
glcanvas.py
glcanvas.pyc
glcanvasc.ilk
glcanvasc.pyd
image.py
image.pyc
mdi.py
mdi.py
mdi.pyc
mdi.pyc
mdi.pyo
mdi.pyo
misc.py
misc.py
misc.pyc
misc.pyc
misc.pyo
misc.pyo
printfw.py
stattool.py
stattool.py
stattool.pyc
stattool.pyc
stattool.pyo
stattool.pyo
utils.py
utils.py
utils.pyc
utils.pyc
utils.pyo
utilsc.ilk
utilsc.pyd
windows.py
windows.py
windows.pyc
windows.pyc
windows.pyo
windows.pyo
windows2.py
windows2.py
windows2.pyc
windows2.pyc
windows2.pyo
windows2.pyo
windows3.py
windows3.pyc
windows3.pyo
wx.py
wx.py
wx.pyc
wx.pyc
wx.pyo
wxPython.doc
wxc.ilk
wxc.pdb
wxc.pyd
wxp.py
wxp.pyc
wxp.pyo
wxpc.ilk
wxpc.pdb
wxpc.pyd

View File

@@ -1,411 +0,0 @@
wxPython README
---------------
Welcome to the wonderful world of wxPython!
Once you have installed the wxPython extension module, you can try it
out by going to the [install dir]\wxPython\demo directory and typing:
python demo.py
There are also some other sample files there for you to play with and
learn from.
If you selected to install the documentation then point your browser
to [install dir]\wxPython\docs\index.htm and you will then be looking
at the docs for wxWindows. For the most part you can use the C++ docs
as most classes and methods are used identically. Where there are
differences they are documented with a "wxPython Note."
On Win32 systems the binary self-installer creates a program group on
the Start Menu that contains a link to running the demo and a link to
the help file. To help you save disk space I'm now using Microsoft's
HTML Help format. If your system doesn't know what to do with the help
file, you can install the HTML Help Viewer as part of IE 4+, NT
Service Pack 4+, or the HTML Workshop at
http://msdn.microsoft.com/workshop/author/htmlhelp/download.asp.
Getting Help
------------
Since wxPython is a blending of multiple technologies, help comes from
multiple sources. See the http://alldunn.com/wxPython for details on
various sources of help, but probably the best source is the
wxPython-users mail list. You can view the archive or subscribe by
going to
http://starship.python.net/mailman/listinfo/wxpython-users
Or you can send mail directly to the list using this address:
wxpython-users@starship.python.net
----------------------------------------------------------------------
What's new in 2.1b3
--------------------
This release is syncronized with release 2.1 snapshot 9 of wxWindows.
Switched to using SWIG from CVS (see http://swig.cs.uchicago.edu/cvs.html)
for some of the new features and such. Also they have encorporated my
patches so there is really no reason to stick with the current (very
old) release... This version of SWIG gives the following new
features:
1. Keyword arguments. You no longer have to specify all the
parameters with defaults to a method just to specify a
non-default value on the end. You can now do this instead:
win = wxWindow(parent, -1, style = mystyle)
2. There is now an an equivalence between Python's None and C++'s
NULL. This means that any methods that might return NULL will
now return None and you can use none where wxWindows might be
expecting NULL. This makes things much more snake-ish.
There is a new build system based on a new Python program instead of
raw makefiles. Now wxPython builds are virtually the same on MSW or
Unix systems. See the end of this file for new build instructions and
see distrib/build.py for more details.
wxDC.Bilt now includes the useMask parameter, and has been split into
two different versions. wxDC.BlitXY is like what was there before and
takes raw coordinants and sizes, and the new wxDC.Blit is for the new
interface using wxPoints and a wxSize.
What's new in 2.1b2
--------------------
Added the missing wxWindow.GetUpdateRegion() method.
Made a new change in SWIG (update your patches everybody) that
provides a fix for global shadow objects that get an exception in
their __del__ when their extension module has already been deleted.
It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
line 496 if you want to do it by hand.
It is now possible to run through MainLoop more than once in any one
process. The cleanup that used to happen as MainLoop completed (and
prevented it from running again) has been delayed until the wxc module
is being unloaded by Python.
I fixed a bunch of stuff in the C++ version of wxGrid so it wouldn't
make wxPython look bad.
wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
wxWindow.PopupMenuXY to be consistent with some other methods.
Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
You can now provide your own app.MainLoop method. See
wxPython/demo/demoMainLoop.py for an example and some explaination.
Got the in-place-edit for the wxTreeCtrl fixed and added some demo
code to show how to use it.
Put the wxIcon constructor back in for GTK as it now has one that
matches MSW's.
Added wxGrid.GetCells
Added wxSystemSettings static methods as functions with names like
wxSystemSettings_GetSystemColour.
Removed wxPyMenu since using menu callbacks have been depreciated in
wxWindows. Use wxMenu and events instead.
Added alternate wxBitmap constructor (for MSW only) as
wxBitmapFromData(data, type, width, height, depth = 1)
Added a helper function named wxPyTypeCast that can convert shadow
objects of one type into shadow objects of another type. (Like doing
a down-cast.) See the implementation in wx.py for some docs.
Fixed wxImage GetData and SetData to properly use String objects for
data transfer.
Added access methods to wxGridEvent.
New Makefile/Setup files supporting multiple dynamic extension modules
for unix systems.
Fixes for the wxGLCanvas demo to work around a strange bug in gtk.
SWIG support routines now compiled separately instead of being bundled
in wx.cpp.
What's new in 2.1b1
--------------------
Fixed wxComboBox.SetSelection so that it actually sets the selected
item. (Actually just removed it from wxPython and let it default to
wxChoice.SetSelection which was already doing the right thing.)
Added the Printing Framework.
Switched back to using the wxWindows DLL for the pre-built Win32
version. The problem was needing to reinitialize static class info
data after loading each extension module.
Lots of little tweaks and additions to reflect changes to various
wxWindows classes.
Fixed a bug with attaching objects to tree items. Actually was a
symptom of a larger problem with not obtaining the interpreter lock
when doing any Py_DECREFs.
wxSizer and friends. Sizers are layout tools that manage a colection
of windows and sizers. Different types of sizers apply different
types of layout algorithms. You saw it here first! These classes are
not even in the wxWindows C++ library yet!
What's new in 2.0b9
-------------------
Bug fix for ListCtrl in test4.py (Was a missing file... DSM!)
Bug fix for occassional GPF on Win32 systems upon termination of a
wxPython application.
Added wxListBox.GetSelections returning selections as a Tuple.
Added a wxTreeItemData that is able to hold any Python object and be
associated with items in a wxTreeCtrl. Added test pytree.py to show
this feature off.
Added wxSafeYield function.
OpenGL Canvas can be optionally compiled in to wxPython.
Awesome new Demo Framework for showing off wxPython and for learning
how it all works.
The pre-built Win32 version is no longer distributing the wxWindows
DLL. It is statically linked with the wxWindows library instead.
Added a couple missing items from the docs.
Added wxImage, wxImageHandler, wxPNGHandler, wxJPEGHandler,
wxGIFHandler and wxBMPHandler.
Added new methods to wxTextCtrl.
Fixed some problems with how SWIG was wrapping some wxTreeCtrl
methods.
What's new in 2.0b8
-------------------
Support for using Python threads in wxPython apps.
Several missing methods from various classes.
Various bug fixes.
What's new in 2.0b7
-------------------
Added DLG_PNT and DLG_SZE convienience methods to wxWindow class.
Added missing constructor and other methods for wxMenuItem.
What's new in 2.0b6
-------------------
Just a quickie update to fix the self-installer to be compatible with
Python 1.5.2b2's Registry settings.
What's new in 2.0b5
-------------------
Well obviously the numbering scheme has changed. I did this to
reflect the fact that this truly is the second major revision of
wxPython, (well the third actually if you count the one I did for
wxWindows 1.68 and then threw away...) and also that it is associated
with the 2.0 version of wxWindows.
I have finally started documenting wxPython. There are several pages
in the wxWindows documentation tree specifically about wxPython, and I
have added notes within the class references about where and how wxPython
diverges from wxWindows.
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
window handle. If you can get the window handle into the python code,
it should just work... More news on this later.
Added wxImageList, wxToolTip.
Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
wxRegConfig class.
As usual, some bug fixes, tweaks, etc.
What's new in 0.5.3
-------------------
Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
Various cleanup, tweaks, minor additions, etc. to maintain
compatibility with the current wxWindows.
What's new in 0.5.0
-------------------
Changed the import semantics from "from wxPython import *" to "from
wxPython.wx import *" This is for people who are worried about
namespace pollution, they can use "from wxPython import wx" and then
prefix all the wxPython identifiers with "wx."
Added wxTaskbarIcon for wxMSW.
Made the events work for wxGrid.
Added wxConfig.
Added wxMiniFrame for wxGTK.
Changed many of the args and return values that were pointers to gdi
objects to references to reflect changes in the wxWindows API.
Other assorted fixes and additions.
What's new in 0.4.2
-------------------
wxPython on wxGTK works!!! Both dynamic and static on Linux and
static on Solaris have been tested. Many thanks go to Harm
<H.v.d.Heijden@phys.tue.nl> for his astute detective work on tracking
down a nasty DECREF bug. Okay so I have to confess that it was just a
DSM (Dumb Stupid Mistake) on my part but it was nasty none the less
because the behavior was so different on different platforms.
The dynamicly loaded module on Solaris is still segfaulting, so it
must have been a different issue all along...
What's New in 0.4
-----------------
1. Worked on wxGTK compatibility. It is partially working. On a
Solaris/Sparc box wxPython is working but only when it is statically
linked with the Python interpreter. When built as a dyamically loaded
extension module, things start acting weirdly and it soon seg-faults.
And on Linux both the statically linked and the dynamically linked
version segfault shortly after starting up.
2. Added Toolbar, StatusBar and SplitterWindow classes.
3. Varioius bug fixes, enhancements, etc.
----------------------------------------------------------------------
Build Instructions
------------------
I used SWIG (http://www.swig.org) to create the source code for the
extension module. This enabled me to only have to deal with a small
amount of code and only have to bother with the exceptional issues.
SWIG takes care of the rest and generates all the repetative code for
me. You don't need SWIG to build the extension module as all the
generated C++ code is included under the src directory.
I added a few minor features to SWIG to control some of the code
generation. If you want to play around with this you will need to get
a recent version of SWIG from their CVS or from a daily build. See
http://www.swig.org/ for details.
wxPython is organized as a Python package. This means that the
directory containing the results of the build process should be a
subdirectory of a directory on the PYTHONPATH. (And preferably should
be named wxPython.) You can control where the build process will dump
wxPython by setting the TARGETDIR variable for the build utility, (see
below.)
1. Build wxWindows as described in its BuildCVS.txt file. For *nix
systems I run configure with these flags:
--with-gtk
--with-libjpeg
--without-odbc
--enable-unicode=no
--enable-threads=yes
--enable-socket=yes
--enable-static=no
--enable-shared=yes
--disable-std_iostreams
You can use whatever flags you want, but I know these work.
For Win32 systems I use Visual C++ 6.0, but 5.0 should work. The
build utility currently does not support any other win32 compilers.
2. At this point you may want to make an alias or symlink, script,
batch file, whatever on the PATH that invokes
$(WXWIN)/utils/wxPython/distrib/build.py to help simplify matters
somewhat. For example, on my win32 system I have a file named
build.bat in a directory on the PATH that contains:
python $(WXWIN)/utils/wxPython/distrib/build.py %1 %2 %3 %4 %5 %6
3. Change into the $(WXWIN)/utils/wxPython/src directory.
4. Type "build -b" to build wxPython and "build -i" to install it.
The build.py script actually generates a Makefile based on what it
finds on your system and information found in the build.cfg file.
If you have troubles building or you want it built or installed in
a different way, take a look at the docstring in build.py. You may
be able to override configuration options in a file named
build.local.
5. To build and install the add-on modules, change to the appropriate
directory under $(WXWIN)/utils/wxPython/modules and run the build
utility again.
6. Change to the $(WXWIN)/utils/wxPython/demo directory.
7. Try executing the demo program. For example:
python demo.py
To run it without requiring a console on win32, you can use the
pythonw.exe version of Python either from the command line or from a
shortcut.
----------------
Robin Dunn
robin@alldunn.com

View File

@@ -1,139 +0,0 @@
*** swig.h.old Wed Feb 04 15:59:40 1998
--- swig.h Fri Aug 28 15:46:32 1998
***************
*** 178,185 ****
--- 178,211 ----
char *firstkey();
char *nextkey();
};
+ // -------------------------------------------------------------------
+ // Simple Vector class
+ // User is responsible for deleting contents before deleteing Vector
+ // -------------------------------------------------------------------
+
+ class Vector {
+ public:
+ Vector(size_t allocSize=8);
+ ~Vector();
+
+ size_t size() { return m_size; }
+ size_t count() { return m_count; }
+ size_t append(void* object);
+ size_t extend(size_t newSize);
+
+ void*& operator[] (size_t idx);
+
+ static void* s_nullPtr;
+
+ private:
+ size_t m_size;
+ size_t m_count;
+ void** m_data;
+ };
+
+
/************************************************************************
* class DataType
*
* Defines the basic datatypes supported by the translator.
***************
*** 684,691 ****
--- 710,761 ----
extern char *name_get(char *vname, int suppress=0);
extern char *name_set(char *vname, int suppress=0);
extern char *name_construct(char *classname, int suppress=0);
extern char *name_destroy(char *classname, int suppress=0);
+
+ // ----------------------------------------------------------------------
+ // class CPP_class
+ //
+ // Class for managing class members (internally)
+ // ----------------------------------------------------------------------
+
+ class CPP_member;
+
+ class CPP_class {
+ public:
+ char *classname; // Real class name
+ char *classrename; // New name of class (if applicable)
+ char *classtype; // class type (struct, union, class)
+ int strip; // Strip off class declarator
+ int wextern; // Value of extern wrapper variable for this class
+ int have_constructor; // Status bit indicating if we've seen a constructor
+ int have_destructor; // Status bit indicating if a destructor has been seen
+ int is_abstract; // Status bit indicating if this is an abstract class
+ int generate_default; // Generate default constructors
+ int objective_c; // Set if this is an objective C class
+ int error; // Set if this class can't be generated
+ int line; // Line number
+ char **baseclass; // Base classes (if any)
+ Hash *local; // Hash table for local types
+ Hash *scope; // Local scope hash table
+ DocEntry *de; // Documentation entry of class
+ CPP_member *members; // Linked list of members
+ CPP_class *next; // Next class
+ static CPP_class *classlist; // List of all classes stored
+
+ Vector addPragmas;
+
+ CPP_class(char *name, char *ctype);
+ void add_member(CPP_member *m);
+ CPP_member *search_member(char *name);
+ void inherit_decls(int mode);
+ void emit_decls();
+ static CPP_class *search(char *name);
+ void create_default();
+ static void create_all();
+ };
+
+ extern CPP_class *current_class;
/***********************************************************************
* -- Revision History
* $Log$
* Revision 1.2 1999/07/31 07:54:05 RD
* wxPython 2.1b1:
*
* Added the missing wxWindow.GetUpdateRegion() method.
*
* Made a new change in SWIG (update your patches everybody) that
* provides a fix for global shadow objects that get an exception in
* their __del__ when their extension module has already been deleted.
* It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
* line 496 if you want to do it by hand.
*
* It is now possible to run through MainLoop more than once in any one
* process. The cleanup that used to happen as MainLoop completed (and
* prevented it from running again) has been delayed until the wxc module
* is being unloaded by Python.
*
* wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
* wxWindow.PopupMenuXY to be consistent with some other methods.
*
* Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
*
* You can now provide your own app.MainLoop method. See
* wxPython/demo/demoMainLoop.py for an example and some explaination.
*
* Got the in-place-edit for the wxTreeCtrl fixed and added some demo
* code to show how to use it.
*
* Put the wxIcon constructor back in for GTK as it now has one that
* matches MSW's.
*
* Added wxGrid.GetCells
*
* Added wxSystemSettings static methods as functions with names like
* wxSystemSettings_GetSystemColour.
*
* Removed wxPyMenu since using menu callbacks have been depreciated in
* wxWindows. Use wxMenu and events instead.
*
* Added alternate wxBitmap constructor (for MSW only) as
* wxBitmapFromData(data, type, width, height, depth = 1)
*
* Added a helper function named wxPyTypeCast that can convert shadow
* objects of one type into shadow objects of another type. (Like doing
* a down-cast.) See the implementation in wx.py for some docs.
*

View File

@@ -1,202 +0,0 @@
*** python.cxx.old Fri Jan 02 23:17:40 1998
--- python.cxx Fri Aug 28 15:49:18 1998
***************
*** 1678,1685 ****
--- 1678,1702 ----
fprintf(stderr,"%s : Line %d. Unable to locate file %s\n", input_file, line_number, value);
}
}
}
+ } else if (strcmp(cmd, "addtomethod") == 0) {
+ // parse value, expected to be in the form "methodName:line"
+ char* txtptr = strchr(value, ':');
+ if (txtptr) {
+ // add name and line to a list in current_class
+ *txtptr = 0;
+ txtptr++;
+ AddPragmaData* apData = new AddPragmaData(value, txtptr);
+ current_class->addPragmas.append(apData);
+
+ } else {
+ fprintf(stderr,"%s : Line %d. Malformed addtomethod pragma. Should be \"methodName:text\"\n",
+ input_file, line_number);
+ }
+ } else if (strcmp(cmd, "addtoclass") == 0) {
+ AddPragmaData* apData = new AddPragmaData("__class__", value);
+ current_class->addPragmas.append(apData);
} else {
fprintf(stderr,"%s : Line %d. Unrecognized pragma.\n", input_file, line_number);
}
}
*** python.h.old Thu Jul 24 23:18:50 1997
--- python.h Fri Aug 28 15:46:08 1998
***************
*** 184,191 ****
--- 184,203 ----
void cpp_declare_const(char *name, char *iname, DataType *type, char *value);
void cpp_class_decl(char *, char *,char *);
void pragma(char *, char *, char *);
void add_typedef(DataType *t, char *name);
+
+ void emitAddPragmas(String& output, char* name, char* spacing);
};
#define PYSHADOW_MEMBER 0x2
+
+ struct AddPragmaData {
+ String m_method;
+ String m_text;
+
+ AddPragmaData(char* method, char* text)
+ : m_method(method),
+ m_text(text)
+ {}
+ };
*** pycpp.cxx.old Fri Jan 02 21:23:22 1998
--- pycpp.cxx Tue Jul 20 14:34:36 1999
***************
*** 275,282 ****
--- 275,283 ----
#endif
}
}
// if ((t->type != T_VOID) || (t->is_pointer))
+ emitAddPragmas(*pyclass, realname, tab8);
*pyclass << tab8 << "return val\n";
// Change the usage string to reflect our shadow class
***************
*** 393,400 ****
--- 394,402 ----
}
}
*construct << ")\n";
*construct << tab8 << "self.thisown = 1\n";
+ emitAddPragmas(*construct, "__init__", tab8);
have_constructor = 1;
} else {
// Hmmm. We seem to be creating a different constructor. We're just going to create a
***************
*** 490,503 ****
if (class_renamed) realname = class_name;
else realname = name;
}
! *pyclass << tab4 << "def __del__(self):\n"
<< tab8 << "if self.thisown == 1 :\n"
<< tab8 << tab4 << module << "." << name_destroy(realname) << "(self.this)\n";
!
have_destructor = 1;
-
if (doc_entry) {
doc_entry->usage = "";
doc_entry->usage << "del this";
}
--- 492,504 ----
if (class_renamed) realname = class_name;
else realname = name;
}
! *pyclass << tab4 << "def __del__(self, " << module << "=" << module << "):\n"
<< tab8 << "if self.thisown == 1 :\n"
<< tab8 << tab4 << module << "." << name_destroy(realname) << "(self.this)\n";
! emitAddPragmas(*pyclass, "__del__", tab8);
have_destructor = 1;
if (doc_entry) {
doc_entry->usage = "";
doc_entry->usage << "del this";
}
***************
*** 551,558 ****
--- 552,561 ----
repr << tab4 << "def __repr__(self):\n"
<< tab8 << "return \"<C " << class_name <<" instance>\"\n";
classes << repr;
+ emitAddPragmas(classes, "__class__", tab4);
+
}
// Now build the real class with a normal constructor
***************
*** 746,753 ****
--- 749,778 ----
hash.add(name,copy_string((char *) hash.lookup(t->name)));
}
}
+ // --------------------------------------------------------------------------------
+ // PYTHON::emitAddPragmas(String& output, char* name, char* spacing);
+ //
+ // Search the current_class->addPragmas vector for any text belonging to name.
+ // Append the text properly spcaed to the output string.
+ //
+ // --------------------------------------------------------------------------------
+
+ void PYTHON::emitAddPragmas(String& output, char* name, char* spacing)
+ {
+ AddPragmaData* apData;
+ size_t count;
+ int i;
+
+ count = current_class->addPragmas.count();
+ for (i=0; i<count; i++) {
+ apData = (AddPragmaData*)current_class->addPragmas[i];
+ if (strcmp(apData->m_method, name) == 0) {
+ output << spacing << apData->m_text << "\n";
+ }
+ }
+ }
/*********************************************************************************
*
* $Log$
* Revision 1.2 1999/07/31 07:54:05 RD
* wxPython 2.1b1:
*
* Added the missing wxWindow.GetUpdateRegion() method.
*
* Made a new change in SWIG (update your patches everybody) that
* provides a fix for global shadow objects that get an exception in
* their __del__ when their extension module has already been deleted.
* It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
* line 496 if you want to do it by hand.
*
* It is now possible to run through MainLoop more than once in any one
* process. The cleanup that used to happen as MainLoop completed (and
* prevented it from running again) has been delayed until the wxc module
* is being unloaded by Python.
*
* wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
* wxWindow.PopupMenuXY to be consistent with some other methods.
*
* Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
*
* You can now provide your own app.MainLoop method. See
* wxPython/demo/demoMainLoop.py for an example and some explaination.
*
* Got the in-place-edit for the wxTreeCtrl fixed and added some demo
* code to show how to use it.
*
* Put the wxIcon constructor back in for GTK as it now has one that
* matches MSW's.
*
* Added wxGrid.GetCells
*
* Added wxSystemSettings static methods as functions with names like
* wxSystemSettings_GetSystemColour.
*
* Removed wxPyMenu since using menu callbacks have been depreciated in
* wxWindows. Use wxMenu and events instead.
*
* Added alternate wxBitmap constructor (for MSW only) as
* wxBitmapFromData(data, type, width, height, depth = 1)
*
* Added a helper function named wxPyTypeCast that can convert shadow
* objects of one type into shadow objects of another type. (Like doing
* a down-cast.) See the implementation in wx.py for some docs.
*

View File

@@ -1,530 +0,0 @@
*** cplus.cxx.old Mon Feb 02 15:55:42 1998
--- cplus.cxx Fri Aug 28 13:02:50 1998
***************
*** 581,612 ****
// Class for managing class members (internally)
// ----------------------------------------------------------------------
static char *inherit_base_class = 0;
- class CPP_class {
- public:
- char *classname; // Real class name
- char *classrename; // New name of class (if applicable)
- char *classtype; // class type (struct, union, class)
- int strip; // Strip off class declarator
- int wextern; // Value of extern wrapper variable for this class
- int have_constructor; // Status bit indicating if we've seen a constructor
- int have_destructor; // Status bit indicating if a destructor has been seen
- int is_abstract; // Status bit indicating if this is an abstract class
- int generate_default; // Generate default constructors
- int objective_c; // Set if this is an objective C class
- int error; // Set if this class can't be generated
- int line; // Line number
- char **baseclass; // Base classes (if any)
- Hash *local; // Hash table for local types
- Hash *scope; // Local scope hash table
- DocEntry *de; // Documentation entry of class
- CPP_member *members; // Linked list of members
- CPP_class *next; // Next class
- static CPP_class *classlist; // List of all classes stored
! CPP_class(char *name, char *ctype) {
CPP_class *c;
classname = copy_string(name);
classtype = copy_string(ctype);
classrename = 0;
--- 581,593 ----
// Class for managing class members (internally)
// ----------------------------------------------------------------------
static char *inherit_base_class = 0;
+ CPP_class *CPP_class::classlist = 0;
+ CPP_class *current_class;
! CPP_class::CPP_class(char *name, char *ctype) {
CPP_class *c;
classname = copy_string(name);
classtype = copy_string(ctype);
classrename = 0;
***************
*** 642,650 ****
// ------------------------------------------------------------------------------
// Add a new C++ member to this class
// ------------------------------------------------------------------------------
! void add_member(CPP_member *m) {
CPP_member *cm;
// Set base class where this was defined
if (inherit_base_class)
--- 623,631 ----
// ------------------------------------------------------------------------------
// Add a new C++ member to this class
// ------------------------------------------------------------------------------
! void CPP_class::add_member(CPP_member *m) {
CPP_member *cm;
// Set base class where this was defined
if (inherit_base_class)
***************
*** 664,672 ****
// ------------------------------------------------------------------------------
// Search for a member with the given name. Returns the member on success, 0 on failure
// ------------------------------------------------------------------------------
! CPP_member *search_member(char *name) {
CPP_member *m;
char *c;
m = members;
while (m) {
--- 645,653 ----
// ------------------------------------------------------------------------------
// Search for a member with the given name. Returns the member on success, 0 on failure
// ------------------------------------------------------------------------------
! CPP_member *CPP_class::search_member(char *name) {
CPP_member *m;
char *c;
m = members;
while (m) {
***************
*** 680,688 ****
// ------------------------------------------------------------------------------
// Inherit. Put all the declarations associated with this class into the current
// ------------------------------------------------------------------------------
! void inherit_decls(int mode) {
CPP_member *m;
m = members;
while (m) {
inherit_base_class = m->base;
--- 661,669 ----
// ------------------------------------------------------------------------------
// Inherit. Put all the declarations associated with this class into the current
// ------------------------------------------------------------------------------
! void CPP_class::inherit_decls(int mode) {
CPP_member *m;
m = members;
while (m) {
inherit_base_class = m->base;
***************
*** 696,704 ****
// ------------------------------------------------------------------------------
// Emit all of the declarations associated with this class
// ------------------------------------------------------------------------------
! void emit_decls() {
CPP_member *m = members;
int last_scope = name_scope(0);
abstract = is_abstract;
while (m) {
--- 677,685 ----
// ------------------------------------------------------------------------------
// Emit all of the declarations associated with this class
// ------------------------------------------------------------------------------
! void CPP_class::emit_decls() {
CPP_member *m = members;
int last_scope = name_scope(0);
abstract = is_abstract;
while (m) {
***************
*** 713,721 ****
// ------------------------------------------------------------------------------
// Search for a given class in the list
// ------------------------------------------------------------------------------
! static CPP_class *search(char *name) {
CPP_class *c;
c = classlist;
if (!name) return 0;
while (c) {
--- 694,702 ----
// ------------------------------------------------------------------------------
// Search for a given class in the list
// ------------------------------------------------------------------------------
! CPP_class *CPP_class::search(char *name) {
CPP_class *c;
c = classlist;
if (!name) return 0;
while (c) {
***************
*** 729,737 ****
// Add default constructors and destructors
//
// ------------------------------------------------------------------------------
! void create_default() {
if (!generate_default) return;
// Try to generate a constructor if not available.
--- 710,718 ----
// Add default constructors and destructors
//
// ------------------------------------------------------------------------------
! void CPP_class::create_default() {
if (!generate_default) return;
// Try to generate a constructor if not available.
***************
*** 751,764 ****
// ------------------------------------------------------------------------------
// Dump *all* of the classes saved out to the various
// language modules (this does what cplus_close_class used to do)
// ------------------------------------------------------------------------------
- static void create_all();
- };
-
- CPP_class *CPP_class::classlist = 0;
- static CPP_class *current_class;
-
void CPP_class::create_all() {
CPP_class *c;
c = classlist;
while (c) {
--- 732,739 ----
*** vector.cxx.old Fri Aug 28 15:23:16 1998
--- vector.cxx Fri Aug 28 15:46:52 1998
***************
*** 0 ****
--- 1,182 ----
+
+ /*******************************************************************************
+ * Simplified Wrapper and Interface Generator (SWIG)
+ *
+ * Dave Beazley
+ *
+ * Department of Computer Science Theoretical Division (T-11)
+ * University of Utah Los Alamos National Laboratory
+ * Salt Lake City, Utah 84112 Los Alamos, New Mexico 87545
+ * beazley@cs.utah.edu beazley@lanl.gov
+ *
+ * Copyright (c) 1995-1997
+ * The University of Utah and the Regents of the University of California
+ * All Rights Reserved
+ *
+ * Permission is hereby granted, without written agreement and without
+ * license or royalty fees, to use, copy, modify, and distribute this
+ * software and its documentation for any purpose, provided that
+ * (1) The above copyright notice and the following two paragraphs
+ * appear in all copies of the source code and (2) redistributions
+ * including binaries reproduces these notices in the supporting
+ * documentation. Substantial modifications to this software may be
+ * copyrighted by their authors and need not follow the licensing terms
+ * described here, provided that the new terms are clearly indicated in
+ * all files where they apply.
+ *
+ * IN NO EVENT SHALL THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, THE
+ * UNIVERSITY OF UTAH OR DISTRIBUTORS OF THIS SOFTWARE BE LIABLE TO ANY
+ * PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
+ * DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION,
+ * EVEN IF THE AUTHORS OR ANY OF THE ABOVE PARTIES HAVE BEEN ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * THE AUTHOR, THE UNIVERSITY OF CALIFORNIA, AND THE UNIVERSITY OF UTAH
+ * SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND
+ * THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE,
+ * SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
+ *
+ *******************************************************************************/
+
+ #include "internal.h"
+
+ /*******************************************************************************
+ * $Header$
+ *
+ * File : vector.cxx
+ *
+ * A very simple Vector class. Allways assumes that memory allocations are
+ * successful. Should be made more robust...
+ *
+ *******************************************************************************/
+
+ void* Vector::s_nullPtr = NULL;
+
+ // -----------------------------------------------------------------------------
+ // Vector::Vector(size_t allocSize = 8)
+ //
+ // Constructor. Creates a new Vector.
+ //
+ // Inputs : initial allocation size (optional)
+ //
+ // Output : New Vector object.
+ //
+ // Side Effects : None
+ // -----------------------------------------------------------------------------
+
+ Vector::Vector(size_t allocSize)
+ : m_size(allocSize),
+ m_count(0),
+ m_data(0)
+ {
+ if (m_size) {
+ m_data = new void*[m_size];
+ int i;
+ for (i=0; i<m_size;i++)
+ m_data[i] = 0;
+ }
+ }
+
+
+ // -----------------------------------------------------------------------------
+ // Vector::~Vector
+ //
+ // Destructor. Only cleans up the vector, not its contents!
+ //
+ // -----------------------------------------------------------------------------
+
+
+ Vector::~Vector() {
+ if (m_data) {
+ delete [] m_data;
+ }
+
+ m_data = 0;
+ m_size = m_count = 0;
+ }
+
+
+
+ // -----------------------------------------------------------------------------
+ // size_t Vector::extend(size_t newSize)
+ //
+ // Extends the vector to at least newSize length. Won't do anything if newSize
+ // is smaller than the current size of the vector.
+ //
+ // Returns the new allocated size.
+ //
+ // -----------------------------------------------------------------------------
+
+ #define GRANULARITY 16
+
+ size_t Vector::extend(size_t newSize) {
+
+ if (newSize > m_size) {
+ newSize = newSize + (GRANULARITY - (newSize % GRANULARITY));
+
+ void** temp = new void*[newSize];
+ memcpy(temp, m_data, m_size*sizeof(void*));
+
+ int i;
+ for (i=m_size; i<newSize; i++)
+ temp[i] = 0;
+
+ delete [] m_data;
+ m_data = temp;
+ m_size = newSize;
+ }
+ return m_size;
+ }
+
+
+ // -----------------------------------------------------------------------------
+ // Vector::append(void* object)
+ //
+ // Appends the object pointer to vector at index m_count. Increments m_count.
+ // Returns the new count.
+ // -----------------------------------------------------------------------------
+
+ size_t Vector::append(void* object) {
+ if (m_count >= m_size) {
+ extend(m_count + 1);
+ }
+
+ m_data[m_count] = object;
+ m_count += 1;
+
+ return m_count;
+ }
+
+
+ // -----------------------------------------------------------------------------
+ // Vector::operator[] (size_t idx)
+ //
+ // Returns a reference to the void pointer at idx. If idx is beyond the range
+ // of the vector, returns a reference to s_nullPtr.
+ //
+ // -----------------------------------------------------------------------------
+
+ void*& Vector::operator[] (size_t idx) {
+ if (idx >= m_size) {
+ s_nullPtr = 0;
+ return s_nullPtr;
+ }
+
+ return m_data[idx];
+ }
+
+
+ /***********************************************************************
+ *
+ * -- Revision History
+ * $Log$
+ * Revision 1.3 1999/07/31 07:54:05 RD
+ * wxPython 2.1b1:
+ *
+ * Added the missing wxWindow.GetUpdateRegion() method.
+ *
+ * Made a new change in SWIG (update your patches everybody) that
+ * provides a fix for global shadow objects that get an exception in
+ * their __del__ when their extension module has already been deleted.
+ * It was only a 1 line change in .../SWIG/Modules/pycpp.cxx at about
+ * line 496 if you want to do it by hand.
+ *
+ * It is now possible to run through MainLoop more than once in any one
+ * process. The cleanup that used to happen as MainLoop completed (and
+ * prevented it from running again) has been delayed until the wxc module
+ * is being unloaded by Python.
+ *
+ * wxWindow.PopupMenu() now takes a wxPoint instead of x,y. Added
+ * wxWindow.PopupMenuXY to be consistent with some other methods.
+ *
+ * Added wxGrid.SetEditInPlace and wxGrid.GetEditInPlace.
+ *
+ * You can now provide your own app.MainLoop method. See
+ * wxPython/demo/demoMainLoop.py for an example and some explaination.
+ *
+ * Got the in-place-edit for the wxTreeCtrl fixed and added some demo
+ * code to show how to use it.
+ *
+ * Put the wxIcon constructor back in for GTK as it now has one that
+ * matches MSW's.
+ *
+ * Added wxGrid.GetCells
+ *
+ * Added wxSystemSettings static methods as functions with names like
+ * wxSystemSettings_GetSystemColour.
+ *
+ * Removed wxPyMenu since using menu callbacks have been depreciated in
+ * wxWindows. Use wxMenu and events instead.
+ *
+ * Added alternate wxBitmap constructor (for MSW only) as
+ * wxBitmapFromData(data, type, width, height, depth = 1)
+ *
+ * Added a helper function named wxPyTypeCast that can convert shadow
+ * objects of one type into shadow objects of another type. (Like doing
+ * a down-cast.) See the implementation in wx.py for some docs.
+ *
+ *
+ ***********************************************************************/
+
+
+
+
+
+
*** makefile.msc.old Mon Jun 23 16:15:32 1997
--- makefile.msc Fri Aug 28 11:21:58 1998
***************
*** 33,50 ****
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj sstring.obj wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
! CFLAGS = -Zi -nologo -DSWIG_LIB="\"$(SWIG_LIB)\"" -DSWIG_CC="\"$(CC)\"" -DMSDOS -DSTDC_HEADERS=1 -DHAVE_LIBDL=1 $(SWIG_OPTS)
LD_FLAGS = -VERBOSE
#
--- 33,50 ----
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj vector.obj sstring.obj wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx vector.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
! CFLAGS = -Zi -nologo -DSWIG_LIB="\"$(SWIG_LIB)\"" -DSWIG_CC="\"$(CC)\"" -DMSDOS -DSTDC_HEADERS=1 -DHAVE_LIBDL=1 $(SWIG_OPTS) $(OTHERFLAGS)
LD_FLAGS = -VERBOSE
#
*** makefile.bc.old Sun Jan 04 13:49:24 1998
--- makefile.bc Fri Aug 28 15:42:58 1998
***************
*** 34,47 ****
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj \
emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj sstring.obj \
wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx \
emit.cxx newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
! sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
--- 34,47 ----
########################################################################
LIBOBJS = main.obj scanner.obj symbol.obj include.obj types.obj parms.obj \
emit.obj newdoc.obj ascii.obj \
! html.obj latex.obj cplus.obj lang.obj hash.obj vector.obj sstring.obj \
wrapfunc.obj getopt.obj comment.obj typemap.obj naming.obj
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx \
emit.cxx newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
! vector.cxx sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIBNAME = ..\libswig.lib
INCLUDE = -I../Include -I$(STD_INC)
*** Makefile.in.old Wed May 28 23:56:56 1997
--- Makefile.in Fri Aug 28 15:43:36 1998
***************
*** 51,63 ****
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.o scanner.o symbol.o include.o types.o parms.o emit.o newdoc.o ascii.o \
! html.o latex.o cplus.o lang.o hash.o sstring.o wrapfunc.o getopt.o comment.o \
typemap.o naming.o
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIB = ../libswig.a
--- 51,63 ----
# Normally, you shouldn't have to change anything below this point #
########################################################################
LIBOBJS = main.o scanner.o symbol.o include.o types.o parms.o emit.o newdoc.o ascii.o \
! html.o latex.o cplus.o lang.o hash.o vector.o sstring.o wrapfunc.o getopt.o comment.o \
typemap.o naming.o
LIBSRCS = main.cxx scanner.cxx symbol.cxx include.cxx types.cxx parms.cxx emit.cxx \
! newdoc.cxx ascii.cxx html.cxx latex.cxx cplus.cxx lang.cxx hash.cxx vector.cxx \
sstring.cxx wrapfunc.cxx getopt.cxx comment.cxx typemap.cxx naming.cxx
LIBHEADERS = internal.h ../Include/swig.h latex.h ascii.h html.h nodoc.h
LIB = ../libswig.a

View File

@@ -1,336 +0,0 @@
#!/bin/env python
#----------------------------------------------------------------------------
# Name: Main.py
# Purpose: Testing lots of stuff, controls, window types, etc.
#
# Author: Robin Dunn & Gary Dumer
#
# Created:
# RCS-ID: $Id$
# Copyright: (c) 1999 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------------
import sys, os
from wxPython.wx import *
#---------------------------------------------------------------------------
_treeList = [
('Managed Windows', ['wxFrame', 'wxDialog', 'wxMiniFrame']),
('Miscellaneous Windows', ['wxGrid', 'wxSashWindow',
'wxScrolledWindow', 'wxSplitterWindow',
'wxStatusBar', 'wxToolBar', 'wxNotebook']),
('Common Dialogs', ['wxColourDialog', 'wxDirDialog', 'wxFileDialog',
'wxSingleChoiceDialog', 'wxTextEntryDialog',
'wxFontDialog', 'wxPageSetupDialog', 'wxPrintDialog',
'wxMessageDialog', 'wxProgressDialog']),
('Controls', ['wxButton', 'wxCheckBox', 'wxCheckListBox', 'wxChoice',
'wxComboBox', 'wxGauge', 'wxListBox', 'wxListCtrl', 'wxTextCtrl',
'wxTreeCtrl', 'wxSpinButton', 'wxStaticText', 'wxStaticBitmap',
'wxRadioBox', 'wxSlider']),
('Window Layout', ['wxLayoutConstraints', 'Sizers']),
('Miscellaneous', ['wxTimer', 'wxGLCanvas', 'DialogUnits', 'wxImage',
'PrintFramework']),
('wxPython Library', ['Sizers', 'Layoutf', 'wxScrolledMessageDialog',
'wxMultipleChoiceDialog', 'wxPlotCanvas']),
('Cool Contribs', ['pyTree', 'hangman', 'SlashDot', 'XMLtreeview']),
]
#---------------------------------------------------------------------------
class wxPythonDemo(wxFrame):
def __init__(self, parent, id, title):
wxFrame.__init__(self, parent, -1, title,
wxDefaultPosition, wxSize(700, 550))
if wxPlatform == '__WXMSW__':
self.icon = wxIcon('bitmaps/mondrian.ico', wxBITMAP_TYPE_ICO)
self.SetIcon(self.icon)
self.otherWin = None
EVT_IDLE(self, self.OnIdle)
self.Centre(wxBOTH)
self.CreateStatusBar(1, wxST_SIZEGRIP)
splitter = wxSplitterWindow(self, -1)
splitter2 = wxSplitterWindow(splitter, -1)
# Prevent TreeCtrl from displaying all items after destruction
self.dying = false
# Make a File menu
self.mainmenu = wxMenuBar()
menu = wxMenu()
mID = NewId()
menu.Append(mID, 'E&xit', 'Get the heck outta here!')
EVT_MENU(self, mID, self.OnFileExit)
self.mainmenu.Append(menu, '&File')
# Make a Help menu
mID = NewId()
menu = wxMenu()
menu.Append(mID, '&About', 'wxPython RULES!!!')
EVT_MENU(self, mID, self.OnHelpAbout)
self.mainmenu.Append(menu, '&Help')
self.SetMenuBar(self.mainmenu)
selectedDemo = None
selectedDemoName = "Nada"
if len(sys.argv) == 2:
selectedDemoName = sys.argv[1]
# Create a TreeCtrl
tID = NewId()
self.tree = wxTreeCtrl(splitter, tID)
root = self.tree.AddRoot("Overview")
for item in _treeList:
child = self.tree.AppendItem(root, item[0])
for childItem in item[1]:
theDemo = self.tree.AppendItem(child, childItem)
if childItem == selectedDemoName:
selectedDemo = theDemo
self.tree.Expand(root)
EVT_TREE_ITEM_EXPANDED (self.tree, tID, self.OnItemExpanded)
EVT_TREE_ITEM_COLLAPSED (self.tree, tID, self.OnItemCollapsed)
EVT_TREE_SEL_CHANGED (self.tree, tID, self.OnSelChanged)
# Create a Notebook
self.nb = wxNotebook(splitter2, -1)
# Set up a TextCtrl on the Overview Notebook page
self.ovr = wxTextCtrl(self.nb, -1, style = wxTE_MULTILINE|wxTE_READONLY)
self.nb.AddPage(self.ovr, "Overview")
# Set up a TextCtrl on the Demo Code Notebook page
self.txt = wxTextCtrl(self.nb, -1,
style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
self.txt.SetFont(wxFont(9, wxMODERN, wxNORMAL, wxNORMAL, false))
self.nb.AddPage(self.txt, "Demo Code")
# Set up a log on the View Log Notebook page
self.log = wxTextCtrl(splitter2, -1,
style = wxTE_MULTILINE|wxTE_READONLY|wxHSCROLL)
(w, self.charHeight) = self.log.GetTextExtent('X')
#self.WriteText('wxPython Demo Log:\n')
# add the windows to the splitter and split it.
splitter.SplitVertically(self.tree, splitter2)
splitter.SetSashPosition(180, true)
splitter.SetMinimumPaneSize(20)
splitter2.SplitHorizontally(self.nb, self.log)
splitter2.SetSashPosition(360, true)
splitter2.SetMinimumPaneSize(20)
# make our log window be stdout
#sys.stdout = self
# select initial items
self.nb.SetSelection(0)
self.tree.SelectItem(root)
if selectedDemo:
self.tree.SelectItem(selectedDemo)
self.tree.EnsureVisible(selectedDemo)
#---------------------------------------------
def WriteText(self, text):
self.log.WriteText(text)
w, h = self.log.GetClientSizeTuple()
numLines = h/self.charHeight
x, y = self.log.PositionToXY(self.log.GetLastPosition())
self.log.ShowPosition(self.log.XYToPosition(x, y-numLines))
##self.log.ShowPosition(self.log.GetLastPosition())
self.log.SetInsertionPointEnd()
def write(self, txt):
self.WriteText(txt)
#---------------------------------------------
def OnItemExpanded(self, event):
item = event.GetItem()
self.log.WriteText("OnItemExpanded: %s\n" % self.tree.GetItemText(item))
#---------------------------------------------
def OnItemCollapsed(self, event):
item = event.GetItem()
self.log.WriteText("OnItemCollapsed: %s\n" % self.tree.GetItemText(item))
#---------------------------------------------
def OnSelChanged(self, event):
if self.dying:
return
if self.nb.GetPageCount() == 3:
if self.nb.GetSelection() == 2:
self.nb.SetSelection(0)
self.nb.DeletePage(2)
item = event.GetItem()
itemText = self.tree.GetItemText(item)
if itemText == 'Overview':
self.GetDemoFile('Main.py')
self.SetOverview('Overview', overview)
#self.nb.ResizeChildren();
self.nb.Refresh();
#wxYield()
else:
if os.path.exists(itemText + '.py'):
self.GetDemoFile(itemText + '.py')
module = __import__(itemText, globals())
self.SetOverview(itemText, module.overview)
# in case runTest is modal, make sure things look right...
self.nb.Refresh();
wxYield()
window = module.runTest(self, self.nb, self)
if window:
self.nb.AddPage(window, 'Demo')
self.nb.SetSelection(2)
self.nb.ResizeChildren();
else:
self.ovr.Clear()
self.txt.Clear()
#---------------------------------------------
# Get the Demo files
def GetDemoFile(self, filename):
self.txt.Clear()
#if not self.txt.LoadFile(filename):
# self.txt.WriteText("Cannot open %s file." % filename)
try:
self.txt.SetValue(open(filename).read())
except IOError:
self.txt.WriteText("Cannot open %s file." % filename)
self.txt.SetInsertionPoint(0)
self.txt.ShowPosition(0)
#---------------------------------------------
def SetOverview(self, name, text):
self.ovr.Clear()
self.ovr.WriteText(text)
self.nb.SetPageText(0, name)
self.ovr.SetInsertionPoint(0)
self.ovr.ShowPosition(0)
#---------------------------------------------
# Menu methods
def OnFileExit(self, event):
self.Close()
def OnHelpAbout(self, event):
about = wxMessageDialog(self,
"wxPython is a Python extension module that\n"
"encapsulates the wxWindows GUI classes.\n\n"
"This demo shows off some of the capabilities\n"
"of wxPython.\n\n"
" Developed by Robin Dunn",
"About wxPython", wxOK)
about.ShowModal()
about.Destroy()
#---------------------------------------------
def OnCloseWindow(self, event):
self.dying = true
self.Destroy()
#---------------------------------------------
def OnIdle(self, event):
if self.otherWin:
self.otherWin.Raise()
self.otherWin = None
#---------------------------------------------------------------------------
#---------------------------------------------------------------------------
class MyApp(wxApp):
def OnInit(self):
wxImage_AddHandler(wxJPEGHandler())
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
frame = wxPythonDemo(NULL, -1, "wxPython: (A Demonstration)")
frame.Show(true)
self.SetTopWindow(frame)
return true
#---------------------------------------------------------------------------
def main():
app = MyApp(0)
app.MainLoop()
#---------------------------------------------------------------------------
overview = """\
Python
------------
Python is an interpreted, interactive, object-oriented programming language often compared to Tcl, Perl, Scheme, or Java.
Python combines remarkable power with very clear syntax. It has modules, classes, exceptions, very high level dynamic data types, and dynamic typing. There are interfaces to many system calls and libraries, and new built-in modules are easily written in C or C++. Python is also usable as an extension language for applications that need a programmable interface.
wxWindows
--------------------
wxWindows is a free C++ framework designed to make cross-platform programming child's play. Well, almost. wxWindows 2 supports Windows 3.1/95/98/NT, Unix with GTK/Motif/Lesstif, with a Mac version underway. Other ports are under consideration.
wxWindows is a set of libraries that allows C++ applications to compile and run on several different types of computers, with minimal source code changes. There is one library per supported GUI (such as Motif, or Windows). As well as providing a common API (Application Programming Interface) for GUI functionality, it provides functionality for accessing some commonly-used operating system facilities, such as copying or deleting files. wxWindows is a 'framework' in the sense that it provides a lot of built-in functionality, which the application can use or replace as required, thus saving a great deal of coding effort. Basic data structures such as strings, linked lists and hash tables are also supported.
wxPython
----------------
wxPython is a Python extension module that encapsulates the wxWindows GUI classes. Currently it is only available for the Win32 and GTK ports of wxWindows, but as soon as the other ports are brought up to the same level as Win32 and GTK, it should be fairly trivial to enable wxPython to be used with the new GUI.
The wxPython extension module attempts to mirror the class heiarchy of wxWindows as closely as possible. This means that there is a wxFrame class in wxPython that looks, smells, tastes and acts almost the same as the wxFrame class in the C++ version. Unfortunately, because of differences in the languages, wxPython doesn't match wxWindows exactly, but the differences should be easy to absorb because they are natural to Python. For example, some methods that return multiple values via argument pointers in C++ will return a tuple of values in Python.
There is still much to be done for wxPython, many classes still need to be mirrored. Also, wxWindows is still somewhat of a moving target so it is a bit of an effort just keeping wxPython up to date. On the other hand, there are enough of the core classes completed that useful applications can be written.
wxPython is close enough to the C++ version that the majority of the wxPython documentation is actually just notes attached to the C++ documents that describe the places where wxPython is different. There is also a series of sample programs included, and a series of documentation pages that assist the programmer in getting started with wxPython.
"""
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
if __name__ == '__main__':
main()
#----------------------------------------------------------------------------

View File

@@ -1,365 +0,0 @@
#----------------------------------------------------------------------
# sizer test code
#----------------------------------------------------------------------
from wxPython.wx import *
from wxPython.lib.sizers import *
#----------------------------------------------------------------------
def makeSimpleBox1(win):
box = wxBoxSizer(wxHORIZONTAL)
box.Add(wxButton(win, 1010, "one"), 0)
box.Add(wxButton(win, 1010, "two"), 0)
box.Add(wxButton(win, 1010, "three"), 0)
box.Add(wxButton(win, 1010, "four"), 0)
return box
#----------------------------------------------------------------------
def makeSimpleBox2(win):
box = wxBoxSizer(wxVERTICAL)
box.Add(wxButton(win, 1010, "one"), 0)
box.Add(wxButton(win, 1010, "two"), 0)
box.Add(wxButton(win, 1010, "three"), 0)
box.Add(wxButton(win, 1010, "four"), 0)
return box
#----------------------------------------------------------------------
def makeSimpleBox3(win):
box = wxBoxSizer(wxHORIZONTAL)
box.Add(wxButton(win, 1010, "one"), 0)
box.Add(wxButton(win, 1010, "two"), 0)
box.Add(wxButton(win, 1010, "three"), 0)
box.Add(wxButton(win, 1010, "four"), 0)
box.Add(wxButton(win, 1010, "five"), 1)
return box
#----------------------------------------------------------------------
def makeSimpleBox4(win):
box = wxBoxSizer(wxHORIZONTAL)
box.Add(wxButton(win, 1010, "one"), 0)
box.Add(wxButton(win, 1010, "two"), 0)
box.Add(wxButton(win, 1010, "three"), 1)
box.Add(wxButton(win, 1010, "four"), 1)
box.Add(wxButton(win, 1010, "five"), 1)
return box
#----------------------------------------------------------------------
def makeSimpleBox5(win):
box = wxBoxSizer(wxHORIZONTAL)
box.Add(wxButton(win, 1010, "one"), 0)
box.Add(wxButton(win, 1010, "two"), 0)
box.Add(wxButton(win, 1010, "three"), 3)
box.Add(wxButton(win, 1010, "four"), 1)
box.Add(wxButton(win, 1010, "five"), 1)
return box
#----------------------------------------------------------------------
def makeSimpleBox6(win):
box = wxBoxSizer(wxHORIZONTAL, wxSize(250, 50))
box.Add(wxButton(win, 1010, "10"), 10)
box.Add(wxButton(win, 1010, "20"), 20)
box.Add(wxButton(win, 1010, "30"), 30)
box.Add(wxButton(win, 1010, "15"), 15)
box.Add(wxButton(win, 1010, "5"), 5)
return box
#----------------------------------------------------------------------
def makeSimpleBorder1(win):
bdr = wxBorderSizer(wxALL)
btn = wxButton(win, 1010, "border")
btn.SetSize(wxSize(80, 80))
bdr.Add(btn, 15)
return bdr
#----------------------------------------------------------------------
def makeSimpleBorder2(win):
bdr = wxBorderSizer(wxEAST | wxWEST)
btn = wxButton(win, 1010, "border")
btn.SetSize(wxSize(80, 80))
bdr.Add(btn, 15)
return bdr
#----------------------------------------------------------------------
def makeSimpleBorder3(win):
bdr = wxBorderSizer(wxNORTH | wxWEST)
btn = wxButton(win, 1010, "border")
btn.SetSize(wxSize(80, 80))
bdr.Add(btn, 15)
return bdr
#----------------------------------------------------------------------
#----------------------------------------------------------------------
def makeBoxInBox(win):
box = wxBoxSizer(wxVERTICAL)
box.Add(wxButton(win, 1010, "one"))
box2 = wxBoxSizer(wxHORIZONTAL)
box2.AddMany([ wxButton(win, 1010, "two"),
wxButton(win, 1010, "three"),
wxButton(win, 1010, "four"),
wxButton(win, 1010, "five"),
])
box3 = wxBoxSizer(wxVERTICAL)
box3.AddMany([ (wxButton(win, 1010, "six"), 0),
(wxButton(win, 1010, "seven"), 2),
(wxButton(win, 1010, "eight"), 1),
(wxButton(win, 1010, "nine"), 1),
])
box2.Add(box3, 1)
box.Add(box2, 1)
box.Add(wxButton(win, 1010, "ten"))
return box
#----------------------------------------------------------------------
def makeBoxInBorder(win):
bdr = wxBorderSizer(wxALL)
box = makeSimpleBox3(win)
bdr.Add(box, 15)
return bdr
#----------------------------------------------------------------------
def makeBorderInBox(win):
insideBox = wxBoxSizer(wxHORIZONTAL)
box2 = wxBoxSizer(wxHORIZONTAL)
box2.AddMany([ wxButton(win, 1010, "one"),
wxButton(win, 1010, "two"),
wxButton(win, 1010, "three"),
wxButton(win, 1010, "four"),
wxButton(win, 1010, "five"),
])
insideBox.Add(box2, 0)
bdr = wxBorderSizer(wxALL)
bdr.Add(wxButton(win, 1010, "border"), 20)
insideBox.Add(bdr, 1)
box3 = wxBoxSizer(wxVERTICAL)
box3.AddMany([ (wxButton(win, 1010, "six"), 0),
(wxButton(win, 1010, "seven"), 2),
(wxButton(win, 1010, "eight"), 1),
(wxButton(win, 1010, "nine"), 1),
])
insideBox.Add(box3, 1)
outsideBox = wxBoxSizer(wxVERTICAL)
outsideBox.Add(wxButton(win, 1010, "top"))
outsideBox.Add(insideBox, 1)
outsideBox.Add(wxButton(win, 1010, "bottom"))
return outsideBox
#----------------------------------------------------------------------
theTests = [
("Simple horizontal boxes", makeSimpleBox1,
"This is a HORIZONTAL box sizer with four non-stretchable buttons held "
"within it. Notice that the buttons are added and aligned in the horizontal "
"dimension. Also notice that they are fixed size in the horizontal dimension, "
"but will stretch vertically."
),
("Simple vertical boxes", makeSimpleBox2,
"Exactly the same as the previous sample but using a VERTICAL box sizer "
"instead of a HORIZONTAL one."
),
("Add a stretchable", makeSimpleBox3,
"We've added one more button with the strechable flag turned on. Notice "
"how it grows to fill the extra space in the otherwise fixed dimension."
),
("More than one stretchable", makeSimpleBox4,
"Here there are several items that are stretchable, they all divide up the "
"extra space evenly."
),
("Weighting factor", makeSimpleBox5,
"This one shows more than one strechable, but one of them has a weighting "
"factor so it gets more of the free space."
),
# ("Percent Sizer", makeSimpleBox6,
# "You can use the wxBoxSizer like a Percent Sizer. Just make sure that all "
# "the weighting factors add up to 100!"
# ),
("", None, ""),
("Simple border sizer", makeSimpleBorder1,
"The wxBorderSizer leaves empty space around its contents. This one "
"gives a border all the way around."
),
("East and West border", makeSimpleBorder2,
"You can pick and choose which sides have borders."
),
("North and West border", makeSimpleBorder3,
"You can pick and choose which sides have borders."
),
("", None, ""),
("Boxes inside of boxes", makeBoxInBox,
"This one shows nesting of boxes within boxes within boxes, using both "
"orientations. Notice also that button seven has a greater weighting "
"factor than its siblings."
),
("Boxes inside a Border", makeBoxInBorder,
"Sizers of different types can be nested withing each other as well. "
"Here is a box sizer with several buttons embedded within a border sizer."
),
("Border in a Box", makeBorderInBox,
"Another nesting example. This one has Boxes and a Border inside another Box."
),
]
#----------------------------------------------------------------------
class TestFrame(wxFrame):
def __init__(self, parent, title, sizerFunc):
wxFrame.__init__(self, parent, -1, title)
EVT_BUTTON(self, 1010, self.OnButton)
self.sizer = sizerFunc(self)
self.CreateStatusBar()
self.SetStatusText("Resize this frame to see how the sizers respond...")
self.sizer.FitWindow(self)
def OnSize(self, event):
size = self.GetClientSize()
self.sizer.Layout(size)
def OnCloseWindow(self, event):
self.MakeModal(false)
self.Destroy()
def OnButton(self, event):
self.Close(true)
#----------------------------------------------------------------------
class TestSelectionPanel(wxPanel):
def __init__(self, parent, frame):
wxPanel.__init__(self, parent, -1)
self.frame = frame
self.list = wxListBox(self, 401,
wxDLG_PNT(self, 10, 10), wxDLG_SZE(self, 100, 60),
[])
EVT_LISTBOX(self, 401, self.OnSelect)
EVT_LISTBOX_DCLICK(self, 401, self.OnDClick)
wxButton(self, 402, "Try it!", wxDLG_PNT(self, 120, 10)).SetDefault()
EVT_BUTTON(self, 402, self.OnDClick)
self.text = wxTextCtrl(self, -1, "",
wxDLG_PNT(self, 10, 80),
wxDLG_SZE(self, 200, 60),
wxTE_MULTILINE | wxTE_READONLY)
for item in theTests:
self.list.Append(item[0])
def OnSelect(self, event):
pos = self.list.GetSelection()
self.text.SetValue(theTests[pos][2])
def OnDClick(self, event):
pos = self.list.GetSelection()
title = theTests[pos][0]
func = theTests[pos][1]
if func:
win = TestFrame(self, title, func)
win.CentreOnParent(wxBOTH)
win.Show(true)
win.MakeModal(true)
#----------------------------------------------------------------------
def runTest(frame, nb, log):
win = TestSelectionPanel(nb, frame)
return win
overview = wxSizer.__doc__ + '\n' + '-' * 80 + '\n' + \
wxBoxSizer.__doc__ + '\n' + '-' * 80 + '\n' + \
wxBorderSizer.__doc__
#----------------------------------------------------------------------
if __name__ == '__main__':
class MainFrame(wxFrame):
def __init__(self):
wxFrame.__init__(self, NULL, -1, "Testing...")
self.CreateStatusBar()
mainmenu = wxMenuBar()
menu = wxMenu()
menu.Append(200, 'E&xit', 'Get the heck outta here!')
mainmenu.Append(menu, "&File")
self.SetMenuBar(mainmenu)
EVT_MENU(self, 200, self.OnExit)
self.panel = TestSelectionPanel(self)
self.SetSize(wxSize(400, 380))
def OnCloseWindow(self, event):
self.Destroy()
def OnExit(self, event):
self.Close(true)
class TestApp(wxApp):
def OnInit(self):
frame = MainFrame()
frame.Show(true)
self.SetTopWindow(frame)
return true
app = TestApp(0)
app.MainLoop()
#----------------------------------------------------------------------

View File

@@ -1,77 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys
default_page = """
<H1>HTML Viewer</H1>Please select <I>File->Open</I>
to open a HTML file, or edit this page in the
text control below and select <I>File->Update</I>
<P>
The python source can be seen
<a href="%s">here</a>.
""" % (sys.argv[0], )
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
split = wxSplitterWindow(self, -1)
self.html = wxHtmlWindow(split)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
self.txt = wxTextCtrl(split, -1, default_page,
wxDefaultPosition, wxDefaultSize,
wxTE_MULTILINE)
split.SplitHorizontally(self.html, self.txt, size.y/2)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Open")
menu.Append(1501, "Reset")
menu.Append(1502, "Update HTML")
menu.AppendSeparator()
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
menu = wxMenu()
menu.Append(1510, "Back")
menu.Append(1511, "Forward")
mbar.Append(menu, "Go")
self.SetMenuBar(mbar)
self.filename = ""
EVT_MENU(self, 1500, self.OnFileOpen)
EVT_MENU(self, 1501, self.OnFileReset)
EVT_MENU(self, 1502, self.OnFileUpdate)
EVT_MENU(self, 1503, self.OnClose)
EVT_MENU(self, 1510, self.OnGoBack)
EVT_MENU(self, 1511, self.OnGoForward)
# A default opening text
self.html.SetPage( default_page )
def OnFileOpen(self, event):
dlg = wxFileDialog(NULL, "Open file")
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.html.LoadPage(self.filename)
def OnFileReset(self, event):
self.html.SetPage( default_page )
self.txt.SetValue( default_page )
def OnFileUpdate(self, event):
self.html.SetPage( self.txt.GetValue() )
def OnGoBack(self, event):
self.html.HistoryBack()
def OnGoForward(self, event):
self.html.HistoryForward()
def OnClose(self,event):
self.Destroy()
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,97 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys,string
# A bunch of simple widgets, all somehow derived from wxWindow
class Widget1(wxWindow):
def __init__(self, parent, param):
wxWindow.__init__(self, parent, -1)
self.text = wxTextCtrl(self, -1, param['param_str'], wxPoint(5,5),
wxSize(200,150), wxTE_MULTILINE)
but = wxButton(self, 1001, "Click me", wxPoint(50,160), wxSize(100,30))
EVT_BUTTON(self, 1001, self.OnButton)
self.SetSize(wxSize(210,200))
def OnButton(self, event):
self.text.AppendText( "Click!\n" )
class Widget2(wxButton):
def __init__(self, parent, param):
wxButton.__init__(self, parent, int(param['id']), param['title'])
class Widget3(wxTextCtrl):
def __init__(self, parent, param):
wxTextCtrl.__init__(self, parent, -1, "No clicks")
self.clicked = 0;
EVT_BUTTON(parent, int(param['button_id']), self.OnButton)
def OnButton(self, event):
self.clicked = self.clicked + 1
self.SetValue("%d clicks" % (self.clicked,))
# make the widgets known in the widget module (aka htmlc)
widget.Widget1 = Widget1
widget.Widget2 = Widget2
widget.Widget3 = Widget3
# our default page
default_page = """
<H2>wxPython widgets go HTML</H2>
A bunch of wxPython widgets are scattered on this HTML page.
Here's one:
<center><python class="Widget1" greeting="Hello World"></center>
<hr>
Here's another:
<center><python class="Widget2" float=70 id=1002 title="Button A"></center>
It should always take up 70% of the page width.
<p>And then there's this, listening to button A:
<python class="Widget3" button_id=1002></p>
"""
# our explanation
apology = """
For some bizarre reason, it takes forever and a day to display the
widgets if they are constructed in the frame's constructor. This
only happens in MSW, wxGTK works fine.
<p>Select <I>File->Show it</I> to draw the widgets."""
default_page = default_page + "The HTML code for this page is\n <pre>" + default_page + "</pre>"
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
self.html = wxHtmlWindow(self)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Show it")
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
EVT_MENU(self, 1500, self.OnShowIt)
EVT_MENU(self, 1503, self.OnClose)
self.SetMenuBar(mbar)
# change apology below to default_page, if you dare!
self.html.SetPage( default_page )
def OnClose(self,event):
self.Destroy()
def OnShowIt(self,event):
self.html.SetPage( default_page )
# now quickly remove the menu option, to hide that
# other bug; namely that widgets aren't removed when the
# HTML page is.
self.GetMenuBar().Enable(1500, FALSE)
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,158 +0,0 @@
from wxPython.wx import *
try:
from wxPython.glcanvas import *
haveGLCanvas = true
except ImportError:
haveGLCanvas = false
#----------------------------------------------------------------------
if not haveGLCanvas:
def runTest(frame, nb, log):
dlg = wxMessageDialog(frame, 'The wxGLCanvas has not been included with this build of wxPython!',
'Sorry', wxOK | wxICON_INFORMATION)
dlg.ShowModal()
dlg.Destroy()
else:
def runTest(frame, nb, log):
#win = TestGLCanvas(nb)
#return win
win = wxFrame(frame, -1, "GL Cube", wxDefaultPosition, wxSize(400,300))
canvas = TestGLCanvas(win)
frame.otherWin = win
win.Show(true)
return None
class TestGLCanvas(wxGLCanvas):
def __init__(self, parent):
wxGLCanvas.__init__(self, parent, -1)
EVT_ERASE_BACKGROUND(self, self.OnEraseBackground)
self.init = false
def OnEraseBackground(self, event):
pass # Do nothing, to avoid flashing.
def OnSize(self, event):
size = self.GetClientSize()
if self.GetContext() != 'NULL':
self.SetCurrent()
glViewport(0, 0, size.width, size.height)
def OnPaint(self, event):
dc = wxPaintDC(self)
ctx = self.GetContext()
if ctx == "NULL": return
self.SetCurrent()
if not self.init:
self.InitGL()
self.init = true
# clear color and depth buffers
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
# draw six faces of a cube
glBegin(GL_QUADS)
glNormal3f( 0.0, 0.0, 1.0)
glVertex3f( 0.5, 0.5, 0.5)
glVertex3f(-0.5, 0.5, 0.5)
glVertex3f(-0.5,-0.5, 0.5)
glVertex3f( 0.5,-0.5, 0.5)
glNormal3f( 0.0, 0.0,-1.0)
glVertex3f(-0.5,-0.5,-0.5)
glVertex3f(-0.5, 0.5,-0.5)
glVertex3f( 0.5, 0.5,-0.5)
glVertex3f( 0.5,-0.5,-0.5)
glNormal3f( 0.0, 1.0, 0.0)
glVertex3f( 0.5, 0.5, 0.5)
glVertex3f( 0.5, 0.5,-0.5)
glVertex3f(-0.5, 0.5,-0.5)
glVertex3f(-0.5, 0.5, 0.5)
glNormal3f( 0.0,-1.0, 0.0)
glVertex3f(-0.5,-0.5,-0.5)
glVertex3f( 0.5,-0.5,-0.5)
glVertex3f( 0.5,-0.5, 0.5)
glVertex3f(-0.5,-0.5, 0.5)
glNormal3f( 1.0, 0.0, 0.0)
glVertex3f( 0.5, 0.5, 0.5)
glVertex3f( 0.5,-0.5, 0.5)
glVertex3f( 0.5,-0.5,-0.5)
glVertex3f( 0.5, 0.5,-0.5)
glNormal3f(-1.0, 0.0, 0.0)
glVertex3f(-0.5,-0.5,-0.5)
glVertex3f(-0.5,-0.5, 0.5)
glVertex3f(-0.5, 0.5, 0.5)
glVertex3f(-0.5, 0.5,-0.5)
glEnd()
self.SwapBuffers()
def InitGL(self):
# set viewing projection
glMatrixMode(GL_PROJECTION);
glFrustum(-0.5, 0.5, -0.5, 0.5, 1.0, 3.0);
# position viewer
glMatrixMode(GL_MODELVIEW);
glTranslatef(0.0, 0.0, -2.0);
# position object
glRotatef(30.0, 1.0, 0.0, 0.0);
glRotatef(30.0, 0.0, 1.0, 0.0);
glEnable(GL_DEPTH_TEST);
glEnable(GL_LIGHTING);
glEnable(GL_LIGHT0);
overview = """\
"""
#----------------------------------------------------------------------
def _test():
class MyApp(wxApp):
def OnInit(self):
frame = wxFrame(NULL, -1, "GL Cube", wxDefaultPosition, wxSize(400,300))
win = TestGLCanvas(frame)
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
app = MyApp(0)
app.MainLoop()
if __name__ == '__main__':
_test()

View File

@@ -1,79 +0,0 @@
from wxPython.wx import *
#---------------------------------------------------------------------------
class TestGrid(wxGrid):
def __init__(self, parent, log):
wxGrid.__init__(self, parent, -1)
self.log = log
self.CreateGrid(16, 16)
self.SetColumnWidth(3, 200)
self.SetRowHeight(4, 45)
self.SetCellValue("First cell", 0, 0)
self.SetCellValue("Another cell", 1, 1)
self.SetCellValue("Yet another cell", 2, 2)
self.SetCellTextFont(wxFont(12, wxROMAN, wxITALIC, wxNORMAL), 0, 0)
self.SetCellTextColour(wxRED, 1, 1)
self.SetCellBackgroundColour(wxCYAN, 2, 2)
self.UpdateDimensions()
self.AdjustScrollbars()
EVT_GRID_SELECT_CELL(self, self.OnSelectCell)
EVT_GRID_CELL_CHANGE(self, self.OnCellChange)
EVT_GRID_CELL_LCLICK(self, self.OnCellClick)
EVT_GRID_LABEL_LCLICK(self, self.OnLabelClick)
self.SetEditInPlace(true)
#print self.GetCells()
def OnSelectCell(self, event):
self.log.WriteText("OnSelectCell: (%d, %d)\n" % (event.m_row, event.m_col))
def OnCellChange(self, event):
self.log.WriteText("OnCellChange: (%d, %d)\n" % (event.m_row, event.m_col))
def OnCellClick(self, event):
self.log.WriteText("OnCellClick: (%d, %d)\n" % (event.m_row, event.m_col))
def OnLabelClick(self, event):
self.log.WriteText("OnLabelClick: (%d, %d)\n" % (event.m_row, event.m_col))
#---------------------------------------------------------------------------
def runTest(frame, nb, log):
win = TestGrid(nb, log)
return win
#---------------------------------------------------------------------------
overview = """\
wxGrid is a class for displaying and editing tabular information.
wxGrid()
-----------------
wxGrid(wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style=0, const wxString& name="grid")
Constructor. Before using a wxGrid object, you must call CreateGrid to set up the required rows and columns.
"""

View File

@@ -1,169 +0,0 @@
#!/bin/env python
#----------------------------------------------------------------------------
# Name: ListCtrl.py
# Purpose: Testing lots of stuff, controls, window types, etc.
#
# Author: Robin Dunn & Gary Dumer
#
# Created:
# RCS-ID: $Id$
# Copyright: (c) 1998 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------------
from wxPython.wx import *
#---------------------------------------------------------------------------
class TestListCtrlPanel(wxPanel):
def __init__(self, parent, log):
wxPanel.__init__(self, parent, -1)
self.log = log
tID = NewId()
self.il = wxImageList(16, 16)
idx1 = self.il.Add(wxNoRefBitmap('bitmaps/smiles.bmp', wxBITMAP_TYPE_BMP))
self.list = wxListCtrl(self, tID, wxDefaultPosition, wxDefaultSize,
wxLC_REPORT|wxSUNKEN_BORDER)
self.list.SetImageList(self.il, wxIMAGE_LIST_SMALL)
self.list.SetToolTip(wxToolTip("This is a ToolTip!"))
wxToolTip_Enable(true)
self.list.InsertColumn(0, "Column 0")
self.list.InsertColumn(1, "Column 1")
self.list.InsertColumn(2, "One More Column (2)")
for x in range(50):
self.list.InsertImageStringItem(x, "This is item %d" % x, idx1)
self.list.SetStringItem(x, 1, "Col 1, item %d" % x)
self.list.SetStringItem(x, 2, "item %d in column 2" % x)
self.list.SetColumnWidth(0, wxLIST_AUTOSIZE)
self.list.SetColumnWidth(1, wxLIST_AUTOSIZE)
self.list.SetColumnWidth(2, wxLIST_AUTOSIZE)
self.list.SetItemState(5, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED)
self.currentItem = 0
EVT_LIST_ITEM_SELECTED(self, tID, self.OnItemSelected)
EVT_LIST_DELETE_ITEM(self, tID, self.OnItemDelete)
EVT_LEFT_DCLICK(self.list, self.OnDoubleClick)
EVT_RIGHT_DOWN(self.list, self.OnRightDown)
# for wxMSW
EVT_COMMAND_RIGHT_CLICK(self.list, tID, self.OnRightClick)
# for wxGTK
EVT_RIGHT_UP(self.list, self.OnRightClick)
def OnRightDown(self, event):
self.x = event.GetX()
self.y = event.GetY()
self.log.WriteText("x, y = %s\n" % str((self.x, self.y)))
event.Skip()
def OnItemSelected(self, event):
self.currentItem = event.m_itemIndex
self.log.WriteText("OnItemSelected: %s\n" % self.list.GetItemText(self.currentItem))
def OnItemDelete(self, event):
self.log.WriteText("OnItemDelete\n")
def OnDoubleClick(self, event):
self.log.WriteText("OnDoubleClick item %s\n" % self.list.GetItemText(self.currentItem))
def OnRightClick(self, event):
self.log.WriteText("OnRightClick %s\n" % self.list.GetItemText(self.currentItem))
self.menu = wxMenu()
tPopupID1 = 0
tPopupID2 = 1
tPopupID3 = 2
tPopupID4 = 3
self.menu.Append(tPopupID1, "One")
self.menu.Append(tPopupID2, "Two")
self.menu.Append(tPopupID3, "Three")
self.menu.Append(tPopupID4, "DeleteAllItems")
EVT_MENU(self, tPopupID1, self.OnPopupOne)
EVT_MENU(self, tPopupID2, self.OnPopupTwo)
EVT_MENU(self, tPopupID3, self.OnPopupThree)
EVT_MENU(self, tPopupID4, self.OnPopupFour)
self.PopupMenu(self.menu, wxPoint(self.x, self.y))
def OnPopupOne(self, event):
self.log.WriteText("Popup one\n")
def OnPopupTwo(self, event):
self.log.WriteText("Popup two\n")
def OnPopupThree(self, event):
self.log.WriteText("Popup three\n")
def OnPopupFour(self, event):
self.list.DeleteAllItems()
def OnSize(self, event):
w,h = self.GetClientSizeTuple()
self.list.SetDimensions(0, 0, w, h)
#---------------------------------------------------------------------------
def runTest(frame, nb, log):
win = TestListCtrlPanel(nb, log)
return win
#---------------------------------------------------------------------------
overview = """\
A list control presents lists in a number of formats: list view, report view, icon view and small icon view. Elements are numbered from zero.
wxListCtrl()
------------------------
Default constructor.
wxListCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, const wxString& name = "listCtrl")
Constructor, creating and showing a list control.
Parameters
-------------------
parent = Parent window. Must not be NULL.
id = Window identifier. A value of -1 indicates a default value.
pos = Window position.
size = Window size. If the default size (-1, -1) is specified then the window is sized appropriately.
style = Window style. See wxListCtrl.
validator = Window validator.
name = Window name.
"""

View File

@@ -1,84 +0,0 @@
from wxPython.wx import *
import ColorPanel
#----------------------------------------------------------------------------
def runTest(frame, nb, log):
testWin = wxNotebook(nb, -1)
win = ColorPanel.ColoredPanel(testWin, wxBLUE)
testWin.AddPage(win, "Blue")
st = wxStaticText(win, -1,
"You can put nearly any type of window here!",
wxPoint(10, 10))
st.SetForegroundColour(wxWHITE)
st.SetBackgroundColour(wxBLUE)
win = ColorPanel.ColoredPanel(testWin, wxRED)
testWin.AddPage(win, "Red")
win = ColorPanel.ColoredPanel(testWin, wxGREEN)
testWin.AddPage(win, "Green")
win = ColorPanel.ColoredPanel(testWin, wxCYAN)
testWin.AddPage(win, "Cyan")
win = ColorPanel.ColoredPanel(testWin, wxWHITE)
testWin.AddPage(win, "White")
win = ColorPanel.ColoredPanel(testWin, wxBLACK)
testWin.AddPage(win, "Black")
win = ColorPanel.ColoredPanel(testWin, wxNamedColour('MIDNIGHT BLUE'))
testWin.AddPage(win, "MIDNIGHT BLUE")
win = ColorPanel.ColoredPanel(testWin, wxNamedColour('INDIAN RED'))
testWin.AddPage(win, "INDIAN RED")
return testWin
#----------------------------------------------------------------------------
overview = """\
This class represents a notebook control, which manages multiple windows with associated tabs.
To use the class, create a wxNotebook object and call AddPage or InsertPage, passing a window to be used as the page. Do not explicitly delete the window for a page that is currently managed by wxNotebook.
wxNotebook()
-------------------------
Default constructor.
wxNotebook(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size, long style = 0, const wxString& name = "notebook")
Constructs a notebook control.
Parameters
-------------------
parent = The parent window. Must be non-NULL.
id = The window identifier.
pos = The window position.
size = The window size.
style = The window style. Its value is a bit list of zero or more of wxTC_MULTILINE, wxTC_RIGHTJUSTIFY, wxTC_FIXEDWIDTH and wxTC_OWNERDRAW.
"""

View File

@@ -1,125 +0,0 @@
from wxPython.wx import *
#---------------------------------------------------------------------------
class TestToolBar(wxFrame):
def __init__(self, parent, log):
wxFrame.__init__(self, parent, -1, 'Test ToolBar',
wxPoint(0,0), wxSize(500, 300))
self.log = log
wxWindow(self, -1).SetBackgroundColour(wxNamedColour("WHITE"))
tb = self.CreateToolBar(wxTB_HORIZONTAL|wxNO_BORDER)
#tb = wxToolBar(self, -1, wxDefaultPosition, wxDefaultSize,
# wxTB_HORIZONTAL | wxNO_BORDER | wxTB_FLAT)
#self.SetToolBar(tb)
self.CreateStatusBar()
tb.AddTool(10, wxNoRefBitmap('bitmaps/new.bmp', wxBITMAP_TYPE_BMP),
wxNullBitmap, false, -1, -1, "New", "Long help for 'New'")
EVT_TOOL(self, 10, self.OnToolClick)
EVT_TOOL_RCLICKED(self, 10, self.OnToolRClick)
tb.AddTool(20, wxNoRefBitmap('bitmaps/open.bmp', wxBITMAP_TYPE_BMP),
wxNullBitmap, false, -1, -1, "Open")
EVT_TOOL(self, 20, self.OnToolClick)
EVT_TOOL_RCLICKED(self, 20, self.OnToolRClick)
tb.AddSeparator()
tb.AddTool(30, wxNoRefBitmap('bitmaps/copy.bmp', wxBITMAP_TYPE_BMP),
wxNullBitmap, false, -1, -1, "Copy")
EVT_TOOL(self, 30, self.OnToolClick)
EVT_TOOL_RCLICKED(self, 30, self.OnToolRClick)
tb.AddTool(40, wxNoRefBitmap('bitmaps/paste.bmp', wxBITMAP_TYPE_BMP),
wxNullBitmap, false, -1, -1, "Paste")
EVT_TOOL(self, 40, self.OnToolClick)
EVT_TOOL_RCLICKED(self, 40, self.OnToolRClick)
tb.AddSeparator()
tb.AddTool(50, wxNoRefBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
wxNullBitmap, true, -1, -1, "Toggle this")
EVT_TOOL(self, 50, self.OnToolClick)
EVT_TOOL_RCLICKED(self, 50, self.OnToolRClick)
tb.AddTool(60, wxNoRefBitmap('bitmaps/tog1.bmp', wxBITMAP_TYPE_BMP),
wxNoRefBitmap('bitmaps/tog2.bmp', wxBITMAP_TYPE_BMP),
true, -1, -1, "Toggle with 2 bitmaps")
EVT_TOOL(self, 60, self.OnToolClick)
EVT_TOOL_RCLICKED(self, 60, self.OnToolRClick)
tb.Realize()
def OnCloseWindow(self, event):
self.Destroy()
def OnToolClick(self, event):
self.log.WriteText("tool %s clicked\n" % event.GetId())
def OnToolRClick(self, event):
self.log.WriteText("tool %s right-clicked\n" % event.GetId())
#---------------------------------------------------------------------------
def runTest(frame, nb, log):
win = TestToolBar(frame, log)
frame.otherWin = win
win.Show(true)
#---------------------------------------------------------------------------
overview = """\
The name wxToolBar is defined to be a synonym for one of the following classes:
wxToolBar95 The native Windows 95 toolbar. Used on Windows 95, NT 4 and above.
wxToolBarMSW A Windows implementation. Used on 16-bit Windows.
wxToolBarGTK The GTK toolbar.
wxToolBarSimple A simple implementation, with scrolling. Used on platforms with no native toolbar control, or where scrolling is required.
wxToolBar()
-----------------------
Default constructor.
wxToolBar(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTB_HORIZONTAL | wxNO_BORDER, const wxString& name = wxPanelNameStr)
Constructs a toolbar.
Parameters
-------------------
parent = Pointer to a parent window.
id = Window identifier. If -1, will automatically create an identifier.
pos = Window position. wxDefaultPosition is (-1, -1) which indicates that wxWindows should generate a default position for the window. If using the wxWindow class directly, supply an actual position.
size = Window size. wxDefaultSize is (-1, -1) which indicates that wxWindows should generate a default size for the window.
style = Window style. See wxToolBar for details.
name = Window name.
"""

View File

@@ -1,5 +0,0 @@
sourcedir : .
builddir : .
rpmdir : .
srcrpmdir : .

View File

@@ -1,767 +0,0 @@
#!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: build.py
# Purpose: This script is used to build wxPython. It reads a build
# configuration file in the requested project directory and
# based on the contents of the file can build Makefiles for
# unix or win32, and can execute make with various options
# potentially automating the entire build/install/clean process
# from a single command.
#
# Author: Robin Dunn
#
# Created: 18-Aug-1999
# RCS-ID: $Id$
# Copyright: (c) 1999 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------------
"""
build.py
This script is used to build wxPython. It reads a build configuration
file in the requested project directory and based on the contents of
the file can build Makefiles for unix or win32, and can execute make
with various options potentially automating the entire
build/install/clean process from a single command.
The default action is to build the Makefile and exit.
Options
-C dir CD to dir before doing anything
-B file Use file as the build configuration (default ./build.cfg)
-M file Use file as the name of the makefile to create
(default Makefile)
-b Build the module (runs make)
-i Install the module (runs make install)
-c Cleanup (runs make clean)
-u Uninstall (runs make uninstall)
-h Show help and exit
Configuration Files
The build configuration file lists targets, source files and options
for the the build process. The contents of the build.cfg are used to
dynamically generate the Makefile.
To prevent you from getting screwed when the default build.cfg is
updated, you can override the values in build.cfg by putting your
custom definitions in a file named build.local. You can also place a
build.local file in the parent directory, or even in the grandparent
directory for project-wide overrides. Finally, command-line arguments
of the form NAME=VALUE can also be used to override simple configuration
values. The order of evaluation is:
0. comman-line flags (-M, -b, etc.)
1. ./build.cfg
2. ../../build.local (if present)
3. ../build.local (if present)
4. ./build.local (if present)
5. command-line NAME=VALUEs
The config files are actually just Python files that get exec'ed in a
separate namespace which is then used later as a configuration object.
This keeps the build script simple in that it doesn't have to parse
anything, and the config files can be much more than just names and
values as pretty much any python code can be executed. The global
variables set in the config namespace are what are used later as
configuation values.
Configuration Options
The following variables can be set in the config files. Only a few are
required, the rest will either have suitable defaults or will be
calculated from your current Python runtime environment.
MODULE The name of the extension module to produce
SWIGFILES A list of files that should be run through SWIG
SWIGFLAGS Flags for SWIG
SOURCES Other C/C++ sources that should be part of the module
PYFILES Other Python files that should be installed with the module
CFLAGS Flags to be used by the compiler
LFLAGS Flags to be used at the link step
LIBS Libraries to be linked with
OTHERCFLAGS Extra flags to append to CFLAGS
OTHERLFLAGS Extra flags to append to LFLAGS
OTHERSWIGFLAGS Extra flags to append to SWIGFLAGS
OTHERLIBS Other libraries to be linked with, in addition to LIBS
OTHERTARGETS Other targets to be placed on the default rule line
OTHERINSTALLTARGETS
Other targets to be placed on the install rule line
OTHERRULES This text is placed at the end of the makefile and
will typically be used for adding rules and such
DEFAULTRULE Text to be used for the default rule in the makefile
TARGETDIR Destination for the install step
MAKE The make program to use
MAKEFILE The name of the makefile
runBuild Setting this to 1 is eqivalent to the -b flag
runInstall Setting this to 1 is eqivalent to the -i flag
runClean Setting this to 1 is eqivalent to the -c flag
runUninstall Setting this to 1 is eqivalent to the -u flag
PYVERSION Version number of Python used in pathnames
PYPREFIX The root of the Python install
EXECPREFIX The root of the Python install for binary files
PYTHONLIB The Python link library
"""
import sys, os, string, getopt
#----------------------------------------------------------------------------
# This is really the wxPython version number, and will be placed in the
# Makefiles for use with the distribution related targets.
__version__ = '2.1b3'
#----------------------------------------------------------------------------
def main(args):
try:
opts, args = getopt.getopt(args[1:], 'C:B:M:bicu')
except getopt.error:
usage()
sys.exit(1)
if not os.environ.has_key('WXWIN'):
print "WARNING: WXWIN is not set in the environment. WXDIR may not\n"\
" be set properly in the makefile, you will have to \n"\
" set the environment variable or override in build.local."
bldCfg = 'build.cfg'
bldCfgLocal = 'build.local'
MAKEFILE = 'Makefile'
runBuild = 0
runInstall = 0
runClean = 0
runUninstall = 0
for flag, value in opts:
if flag == '-C': os.chdir(value)
elif flag == '-B': bldCfgFile = value
elif flag == '-M': makefile = value
elif flag == '-b': runBuild = 1
elif flag == '-c': runClean = 1
elif flag == '-i': runInstall = 1
elif flag == '-u': runUninstall = 1
elif flag == '-h': usage(); sys.exit(1)
else: usage(); sys.exit(1)
config = BuildConfig(bldCfg = bldCfg,
bldCfgLocal = bldCfgLocal,
MAKEFILE = MAKEFILE,
runBuild = runBuild,
runInstall = runInstall,
runClean = runClean,
runUninstall = runUninstall)
if config.readConfigFiles(args):
config.doFixups()
config.makeMakefile()
err = 0
if config.runBuild:
cmd = "%s -f %s" % (config.MAKE, config.MAKEFILE)
print "Running:", cmd
err = os.system(cmd)
if not err and config.runInstall:
cmd = "%s -f %s install" % (config.MAKE, config.MAKEFILE)
print "Running:", cmd
err = os.system(cmd)
if not err and config.runClean:
cmd = "%s -f %s clean" % (config.MAKE, config.MAKEFILE)
print "Running:", cmd
err = os.system(cmd)
if not err and config.runUninstall:
cmd = "%s -f %s uninstall" % (config.MAKE, config.MAKEFILE)
print "Running:", cmd
err = os.system(cmd)
#----------------------------------------------------------------------------
def usage():
print __doc__
#----------------------------------------------------------------------------
def swapslash(st):
if sys.platform != 'win32':
st = string.join(string.split(st, '\\'), '/')
return st
#----------------------------------------------------------------------------
def splitlines(st):
return string.join(string.split(string.strip(st), ' '), ' \\\n\t')
#----------------------------------------------------------------------------
class BuildConfig:
def __init__(self, **kw):
self.__dict__.update(kw)
self.setDefaults()
#------------------------------------------------------------
def setDefaults(self):
self.VERSION = __version__
self.MODULE = ''
self.SWIGFILES = []
self.SWIGFLAGS = '-c++ -shadow -python -keyword -dnone -I$(WXPSRCDIR)'
self.SOURCES = []
self.PYFILES = []
self.LFLAGS = ''
self.OTHERCFLAGS = ''
self.OTHERLFLAGS = ''
self.OTHERSWIGFLAGS = ''
self.OTHERLIBS = ''
self.OTHERTARGETS = ''
self.OTHERINSTALLTARGETS = ''
self.OTHERUNINSTALLTARGETS = ''
self.OTHERRULES = ''
self.DEFAULTRULE = 'default: $(GENCODEDIR) $(TARGET)'
self.PYVERSION = sys.version[:3]
self.PYPREFIX = sys.prefix
self.EXECPREFIX = sys.exec_prefix
self.WXDIR = '$(WXWIN)'
self.FINAL = '0'
self.WXP_USE_THREAD = '1'
self.WXUSINGDLL = '1'
self.OTHERDEP = ''
self.WXPSRCDIR = '$(WXDIR)/utils/wxPython/src'
if sys.platform == 'win32':
self.MAKE = 'nmake'
self.PYTHONLIB = '$(PYPREFIX)\\libs\\python15.lib'
self.TARGETDIR = '$(PYPREFIX)\\wxPython'
self.LIBS = '$(PYTHONLIB) $(WXPSRCDIR)\wxc.lib'
self.GENCODEDIR = 'msw'
self.SWIGTOOLKITFLAG = '-D__WXMSW__'
self.OBJEXT = '.obj'
self.TARGET = '$(MODULE).pyd'
self.CFLAGS = '-I$(PYPREFIX)\include -I$(WXPSRCDIR) -I. /Fp$(MODULE).pch /YXhelpers.h -DSWIG_GLOBAL -DHAVE_CONFIG_H $(THREAD) '
self.LFLAGS = '$(DEBUGLFLAGS) /DLL /subsystem:windows,3.50 /machine:I386 /nologo'
self.RESFILE = ''
self.RESRULE = ''
self.OVERRIDEFLAGS = '/GX-'
self.RMCMD = '-erase '
self.WXPSRCDIR = os.path.normpath(self.WXPSRCDIR)
else:
self.MAKE = 'make'
self.PYLIB = '$(EXECPREFIX)/lib/python$(PYVERSION)'
self.LIBPL = '$(PYLIB)/config'
self.PYTHONLIB = '$(LIBPL)/libpython$(PYVERSION).a'
self.TARGETDIR = '$(EXECPREFIX)/lib/python$(PYVERSION)/site-packages/wxPython'
self.TARGET = '$(MODULE)module$(SO)'
self.OBJEXT = '.o'
self.HELPERLIB = 'wxPyHelpers'
self.HELPERLIBDIR = '/usr/local/lib'
self.CFLAGS = '-DSWIG_GLOBAL -DHAVE_CONFIG_H $(THREAD) -I. '\
'`wx-config --cflags` -I$(PYINCLUDE) -I$(EXECINCLUDE) '\
'-I$(WXPSRCDIR)'
self.LFLAGS = '-L$(WXPSRCDIR) `wx-config --libs`'
self.LIBS = '-l$(HELPERLIB)'
self.RMCMD = '-rm -f '
# **** What to do when I start supporting Motif, etc.???
self.GENCODEDIR = 'gtk'
self.SWIGTOOLKITFLAG = '-D__WXGTK__'
# Extract a few things from Python's Makefile...
try:
filename = os.path.join(self.EXECPREFIX,
'lib/python'+self.PYVERSION,
'config/Makefile')
mfText = string.split(open(filename, 'r').read(), '\n')
except IOError:
raise SystemExit, "Python development files not found"
self.CCC = self.findMFValue(mfText, 'CCC')
self.CC = self.findMFValue(mfText, 'CC')
self.OPT = self.findMFValue(mfText, 'OPT')
self.SO = self.findMFValue(mfText, 'SO')
self.LDSHARED = self.findMFValue(mfText, 'LDSHARED')
self.CCSHARED = self.findMFValue(mfText, 'CCSHARED')
#self.LINKFORSHARED = self.findMFValue(mfText, 'LINKFORSHARED')
#self. = self.findMFValue(mfText, '')
#self. = self.findMFValue(mfText, '')
# The majority of cases will require LDSHARED to be
# modified to use the C++ driver instead of the C driver
# for linking. We'll try to do it here and if we goof up
# then the user can correct it in their build.local file.
self.LDSHARED = string.join(['$(CCC)'] +
string.split(self.LDSHARED, ' ')[1:],
' ')
#------------------------------------------------------------
def doFixups(self):
# This is called after the config files have been evaluated
# so we can do some sanity checking...
if sys.platform != 'win32':
if not self.CCC:
print "Warning: C++ compiler not specified (CCC). Assuming c++"
self.CCC = 'c++'
if not self.CC:
print "Warning: C compiler not specified (CC). Assuming cc"
self.CC = 'cc'
#------------------------------------------------------------
def findMFValue(self, mfText, st):
# Find line begining with st= and return the value
# Regex would probably be to cooler way to do this, but
# I think this is the most understandable.
for line in mfText:
if string.find(line, st+'=') == 0:
st = string.strip(line[len(st)+1:])
return st
return None
#------------------------------------------------------------
def makeMakefile(self):
# make a list of object file names
objects = ""
for name in self.SWIGFILES:
objects = objects + os.path.splitext(name)[0] + self.OBJEXT + ' '
for name in self.SOURCES:
obj = os.path.basename(name)
objects = objects + os.path.splitext(obj)[0] + self.OBJEXT + ' '
self.OBJECTS = splitlines(objects)
# now build the text for the dependencies
depends = ""
for name in self.SWIGFILES:
text = '$(GENCODEDIR)/%s.cpp $(GENCODEDIR)/%s.py : %s.i\n' \
'$(TARGETDIR)\\%s.py : $(GENCODEDIR)\\%s.py\n' % \
tuple([os.path.splitext(name)[0]] * 5)
depends = depends + text
for name in self.PYFILES:
text = '$(TARGETDIR)\\%s.py : %s.py\n' % \
tuple([os.path.splitext(name)[0]] * 2)
depends = depends + text
self.DEPENDS = swapslash(depends)
# and the list of .py files
pymodules = ""
for name in self.SWIGFILES:
pymodules = pymodules + '$(TARGETDIR)\\%s.py ' % os.path.splitext(name)[0]
for name in self.PYFILES:
pymodules = pymodules + '$(TARGETDIR)\\%s.py ' % os.path.splitext(name)[0]
self.PYMODULES = splitlines(swapslash(pymodules))
# now make a list of the python files that would need uninstalled
pycleanup = ""
for name in self.SWIGFILES:
pycleanup = pycleanup + self.makeCleanupList(name)
for name in self.PYFILES:
pycleanup = pycleanup + self.makeCleanupList(name)
self.PYCLEANUP = swapslash(pycleanup)
# finally, build the makefile
if sys.platform == 'win32':
if self.RESFILE:
self.RESFILE = '$(MODULE).res'
self.RESRULE = '$(MODULE).res : $(MODULE).rc $(WXDIR)\\include\\wx\\msw\\wx.rc\n\t'\
'$(rc) -r /i$(WXDIR)\\include -fo$@ $(MODULE).rc'
text = win32Template % self.__dict__
else:
text = unixTemplate % self.__dict__
f = open(self.MAKEFILE, 'w')
f.write(text)
f.close()
print "Makefile created: ", self.MAKEFILE
#------------------------------------------------------------
def makeCleanupList(self, name):
st = ""
st = st + '\t%s$(TARGETDIR)\\%s.py\n' % (self.RMCMD, os.path.splitext(name)[0])
st = st + '\t%s$(TARGETDIR)\\%s.pyc\n' % (self.RMCMD, os.path.splitext(name)[0])
st = st + '\t%s$(TARGETDIR)\\%s.pyo\n' % (self.RMCMD, os.path.splitext(name)[0])
return st
#------------------------------------------------------------
def readConfigFiles(self, args):
return self.processFile(self.bldCfg, 1) and \
self.processFile(os.path.join('../..', self.bldCfgLocal)) and \
self.processFile(os.path.join('..', self.bldCfgLocal)) and \
self.processFile(os.path.join('.', self.bldCfgLocal)) and \
self.processArgs(args)
#------------------------------------------------------------
def processFile(self, filename, required=0):
try:
text = open(filename, 'r').read()
except IOError:
if required:
print "Unable to open %s" % filename
return 0
else:
return 1
try:
exec(text, self.__dict__)
except:
print "Error evaluating %s" % filename
import traceback
traceback.print_exc()
return 0
return 1
#------------------------------------------------------------
def processArgs(self, args):
try:
for st in args:
pair = string.split(st, '=')
name = pair[0]
value = pair[1]
self.__dict__[name] = value
except:
print "Error parsing command-line: %s" % st
return 0
return 1
#------------------------------------------------------------
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
win32Template = '''
#----------------------------------------------------------------------
# This makefile was autogenerated from build.py. Your changes will be
# lost if the generator is run again. You have been warned.
#----------------------------------------------------------------------
WXDIR = %(WXDIR)s
VERSION = %(VERSION)s
MODULE = %(MODULE)s
SWIGFLAGS = %(SWIGFLAGS)s %(SWIGTOOLKITFLAG)s %(OTHERSWIGFLAGS)s
CFLAGS = %(CFLAGS)s
LFLAGS = %(LFLAGS)s
PYVERSION = %(PYVERSION)s
PYPREFIX = %(PYPREFIX)s
EXECPREFIX = %(EXECPREFIX)s
PYTHONLIB = %(PYTHONLIB)s
FINAL = %(FINAL)s
WXP_USE_THREAD = %(WXP_USE_THREAD)s
WXUSINGDLL = %(WXUSINGDLL)s
GENCODEDIR = %(GENCODEDIR)s
RESFILE = %(RESFILE)s
WXPSRCDIR = %(WXPSRCDIR)s
TARGETDIR = %(TARGETDIR)s
OBJECTS = %(OBJECTS)s
PYMODULES = %(PYMODULES)s
TARGET = %(TARGET)s
!if "$(FINAL)" == "0"
DEBUGLFLAGS = /DEBUG /INCREMENTAL:YES
!else
DEBUGLFLAGS = /INCREMENTAL:NO
!endif
!if "$(WXP_USE_THREAD)" == "1"
THREAD=-DWXP_USE_THREAD=1
!endif
NOPCH=1
OVERRIDEFLAGS=%(OVERRIDEFLAGS)s
EXTRAFLAGS = $(CFLAGS) %(OTHERCFLAGS)s
LFLAGS = %(LFLAGS)s %(OTHERLFLAGS)s
EXTRALIBS = %(LIBS)s %(OTHERLIBS)s
#----------------------------------------------------------------------
!include $(WXDIR)\\src\\makevc.env
#----------------------------------------------------------------------
%(DEFAULTRULE)s %(OTHERTARGETS)s
install: $(TARGETDIR) $(TARGETDIR)\\$(TARGET) pycfiles %(OTHERINSTALLTARGETS)s
clean:
-erase *.obj
-erase *.exe
-erase *.res
-erase *.map
-erase *.sbr
-erase *.pdb
-erase *.pch
-erase $(MODULE).exp
-erase $(MODULE).lib
-erase $(MODULE).ilk
-erase $(TARGET)
uninstall: %(OTHERUNINSTALLTARGETS)s
-erase $(TARGETDIR)\\$(TARGET)
%(PYCLEANUP)s
#----------------------------------------------------------------------
# implicit rule for compiling .cpp and .c files
{}.cpp{}.obj:
$(cc) @<<
$(CPPFLAGS) /c /Tp $<
<<
{$(GENCODEDIR)}.cpp{}.obj:
$(cc) @<<
$(CPPFLAGS) /c /Tp $<
<<
{}.c{}.obj:
$(cc) @<<
$(CPPFLAGS) /c $<
<<
.SUFFIXES : .i .py
# Implicit rules to run SWIG
{}.i{$(GENCODEDIR)}.cpp:
swig $(SWIGFLAGS) -c -o $@ $<
{}.i{$(GENCODEDIR)}.py:
swig $(SWIGFLAGS) -c -o $(GENCODEDIR)\\tmp_wrap.cpp $<
-erase $(GENCODEDIR)\\tmp_wrap.cpp
{$(GENCODEDIR)}.py{$(TARGETDIR)}.py:
copy $< $@
{}.py{$(TARGETDIR)}.py:
copy $< $@
#----------------------------------------------------------------------
$(TARGET) : $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(RESFILE)
$(link) @<<
/out:$@
$(LFLAGS) /def:$(MODULE).def /implib:./$(MODULE).lib
$(DUMMYOBJ) $(OBJECTS) $(RESFILE)
$(LIBS)
<<
%(RESRULE)s
$(TARGETDIR)\\$(TARGET) : $(TARGET)
copy $(TARGET) $@
pycfiles : $(PYMODULES)
$(EXECPREFIX)\\python $(PYPREFIX)\\Lib\\compileall.py -l $(TARGETDIR)
$(EXECPREFIX)\\python -O $(PYPREFIX)\Lib\\compileall.py -l $(TARGETDIR)
$(TARGETDIR) :
mkdir $(TARGETDIR)
$(GENCODEDIR):
mkdir $(GENCODEDIR)
#----------------------------------------------------------------------
%(DEPENDS)s
#----------------------------------------------------------------------
showflags:
@echo CPPFLAGS:
@echo $(CPPFLAGS)
@echo LFLAGS:
@echo $(LFLAGS)
%(OTHERRULES)s
'''
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
unixTemplate = '''
#----------------------------------------------------------------------
# This makefile was autogenerated from build.py. Your changes will be
# lost if the generator is run again. You have been warned.
#----------------------------------------------------------------------
WXDIR = %(WXDIR)s
VERSION = %(VERSION)s
MODULE = %(MODULE)s
SWIGFLAGS = %(SWIGFLAGS)s %(SWIGTOOLKITFLAG)s %(OTHERSWIGFLAGS)s
CFLAGS = %(CFLAGS)s $(OPT) %(OTHERCFLAGS)s
LFLAGS = %(LFLAGS)s %(OTHERLFLAGS)s
LIBS = %(LIBS)s %(OTHERLIBS)s
PYVERSION = %(PYVERSION)s
PYPREFIX = %(PYPREFIX)s
EXECPREFIX = %(EXECPREFIX)s
PYINCLUDE = $(PYPREFIX)/include/python$(PYVERSION)
EXECINCLUDE = $(EXECPREFIX)/include/python$(PYVERSION)
PYLIB = %(PYLIB)s
LIBPL = %(LIBPL)s
PYTHONLIB = %(PYTHONLIB)s
FINAL = %(FINAL)s
WXP_USE_THREAD = %(WXP_USE_THREAD)s
GENCODEDIR = %(GENCODEDIR)s
WXPSRCDIR = %(WXPSRCDIR)s
HELPERLIB = %(HELPERLIB)s
HELPERLIBDIR = %(HELPERLIBDIR)s
TARGETDIR = %(TARGETDIR)s
CCC = %(CCC)s
CC = %(CC)s
OPT = %(OPT)s
SO = %(SO)s
LDSHARED = %(LDSHARED)s
CCSHARED = %(CCSHARED)s
OBJECTS = %(OBJECTS)s
PYMODULES = %(PYMODULES)s
TARGET = %(TARGET)s
ifeq ($(WXP_USE_THREAD), 1)
THREAD=-DWXP_USE_THREAD
endif
#----------------------------------------------------------------------
%(DEFAULTRULE)s %(OTHERTARGETS)s
install: $(TARGETDIR) $(TARGETDIR)/$(TARGET) pycfiles %(OTHERINSTALLTARGETS)s
clean:
-rm -f *.o *$(SO) *~
-rm -f $(TARGET)
uninstall: %(OTHERUNINSTALLTARGETS)s
-rm -f $(TARGETDIR)/$(TARGET)
%(PYCLEANUP)s
#----------------------------------------------------------------------
%%.o : %%.cpp
$(CCC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
%%.o : $(GENCODEDIR)/%%.cpp
$(CCC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
%%.o : %%.c
$(CC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
%%.o : $(GENCODEDIR)/%%.c
$(CC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
$(GENCODEDIR)/%%.cpp : %%.i
swig $(SWIGFLAGS) -c -o $@ $<
$(GENCODEDIR)/%%.py : %%.i
swig $(SWIGFLAGS) -c -o $(GENCODEDIR)/tmp_wrap.cpp $<
rm $(GENCODEDIR)/tmp_wrap.cpp
$(TARGETDIR)/%% : %%
cp -f $< $@
$(TARGETDIR)/%% : $(GENCODEDIR)/%%
cp -f $< $@
#----------------------------------------------------------------------
%(DEPENDS)s
#----------------------------------------------------------------------
$(TARGET) : $(OBJECTS)
$(LDSHARED) $(OBJECTS) $(LFLAGS) $(LIBS) $(OTHERLIBS) -o $(TARGET)
pycfiles : $(PYMODULES)
$(EXECPREFIX)/bin/python $(PYLIB)/compileall.py -l $(TARGETDIR)
$(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py -l $(TARGETDIR)
$(TARGETDIR) :
mkdir $(TARGETDIR)
$(GENCODEDIR):
mkdir $(GENCODEDIR)
#----------------------------------------------------------------------
%(OTHERRULES)s
'''
#----------------------------------------------------------------------------
if __name__ == '__main__':
main(sys.argv)
#----------------------------------------------------------------------------

View File

@@ -1,32 +0,0 @@
#!/bin/bash
if [ -z $1 ]; then
echo "Please specify a version number on the command line."
exit 1
fi
if [ ! -f wxPython.spec.in ]; then
echo "Please run this script from the directory containing the wxPython.spec.in file."
exit 1
fi
strip /usr/lib/python1.5/site-packages/wxPython/*.so
strip /usr/lib/libwxPyHelpers.so
cat wxPython.spec.in | sed s/__VERSION__/$1/g > wxPython.spec
mkdir /usr/doc/wxPython-$1
cp ../README.txt /usr/doc/wxPython-$1
cp ../../../docs/preamble.txt /usr/doc/wxPython-$1
cp ../../../docs/licence.txt /usr/doc/wxPython-$1
cp ../../../docs/licendoc.txt /usr/doc/wxPython-$1
cp ../../../docs/lgpl.txt /usr/doc/wxPython-$1
cp ../../../docs/gpl.txt /usr/doc/wxPython-$1
rpm -bb wxPython.spec
mv /usr/src/redhat/RPMS/*/wxPython*.rpm .
rm -r /usr/doc/wxPython-$1

View File

@@ -1,36 +0,0 @@
#!/bin/bash
#----------------------------------------------------------------------
# Make a source distribution as a tar.gz file. This script should be
# run from the directory that holds the wxPython dir (../..) and be
# given a version number as an parameter. The best way to do this is
# run "make dist" in the wxPython/src/ directory.
#----------------------------------------------------------------------
if [ -z $1 ]; then
echo "Please specify a version number on the command line."
exit 1
fi
if [ ! -d wxPython ]; then
echo "Please run this script from the directory containing the wxPython sources."
exit 1
fi
rm -f wxPython/distrib/filelist
for x in `cat wxPython/distrib/wxPython.rsp`; do
ls $x >> wxPython/distrib/filelist
done
tar cf wxPython/distrib/dist-temp.tar -T wxPython/distrib/filelist
cd wxPython/distrib
tar xf dist-temp.tar
rm dist-temp.tar
mv wxPython wxPython-$1
tar cvf wxPython-$1.tar wxPython-$1
gzip wxPython-$1.tar
rm -rf wxPython-$1

View File

@@ -1,102 +0,0 @@
wxPython/*.txt
wxPython/demo/*.py
wxPython/demo/bitmaps/*.bmp
wxPython/demo/bitmaps/*.ico
wxPython/demo/bitmaps/*.gif
wxPython/demo/bitmaps/*.png
wxPython/demo/bitmaps/*.jpg
wxPython/demo/README.txt
wxPython/demo/*.xml
wxPython/distrib/build.py
wxPython/lib/*.py
wxPython/lib/*.txt
wxPython/lib/sizers/*.py
wxPython/lib/sizers/*.txt
wxPython/src/build.cfg
wxPython/src/*.i
wxPython/src/*.py
wxPython/src/*.cpp
wxPython/src/*.c
wxPython/src/*.h
wxPython/src/*.ico
wxPython/src/*.def
wxPython/src/*.rc
wxPython/src/msw/*.cpp
wxPython/src/msw/*.h
wxPython/src/msw/*.py
wxPython/src/gtk/*.cpp
wxPython/src/gtk/*.h
wxPython/src/gtk/*.py
wxpython/src/motif/*.cpp
wxPython/src/motif/*.h
wxPython/src/motif/*.py
wxPython/modules/html/build.cfg
wxPython/modules/html/*.i
wxPython/modules/html/*.py
wxPython/modules/html/*.cpp
wxPython/modules/html/*.c
wxPython/modules/html/*.h
wxPython/modules/html/*.def
wxPython/modules/html/*.rc
wxPython/modules/html/msw/*.cpp
wxPython/modules/html/msw/*.h
wxPython/modules/html/msw/*.py
wxPython/modules/html/gtk/*.cpp
wxPython/modules/html/gtk/*.h
wxPython/modules/html/gtk/*.py
wxPython/modules/glcanvas/build.cfg
wxPython/modules/glcanvas/*.i
wxPython/modules/glcanvas/*.py
wxPython/modules/glcanvas/*.cpp
wxPython/modules/glcanvas/*.c
wxPython/modules/glcanvas/*.h
wxPython/modules/glcanvas/*.def
wxPython/modules/glcanvas/*.rc
wxPython/modules/glcanvas/msw/*.cpp
wxPython/modules/glcanvas/msw/*.h
wxPython/modules/glcanvas/msw/*.py
wxPython/modules/glcanvas/gtk/*.cpp
wxPython/modules/glcanvas/gtk/*.h
wxPython/modules/glcanvas/gtk/*.py
wxPython/modules/utils/build.cfg
wxPython/modules/utils/*.i
wxPython/modules/utils/*.py
wxPython/modules/utils/*.cpp
wxPython/modules/utils/*.c
wxPython/modules/utils/*.h
wxPython/modules/utils/*.def
wxPython/modules/utils/*.rc
wxPython/modules/utils/msw/*.cpp
wxPython/modules/utils/msw/*.h
wxPython/modules/utils/msw/*.py
wxPython/modules/utils/gtk/*.cpp
wxPython/modules/utils/gtk/*.h
wxPython/modules/utils/gtk/*.py
wxPython/modules/ogl/build.cfg
wxPython/modules/ogl/*.i
wxPython/modules/ogl/*.py
wxPython/modules/ogl/*.cpp
wxPython/modules/ogl/*.c
wxPython/modules/ogl/*.h
wxPython/modules/ogl/*.def
wxPython/modules/ogl/*.rc
wxPython/modules/ogl/msw/*.cpp
wxPython/modules/ogl/msw/*.h
wxPython/modules/ogl/msw/*.py
wxPython/modules/ogl/gtk/*.cpp
wxPython/modules/ogl/gtk/*.h
wxPython/modules/ogl/gtk/*.py

View File

@@ -1,53 +0,0 @@
Summary: Cross platform GUI toolkit for use with the Python language.
Name: wxPython
Version: __VERSION__
Release: 1
Copyright: wxWindows
Group: Development/Languages/Python
Source: http://alldunn.com/wxPython/wxPython-__VERSION__.tar.gz
Packager: Robin Dunn <robin@alldunn.com>
Vendor: Total Control Software
Requires: python >= 1.5.1
Prefix: /usr/lib/python1.5/site-packages
%description
This Python package consists of an extension module that wraps around the
wxWindows C++ class library and provides a cross platform GUI toolkit for
use with Python. Currently supported platforms are Win32 and Unix/GTK/X.
Python is an interpreted, interactive, object-oriented programming language.
Python combines remarkable power with very clear syntax. It has modules,
classes, exceptions, very high level dynamic data types, and dynamic typing.
There are interfaces to many system calls and libraries, and new built-in
modules are easily written in C or C++. Python is also usable as an
extension language for applications that need a programmable interface.
#%prep
#%setup
#cd wxPython-__VERSION__
#make -f Makefile.pre.in boot
#
#%build
#make
#
#
#%install
#make install
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc /usr/doc/wxPython-__VERSION__
/usr/lib/libwxPyHelpers.so
/usr/lib/python1.5/site-packages/wxPython

Binary file not shown.

View File

@@ -1,17 +0,0 @@
@echo off
zip -@ -r wxPython\wxPython-src-%1.zip < wxPython\distrib\wxPython.rsp
mkdir wxPython\docs
copy %WXWIN%\docs\html\wx\*.gif wxPython\docs
copy %WXWIN%\docs\html\wx\*.htm wxPython\docs
copy wxPython\docs\wx.htm wxPython\docs\index.htm
zip -r wxPython\wxPython-docs-%1.zip wxPython\docs
del /y wxPython\docs\*.*
rmdir wxPython\docs
move /R wxPython\*.zip wxPython\distrib

View File

@@ -1,2 +0,0 @@
*.pyc

View File

@@ -1,18 +0,0 @@
#----------------------------------------------------------------------------
# Name: __init__.py
# Purpose: The presence of this file turns this directory into a
# Python package.
#
# Author: Robin Dunn
#
# Created: 18-May-1999
# RCS-ID: $Id$
# Copyright: (c) 1998 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------------
from sizer import *
from box import *
from border import *
#----------------------------------------------------------------------------

View File

@@ -1,109 +0,0 @@
#----------------------------------------------------------------------
# Name: wxPython.lib.sizers.border
# Purpose: A Sizer that wraps an empty border around its contents
#
# Author: Robin Dunn
#
# Created: 9-June-1999
# RCS-ID: $Id$
# Copyright: (c) 1998 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------
from sizer import wxSizer
wxNORTH = 1
wxSOUTH = 2
wxEAST = 4
wxWEST = 8
wxALL = wxNORTH | wxSOUTH | wxEAST | wxWEST
#----------------------------------------------------------------------
class wxBorderSizer(wxSizer):
"""
wxBorderSizer
This sizer provides an empty buffer on one or more sides of it's
contents. It can only hold a single widget, but that can be a
sizer containing other items if you wish.
The sizer is constructed with a parameter specifying which sides
should have the border. You can use a logical OR of the following
values to specify the sides:
wxNORTH -- the top side
wxSOUTH -- the bottom side
wxEAST -- the right side
wxWEST -- the left side
wxALL -- all sides
The width in pixels of the border is specified when the child
widget is Added to the sizer.
"""
def __init__(self, sides = wxALL):
wxSizer.__init__(self)
self.sides = sides
def Add(self, widget, borderSize):
if self.children:
raise ValueError("wxBorderSizer can only contain one child.")
wxSizer.Add(self, widget, borderSize)
def CalcMin(self):
isSizer, widget, width, height, borderSize = self.children[0]
if isSizer:
width, height = widget.CalcMin()
if self.sides & wxEAST:
width = width + borderSize
if self.sides & wxWEST:
width = width + borderSize
if self.sides & wxNORTH:
height = height + borderSize
if self.sides & wxSOUTH:
height = height + borderSize
return width, height
def RecalcSizes(self):
isSizer, widget, width, height, borderSize = self.children[0]
width = self.size.width
height = self.size.height
px = self.origin.x
py = self.origin.y
if self.sides & wxWEST:
width = width - borderSize
px = px + borderSize
if self.sides & wxEAST:
width = width - borderSize
if self.sides & wxNORTH:
height = height - borderSize
py = py + borderSize
if self.sides & wxSOUTH:
height = height - borderSize
widget.SetDimensions(px, py, width, height)
#----------------------------------------------------------------------
#
# TODO... Make an abstract class wxBorder whose decendants can be added to
# a wxBorderSizer to provide drawing for the buffer area. Ideas are
# to provide a color border, beveled borders, rounded borders, etc.

View File

@@ -1,137 +0,0 @@
#----------------------------------------------------------------------
# Name: wxPython.lib.sizers.box
# Purpose: A sizer/layout managers for wxPython that places items in
# a stretchable box
#
# Author: Robin Dunn and Dirk Holtwick
#
# Created: 17-May-1999
# RCS-ID: $Id$
# Copyright: (c) 1998 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------
from sizer import wxSizer
from wxPython.wx import wxVERTICAL, wxHORIZONTAL
#----------------------------------------------------------------------
class wxBoxSizer(wxSizer):
"""
wxBoxSizer
A Sizer that lays components out in a box, in the order they are
added to the layout manager, with a given orientation. The
orientation is specified in the constructor with either wxVERTICAL
or wxHORIZONTAL.
The optional parameter to the Add method (for this sizer it's
called the stretch flag) can be used to flag one or more components
as stretchable, meaning that they will expand to fill available
space in the given orientation. The default is zero, or not
stretchable.
If the stretch flag is non-zero then the widget will stretch. If
the sizer holds more than one item that is stretchable then they
share the available space.
If the strech flag is greater than 1 then it serves as a weighting
factor. Widgets with a flag of 2 will get twice as much space as
widgets with 1, etc.
"""
def __init__(self, orientation, size = None):
wxSizer.__init__(self, size)
self.orientation = orientation
def CalcMin(self):
self.stretchable = 0 # number of stretchable items
self.minWidth = 0 # minimal size
self.minHeight = 0
self.fixedWidth = 0 # size without stretched widgets
self.fixedHeight = 0
# iterate through children
for (isSizer, widget, width, height, stretch) in self.children:
weight = 1
if stretch:
weight = stretch
if isSizer:
# let sub-sizers recalc their required space
width, height = widget.CalcMin()
# minimal size
if self.orientation == wxVERTICAL:
self.minHeight = self.minHeight + (height * weight)
self.minWidth = max(self.minWidth, width)
else:
self.minWidth = self.minWidth + (width * weight)
self.minHeight = max(self.minHeight, height)
# stretchable items
if stretch:
self.stretchable = self.stretchable + weight
else:
if self.orientation == wxVERTICAL:
self.fixedHeight = self.fixedHeight + height
self.fixedWidth = max(self.fixedWidth, width)
else:
self.fixedWidth = self.fixedWidth + width
self.fixedHeight = max(self.fixedHeight, height)
return self.minWidth, self.minHeight
def RecalcSizes(self):
# get current dimensions, save for performance
myWidth = self.size.width
myHeight = self.size.height
# relative recent positions & sizes
px = self.origin.x
py = self.origin.y
newWidth = 0
newHeight = 0
# calculate space for one stretched item
if self.stretchable:
if self.orientation == wxHORIZONTAL:
delta = (myWidth - self.fixedWidth) / self.stretchable
extra = (myWidth - self.fixedWidth) % self.stretchable
else:
delta = (myHeight - self.fixedHeight) / self.stretchable
extra = (myHeight - self.fixedHeight) % self.stretchable
# iterate children ...
for (isSizer, widget, width, height, stretch) in self.children:
weight = 1
if stretch:
weight = stretch
if isSizer:
width, height = widget.CalcMin()
# ... vertical
if self.orientation == wxVERTICAL:
newHeight = height
if stretch:
newHeight = (delta * weight) + extra # first stretchable gets extra pixels
extra = 0
widget.SetDimensions(px, py, myWidth, newHeight)
# ... horizontal
elif self.orientation == wxHORIZONTAL:
newWidth = width
if stretch:
newWidth = (delta * weight) + extra # first stretchable gets extra pixels
extra = 0
widget.SetDimensions(px, py, newWidth, myHeight)
px = px + newWidth
py = py + newHeight
#----------------------------------------------------------------------

View File

@@ -1,112 +0,0 @@
#----------------------------------------------------------------------
# Name: wxPython.lib.sizers.sizer
# Purpose: General purpose sizer/layout managers for wxPython
#
# Author: Robin Dunn and Dirk Holtwick
#
# Created: 17-May-1999
# RCS-ID: $Id$
# Copyright: (c) 1998 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------
from wxPython.wx import wxPoint, wxSize
#----------------------------------------------------------------------
class wxSizer:
"""
wxSizer
An abstract base sizer class. A sizer is able to manage the size and
layout of windows and/or child sizers.
Derived classes should implement CalcMin, and RecalcSizes.
A window or sizer is added to this sizer with the Add method:
def Add(self, widget, opt=0)
The meaning of the opt parameter is different for each type of
sizer. It may be a single value or a collection of values.
"""
def __init__(self, size = None):
self.children = []
self.origin = wxPoint(0, 0)
if not size:
size = wxSize(0,0)
self.size = size
def Add(self, widget, opt=0):
"""
Add a window or a sizer to this sizer. The meaning of the opt
parameter is different for each type of sizer. It may be a single
value or a collection of values.
"""
size = widget.GetSize()
isSizer = isinstance(widget, wxSizer)
self.children.append( (isSizer, widget, size.width, size.height, opt) )
def AddMany(self, widgets):
"""
Add a sequence (list, tuple, etc.) of widgets to this sizer. The
items in the sequence should be tuples containing valid args for
the Add method.
"""
for childinfo in widgets:
if type(childinfo) != type(()):
childinfo = (childinfo, )
apply(self.Add, childinfo)
def SetDimensions(self, x, y, width, height):
self.origin = wxPoint(x, y)
self.size = wxSize(width, height)
self.RecalcSizes()
def GetSize(self):
return self.size
def GetPosition(self):
return self.origin
def CalcMin(self):
raise NotImplementedError("Derived class should implement CalcMin")
def RecalcSizes(self):
raise NotImplementedError("Derived class should implement RecalcSizes")
def __getMinWindowSize(self, win):
"""
Calculate the best size window to hold this sizer, taking into
account the difference between client size and window size.
"""
min = self.GetMinSize()
a1,a2 = win.GetSizeTuple()
b1,b2 = win.GetClientSizeTuple()
w = min.width + (a1 - b1)
h = min.height + (a2 - b2)
return (w, h)
def GetMinSize(self):
minWidth, minHeight = self.CalcMin()
return wxSize(minWidth, minHeight)
def SetWindowSizeHints(self, win):
w, h = self.__getMinWindowSize(win)
win.SetSizeHints(w,h)
def FitWindow(self, win):
w, h = self.__getMinWindowSize(win)
win.SetSize(wxSize(w,h))
def Layout(self, size):
self.CalcMin()
self.SetDimensions(self.origin.x, self.origin.y,
size.width, size.height)
#----------------------------------------------------------------------

View File

@@ -1,14 +0,0 @@
Modules subdir, more info later...
stubs contains a template for new modules.
html, lseditor are more or less usuable.
glcanvas is moved from the main src directory.
Note, there are no SWIG generated files in CVS yet. I don't expect them to
be useful at this stage, since you can't hack this stuff without a working &
patched up SWIG anyway. Besides, those big files really bog down my phone
line.
Harm van der Heijden, Aug 11, 1999.

View File

@@ -1,27 +0,0 @@
#!/usr/bin/env python
#----------------------------------------------------------------------------
# Name: buildall.py
# Purpose: Invokes the build script for all modules defined in
# MODULELIST
#
# Author: Robin Dunn
#
# Created: 18-Aug-1999
# RCS-ID: $Id$
# Copyright: (c) 1999 by Total Control Software
# Licence: wxWindows license
#----------------------------------------------------------------------------
import sys, os
sys.path.insert(0, '../distrib')
import build
MODULELIST = ['html', 'glcanvas', 'utils', 'lseditor']
for module in MODULELIST:
cwd = os.getcwd()
print "**** Building %s" % module
build.main([sys.argv[0], '-C', module] + sys.argv[1:])
os.chdir(cwd)

View File

@@ -1,24 +0,0 @@
# -*- python -*-
import sys
MODULE = 'glcanvasc'
SWIGFILES = ['glcanvas.i', ]
# Special action; for win32 we require you make the glcanvas lib. The
# makefile will copy it to WXWIN\lib
# Unix make system isn't so advanced, so we'll go looking for the source
# file ourselves...
if sys.platform == 'win32':
OTHERLIBS = '$(WXDIR)\lib\glcanvas.lib glu32.lib opengl32.lib'
OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\win'
else:
SOURCES = [GENCODEDIR+'/_glcanvas.cpp']
print "Warning: Assuming MesaGL libraries. Override OTHERLIBS in build.local\n"\
" if you have native GL!"
OTHERCFLAGS = '-DWITH_GLCANVAS -I$(WXDIR)\utils\glcanvas\gtk'
OTHERLIBS = "-lMesaGL -lMesaGLU"
OTHERRULES = """
$(GENCODEDIR)/_glcanvas.cpp :
cp $(WXDIR)/utils/glcanvas/$(GENCODEDIR)/glcanvas.cpp $@
"""

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +0,0 @@
EXPORTS
initglcanvasc

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,13 +0,0 @@
*.exp
*.lib
*.obj
*.pch
Makefile
Makefile.pre
Setup
build.local
config.c
htmlc.ilk
htmlc.pyd
sedscript

View File

@@ -1,23 +0,0 @@
Known bugs
html, all:
- keys can move the vertical scrollbar, but the window moveth not.
problem in wxHTML.
- widgets are not removed when the HTML contents is changed
(this can be fixed by adding ~HtmlWidgetCell { wnd->Destroy(); } )
- potential problem with the use of ThreadState in html.i
(mainly because I don't really know what I'm doing there)
html, msw:
- vertical scrollbar behaves erratically when content smaller than
window
- page with widgets takes forever to draw when constructed
in frame constructor
- sometimes the python scripts with html crash on startup, before
the window is displayed (illegal operation). this seems mainly to
happen when the various libs are not yet in the disk cache. race
condition?

View File

@@ -1,11 +0,0 @@
Aug. 2 1999 Harm van der Heijden
What's in here:
html
-- minimal wrap of Vaclaf Slavik's wxHTML (now part of
wxWindows); only parts of the wxHtmlWindow class are used.
Testsample htmlview.py.
There's also a python tag handler, see htmlwidget.py for
a demonstration.

View File

@@ -1,6 +0,0 @@
# -*- python -*-
MODULE = 'htmlc'
SWIGFILES = ['html.i', ]
PYFILES = ['htmlhelper.py']

View File

@@ -1 +0,0 @@
*~

View File

@@ -1,121 +0,0 @@
# This file was created automatically by SWIG.
import htmlc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx,htmlhelper
widget = htmlc
class HtmlHistoryItemPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def GetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPos,(self,) + _args, _kwargs)
return val
def SetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_SetPos,(self,) + _args, _kwargs)
return val
def GetPage(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPage,(self,) + _args, _kwargs)
return val
def GetAnchor(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetAnchor,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C HtmlHistoryItem instance at %s>" % (self.this,)
class HtmlHistoryItem(HtmlHistoryItemPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_HtmlHistoryItem,_args,_kwargs)
self.thisown = 1
class wxHtmlWindowPtr(wxScrolledWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def SetPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
return val
def LoadPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
return val
def GetOpenedPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
return val
def SetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
return val
def GetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
if val: val = wxFramePtr(val)
return val
def SetRelatedStatusBar(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
return val
def SetFonts(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
return val
def SetTitle(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
return val
def SetBorders(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
return val
def HistoryBack(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
return val
def HistoryForward(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
return val
def HistoryClear(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxHtmlWindow instance at %s>" % (self.this,)
class wxHtmlWindow(wxHtmlWindowPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
wx._StdOnScrollCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,259 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: html.i
// Purpose: SWIG definitions of html classes
//
// Author: Robin Dunn
//
// Created: 25-nov-1998
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module html
%{
#include "helpers.h"
#include <wx/html/htmlwin.h>
#include <wx/image.h>
#include <wx/fs_zip.h>
#include <wx/fs_inet.h>
%}
//---------------------------------------------------------------------------
%include typemaps.i
%include my_typemaps.i
%extern wx.i
%extern windows.i
%extern _defs.i
%extern events.i
//%extern windows2.i
//%extern windows3.i
//%extern frames.i
//%extern misc.i
//%extern gdi.i
//%extern controls.i
%{
#ifdef __WXMSW__
static wxString wxPyEmptyStr("");
static wxPoint wxPyDefaultPosition(wxDefaultPosition);
static wxSize wxPyDefaultSize(wxDefaultSize);
#endif
static PyThreadState* wxPyThreadState;
%}
%pragma(python) code = "import wx,htmlhelper"
%pragma(python) code = "widget = htmlc"
%{
static PyObject* mod_dict = NULL; // will be set by init
#include <wx/html/mod_templ.h>
TAG_HANDLER_BEGIN(PYTHONTAG, "PYTHON")
TAG_HANDLER_PROC(tag)
{
wxWindow *wnd;
wxString errmsg;
char pbuf[256];
int fl = 0;
while (1) {
#ifdef WXP_WITH_THREAD
PyEval_RestoreThread(wxPyThreadState);
#endif
if (tag.HasParam("FLOAT"))
tag.ScanParam("FLOAT", "%i", &fl);
PyObject* pyfunc = PyDict_GetItemString(mod_dict, "WidgetStarter");
if (pyfunc == NULL) {
errmsg = "Could not find object WidgetStarter";
break;
}
if (! PyCallable_Check(pyfunc)) {
errmsg = "WidgetStarter does not appear to be callable";
break;
}
SWIG_MakePtr(pbuf, m_WParser->GetWindow(), "_wxHtmlWindow_p");
PyObject* arglist = Py_BuildValue("(s,s)", pbuf,
(const char*)tag.GetAllParams());
if (! arglist) {
errmsg = "Failed making argument list";
break;
}
PyObject* ret = PyEval_CallObject(pyfunc, arglist);
Py_DECREF(arglist);
if (ret == NULL) {
errmsg = "An error occured while calling WidgetStarter";
if (PyErr_Occurred())
PyErr_Print();
break;
}
wnd = NULL;
if (PyString_Check(ret)) {
char* thisc = PyString_AsString(ret);
SWIG_GetPtr(thisc, (void**)&wnd, "_wxWindow_p");
}
Py_DECREF(ret);
if (! wnd) {
errmsg = "Could not make a wxWindow pointer from return ptr";
break;
}
#ifdef WXP_WITH_THREAD
PyEval_SaveThread();
#endif
wnd -> Show(TRUE);
m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, fl));
return FALSE;
}
/* we got out of the loop. Must be an error. Show a box stating it. */
#ifdef WXP_WITH_THREAD
PyEval_SaveThread();
#endif
wnd = new wxTextCtrl( m_WParser -> GetWindow(), -1,
errmsg, wxPoint(0,0),
wxSize(300, 100), wxTE_MULTILINE );
wnd -> Show(TRUE);
m_WParser->OpenContainer()->InsertCell(new wxHtmlWidgetCell(wnd, 100));
return FALSE;
}
TAG_HANDLER_END(PYTHONTAG)
TAGS_MODULE_BEGIN(PythonTag)
TAGS_MODULE_ADD(PYTHONTAG)
TAGS_MODULE_END(PythonTag)
// Note: see also the init function where we add the module!
%}
//---------------------------------------------------------------------------
// item of history list
class HtmlHistoryItem
{
public:
HtmlHistoryItem(const char* p, const char* a);
int GetPos() const {return m_Pos;}
void SetPos(int p) {m_Pos = p;}
const wxString& GetPage() const ;
const wxString& GetAnchor() const ;
};
class wxHtmlWindow : public wxScrolledWindow
{
public:
wxHtmlWindow(wxWindow *parent, wxWindowID id = -1,
const wxPoint& pos = wxPyDefaultPosition,
const wxSize& size = wxPyDefaultSize,
int flags=wxHW_SCROLLBAR_AUTO,
const char* name = "htmlWindow");
%pragma(python) addtomethod = "__init__:wx._StdWindowCallbacks(self)"
%pragma(python) addtomethod = "__init__:wx._StdOnScrollCallbacks(self)"
bool SetPage(const char* source);
// Set HTML page and display it. !! source is HTML document itself,
// it is NOT address/filename of HTML document. If you want to
// specify document location, use LoadPage() istead
// Return value : FALSE if an error occured, TRUE otherwise
bool LoadPage(const char* location);
// Load HTML page from given location. Location can be either
// a) /usr/wxGTK2/docs/html/wx.htm
// b) http://www.somewhere.uk/document.htm
// c) ftp://ftp.somesite.cz/pub/something.htm
// In case there is no prefix (http:,ftp:), the method
// will try to find it itself (1. local file, then http or ftp)
// After the page is loaded, the method calls SetPage() to display it.
// Note : you can also use path relative to previously loaded page
// Return value : same as SetPage
wxString GetOpenedPage() const {return m_OpenedPage;}
// Returns full location of opened page
void SetRelatedFrame(wxFrame* frame, const char* format);
// sets frame in which page title will be displayed. Format is format of
// frame title, e.g. "HtmlHelp : %s". It must contain exactly one %s
wxFrame* GetRelatedFrame() const;
void SetRelatedStatusBar(int bar);
// after(!) calling SetRelatedFrame, this sets statusbar slot where messages
// will be displayed. Default is -1 = no messages.
void SetFonts(wxString normal_face, int normal_italic_mode, wxString fixed_face, int fixed_italic_mode, int *sizes);
// sets fonts to be used when displaying HTML page.
// *_italic_mode can be either wxSLANT or wxITALIC
void SetTitle(const char* title);
// Sets the title of the window
// (depending on the information passed to SetRelatedFrame() method)
void SetBorders(int b);
// Sets space between text and window borders.
//virtual void ReadCustomization(wxConfigBase *cfg, wxString path = wxEmptyString);
// saves custom settings into cfg config. it will use the path 'path'
// if given, otherwise it will save info into currently selected path.
// saved values : things set by SetFonts, SetBorders.
//virtual void WriteCustomization(wxConfigBase *cfg, wxString path = wxEmptyString);
// ...
bool HistoryBack();
bool HistoryForward();
// Goes to previous/next page (in browsing history)
// Returns TRUE if successful, FALSE otherwise
void HistoryClear();
// Resets history
//wxHtmlContainerCell* GetInternalRepresentation() const;
// Returns pointer to conteiners/cells structure.
// It should be used ONLY when printing
//static void AddFilter(wxHtmlFilter *filter);
// Adds input filter
/* This function needs to be eventified! */
//virtual void OnLinkClicked(const char* link);
// called when users clicked on hypertext link. Default behavior is to
// call LoadPage(loc)
//static void CleanUpStatics();
// cleans static variables
};
//---------------------------------------------------------------------------
%init %{
/* This is a bit cheesy. SWIG happens to call the dictionary d...
* I save it here, 'cause I don't know how to get it back later! */
mod_dict = d;
wxPyThreadState = PyThreadState_Get();
wxClassInfo::CleanUpClasses();
wxClassInfo::InitializeClasses();
/* specifically add our python tag handler; it doesn't seem to
* happen by itself... */
wxHtmlWinParser::AddModule(new HTML_ModulePythonTag());
// Until wxFileSystem is wrapped...
#if wxUSE_FS_ZIP
wxFileSystem::AddHandler(new wxZipFSHandler);
#endif
%}
//---------------------------------------------------------------------------

View File

@@ -1,2 +0,0 @@
EXPORTS
inithtmlc

View File

@@ -1,59 +0,0 @@
#
# htmlhelper.py
#
# A few helper functions for putting wxPython widgets in html pages
#
# Harm van der Heijden, 11 aug 1999.
import wx
import string
import htmlc
# Function to parse a param string (of the form 'item=value item2="value etc"'
# and creates a dictionary
def _param2dict(param):
i = 0; j = 0; s = len(param); d = {}
d['param_str'] = param
while 1:
while i<s and param[i] == " " : i = i+1
if i>=s: break
j = i
while j<s and param[j] != "=": j=j+1
if j+1>=s:
break
word = param[i:j]
i=j+1
if (param[i] == '"'):
j=i+1
while j<s and param[j] != '"' : j=j+1
if j == s: break
val = param[i+1:j]
elif (param[i] != " "):
j=i+1
while j<s and param[j] != " " : j=j+1
val = param[i:j]
else:
val = ""
i=j+1
d[string.lower(word)] = val
return d
# This function gets called by the <python> tag handler.
# Arguments are the parent (wxHtmlWindow) SWIG pointer (in python, a string)
# and a string containing the parameters.
# The return value must be the SWIG pointer of the created widget (the 'this'
# attribute in python). The widget must be derived from a wxWindow or one
# of its descendants.
def _WidgetStarter(parentptr, param):
# create a python instance of the parent
parent = wx.wxWindowPtr(parentptr)
# try to find the widget class in the htmlwinc (=htmlwidget) module
dict = _param2dict(param)
classname = dict['class']
obj = htmlc.__dict__[classname]
# now create the class with arguments parent, dictionary
cls = apply(obj, (parent, dict))
# return the class instance's pointer
return cls.this
htmlc.WidgetStarter = _WidgetStarter

View File

@@ -1 +0,0 @@
*~

View File

@@ -1,121 +0,0 @@
# This file was created automatically by SWIG.
import htmlc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx,htmlhelper
widget = htmlc
class HtmlHistoryItemPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def GetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPos,(self,) + _args, _kwargs)
return val
def SetPos(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_SetPos,(self,) + _args, _kwargs)
return val
def GetPage(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetPage,(self,) + _args, _kwargs)
return val
def GetAnchor(self, *_args, **_kwargs):
val = apply(htmlc.HtmlHistoryItem_GetAnchor,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C HtmlHistoryItem instance at %s>" % (self.this,)
class HtmlHistoryItem(HtmlHistoryItemPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_HtmlHistoryItem,_args,_kwargs)
self.thisown = 1
class wxHtmlWindowPtr(wxScrolledWindowPtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def SetPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetPage,(self,) + _args, _kwargs)
return val
def LoadPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_LoadPage,(self,) + _args, _kwargs)
return val
def GetOpenedPage(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetOpenedPage,(self,) + _args, _kwargs)
return val
def SetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedFrame,(self,) + _args, _kwargs)
return val
def GetRelatedFrame(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_GetRelatedFrame,(self,) + _args, _kwargs)
if val: val = wxFramePtr(val)
return val
def SetRelatedStatusBar(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetRelatedStatusBar,(self,) + _args, _kwargs)
return val
def SetFonts(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetFonts,(self,) + _args, _kwargs)
return val
def SetTitle(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetTitle,(self,) + _args, _kwargs)
return val
def SetBorders(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_SetBorders,(self,) + _args, _kwargs)
return val
def HistoryBack(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryBack,(self,) + _args, _kwargs)
return val
def HistoryForward(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryForward,(self,) + _args, _kwargs)
return val
def HistoryClear(self, *_args, **_kwargs):
val = apply(htmlc.wxHtmlWindow_HistoryClear,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxHtmlWindow instance at %s>" % (self.this,)
class wxHtmlWindow(wxHtmlWindowPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
self.thisown = 1
wx._StdWindowCallbacks(self)
wx._StdOnScrollCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,77 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys
default_page = """
<H1>HTML Viewer</H1>Please select <I>File->Open</I>
to open a HTML file, or edit this page in the
text control below and select <I>File->Update</I>
<P>
The python source can be seen
<a href="%s">here</a>.
""" % (sys.argv[0], )
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
split = wxSplitterWindow(self, -1)
self.html = wxHtmlWindow(split)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
self.txt = wxTextCtrl(split, -1, default_page,
wxDefaultPosition, wxDefaultSize,
wxTE_MULTILINE)
split.SplitHorizontally(self.html, self.txt, size.y/2)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Open")
menu.Append(1501, "Reset")
menu.Append(1502, "Update HTML")
menu.AppendSeparator()
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
menu = wxMenu()
menu.Append(1510, "Back")
menu.Append(1511, "Forward")
mbar.Append(menu, "Go")
self.SetMenuBar(mbar)
self.filename = ""
EVT_MENU(self, 1500, self.OnFileOpen)
EVT_MENU(self, 1501, self.OnFileReset)
EVT_MENU(self, 1502, self.OnFileUpdate)
EVT_MENU(self, 1503, self.OnClose)
EVT_MENU(self, 1510, self.OnGoBack)
EVT_MENU(self, 1511, self.OnGoForward)
# A default opening text
self.html.SetPage( default_page )
def OnFileOpen(self, event):
dlg = wxFileDialog(NULL, "Open file")
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.html.LoadPage(self.filename)
def OnFileReset(self, event):
self.html.SetPage( default_page )
self.txt.SetValue( default_page )
def OnFileUpdate(self, event):
self.html.SetPage( self.txt.GetValue() )
def OnGoBack(self, event):
self.html.HistoryBack()
def OnGoForward(self, event):
self.html.HistoryForward()
def OnClose(self,event):
self.Destroy()
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,97 +0,0 @@
from wxPython.wx import *
from wxPython.html import *
import sys,string
# A bunch of simple widgets, all somehow derived from wxWindow
class Widget1(wxWindow):
def __init__(self, parent, param):
wxWindow.__init__(self, parent, -1)
self.text = wxTextCtrl(self, -1, param['param_str'], wxPoint(5,5),
wxSize(200,150), wxTE_MULTILINE)
but = wxButton(self, 1001, "Click me", wxPoint(50,160), wxSize(100,30))
EVT_BUTTON(self, 1001, self.OnButton)
self.SetSize(wxSize(210,200))
def OnButton(self, event):
self.text.AppendText( "Click!\n" )
class Widget2(wxButton):
def __init__(self, parent, param):
wxButton.__init__(self, parent, int(param['id']), param['title'])
class Widget3(wxTextCtrl):
def __init__(self, parent, param):
wxTextCtrl.__init__(self, parent, -1, "No clicks")
self.clicked = 0;
EVT_BUTTON(parent, int(param['button_id']), self.OnButton)
def OnButton(self, event):
self.clicked = self.clicked + 1
self.SetValue("%d clicks" % (self.clicked,))
# make the widgets known in the widget module (aka htmlc)
widget.Widget1 = Widget1
widget.Widget2 = Widget2
widget.Widget3 = Widget3
# our default page
default_page = """
<H2>wxPython widgets go HTML</H2>
A bunch of wxPython widgets are scattered on this HTML page.
Here's one:
<center><python class="Widget1" greeting="Hello World"></center>
<hr>
Here's another:
<center><python class="Widget2" float=70 id=1002 title="Button A"></center>
It should always take up 70% of the page width.
<p>And then there's this, listening to button A:
<python class="Widget3" button_id=1002></p>
"""
# our explanation
apology = """
For some bizarre reason, it takes forever and a day to display the
widgets if they are constructed in the frame's constructor. This
only happens in MSW, wxGTK works fine.
<p>Select <I>File->Show it</I> to draw the widgets."""
default_page = default_page + "The HTML code for this page is\n <pre>" + default_page + "</pre>"
class HtmlViewer(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.CreateStatusBar(1)
self.html = wxHtmlWindow(self)
self.html.SetRelatedFrame(self, "HTML Viewer: \%s")
self.html.SetRelatedStatusBar(0)
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Show it")
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
EVT_MENU(self, 1500, self.OnShowIt)
EVT_MENU(self, 1503, self.OnClose)
self.SetMenuBar(mbar)
# change apology below to default_page, if you dare!
self.html.SetPage( default_page )
def OnClose(self,event):
self.Destroy()
def OnShowIt(self,event):
self.html.SetPage( default_page )
# now quickly remove the menu option, to hide that
# other bug; namely that widgets aren't removed when the
# HTML page is.
self.GetMenuBar().Enable(1500, FALSE)
class MyApp(wxApp):
def OnInit(self):
frame = HtmlViewer(NULL, -1, "HTML Viewer")
frame.Show(TRUE)
self.SetTopWindow(frame)
return TRUE
wxImage_AddHandler(wxPNGHandler())
wxImage_AddHandler(wxGIFHandler())
wxImage_AddHandler(wxJPEGHandler())
theApp = MyApp(0)
theApp.MainLoop()

View File

@@ -1,13 +0,0 @@
*.exp
*.lib
*.obj
*.pch
Makefile
Makefile.pre
Setup
build.local
config.c
lseditorc.ilk
lseditorc.pyd
sedscript

View File

@@ -1,6 +0,0 @@
Known bugs/features
editor, all:
- (missing feature, really) syntax highlighting data is
compile time.

View File

@@ -1,340 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

View File

@@ -1,13 +0,0 @@
Aug. 2 1999 Harm van der Heijden
What's in here:
lseditorplugin
-- minimal wrap of Alexanders Gluchovas' editor plugin. The code was
ransacked from the wxStudio (http://wxstudio.linuxbox.com) project.
Since the editor is released under the Gnu Public License, this
module, as a derivative work, is also released under this licence
and NOT THE WXWINDOWS LICENSE. See the file COPYING for details.
the file 'editor.py' contains a sample implementation using the
editorplugin object.

View File

@@ -1,9 +0,0 @@
# -*- python -*-
MODULE = 'lseditorc'
SWIGFILES = ['lseditor.i']
SOURCES = ['finddlg.cpp', 'lseditorpl.cpp', 'markup.cpp', 'plugin.cpp',
'sourcepainter.cpp', 'tdefs.cpp']

View File

@@ -1,82 +0,0 @@
/* config.h. Generated automatically by configure. */
/* config.h.in. Generated automatically from configure.in by autoheader. */
/* Define if using alloca.c. */
/* #undef C_ALLOCA */
/* Define to empty if the keyword does not work. */
/* #undef const */
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
/* #undef CRAY_STACKSEG_END */
/* Define if you have alloca, as a function or macro. */
#define HAVE_ALLOCA 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
#define HAVE_ALLOCA_H 1
/* Define as __inline if that's what the C compiler calls it. */
/* #undef inline */
/* Define as the return type of signal handlers (int or void). */
#define RETSIGTYPE void
/* Define to `unsigned' if <sys/types.h> doesn't define. */
/* #undef size_t */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown
*/
/* #undef STACK_DIRECTION */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Define if your <sys/time.h> declares struct tm. */
/* #undef TM_IN_SYS_TIME */
/* Define to use template STL (vs. wxSTL) */
#define wxUSE_TEMPLATE_STL 1
/* Define to use framelayout library */
/* #undef wxsUSE_FRAME_LAYOUT */
/* Define to use class-info plugin */
#define wxsUSE_CLASS_INFO 1
/* Define to use window manager plugin */
#define wxsUSE_WINDOWMANAGER 1
/* Define if you have the strdup function. */
#define HAVE_STRDUP 1
/* Define if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Name of package */
#define PACKAGE "wxStudio"
/* Version number of package */
#define VERSION "0.0.2"

View File

@@ -1,262 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 07/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandras Gluchovas
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifndef __CONTROLAREA_G__
#define __CONTROLAREA_G__
#ifdef __GNUG__
#pragma interface "controlarea.h"
#endif
#include "wx/defs.h"
#include "wx/window.h"
#include "wx/string.h"
#define WXCONTROLAREA_VERSION 1.0
// layout types for title bars of the tabs
// (are selected up by evaluating the available free space )
class twTabInfo; // forward decl.
#define wxTITLE_IMG_AND_TEXT 0
#define wxTITLE_IMG_ONLY 1
#define wxTITLE_BORDER_ONLY 2
/*
* class manages and decorates contained "tab"-windows.
* Draws decorations similar to those in "Project Workplace"
* of Microsoft Developer Studio 4.xx
*/
class wxTabbedWindow : public wxPanel
{
DECLARE_DYNAMIC_CLASS( wxTabbedWindow )
public:
friend class wxTabbedWindowSerializer;
wxList mTabs;
int mActiveTab;
int mTitleHeight;
int mLayoutType;
void HideInactiveTabs( bool andRepaint );
// overrride,to provide different font for tab-labels
virtual wxFont GetLabelingFont();
// FOR NOW:: scrollbars are actually related to wxPaggedWindow
wxScrollBar* mpTabScroll;
wxScrollBar* mpHorizScroll;
wxScrollBar* mpVertScroll;
public:
// public properties (invoke ReclaclLayout(TRUE) to apply changes)
wxPen mWhitePen; // default: RGB(255,255,255)
wxPen mLightPen; // wxSYS_COLOUR_3DHIGHLIGHT
wxPen mGrayPen; // wxSYS_COLOUR_3DFACE
wxPen mDarkPen; // wxSYS_COLOUR_3DSHADOW
wxPen mBlackPen; // default: RGB( 0, 0, 0)
int mVertGap; // default: 3
int mHorizGap; // default: 5
int mTitleVertGap; // default: 3
int mTitleHorizGap; // default: 4
int mImageTextGap; // default: 2
int mFirstTitleGap; // default: 11
int mBorderOnlyWidth; // default: 8
// notifications (can be handled by derivatives)
virtual void OnTabAdded( twTabInfo* pInfo ) {}
virtual void SizeTabs(int x,int y, int width, int height, bool repant);
public:
wxTabbedWindow();
virtual ~wxTabbedWindow();
// tabs can be also added when the window is
// already displayed - "on the fly"
virtual void AddTab( wxWindow* pContent, // contained window
wxString tabText, // tab label
wxString imageFileName = "", // if "", only text label is displayed
long imageType = wxBITMAP_TYPE_BMP );
// NOTE:: if this AddTab(..) overload is called, the
// image bitmap will not be serialized (if performed),
// use the above method instead, so that images could
// be restored using the given file names
virtual void AddTab( wxWindow* pContent,
wxString tabText,
wxBitmap* pImage = NULL );
virtual void RemoveTab( int tabNo );
/* misc accessors */
virtual int GetTabCount();
virtual wxWindow* GetTab( int tabNo );
virtual wxWindow* GetActiveTab();
virtual void SetActiveTab( int tabNo );
void DrawShadedRect( int x, int y, int width, int height,
wxPen& upperPen, wxPen& lowerPen, wxDC& dc );
virtual void DrawDecorations( wxDC& dc );
// return -1, if non of the title bars was hitted,
// otherwise the index of the hitted tab title bar
virtual int HitTest( const wxPoint& pos );
// should be invoked to redisplay window with changed properties
virtual void RecalcLayout( bool andRepaint = TRUE );
// event handlers
void OnPaint( wxPaintEvent& event );
void OnSize ( wxSizeEvent& event );
void OnBkErase( wxEraseEvent& event );
void OnLButtonDown( wxMouseEvent& event );
DECLARE_EVENT_TABLE()
};
/*
* class manages and decorates contained "sheets" (or pages).
* Draws decorations similar to those in "Output window"
* of Microsoft Developer Studio 4.xx
*/
class wxPaggedWindow : public wxTabbedWindow
{
DECLARE_DYNAMIC_CLASS( wxPaggedWindow )
protected:
bool mScrollEventInProgress;
// drag&drop state variables
bool mIsDragged;
int mDagOrigin;
wxCursor mResizeCursor;
wxCursor mNormalCursor;
bool mCursorChanged;
int mOriginalTitleRowLen;
void DrawPaperBar( twTabInfo& tab, int x, int y,
wxBrush& brush, wxPen& pen, wxDC& dc );
int GetWholeTabRowLen();
// adjusts scorllbars to fit around tabs
virtual void OnTabAdded( twTabInfo* pInfo );
// sets smaller font for page-labels
virtual wxFont GetLabelingFont();
public:
int mTitleRowStart;
int mResizeNailGap;
int mTabTrianGap;
int mTitleRowLen; // actual title row length
int mAdjustableTitleRowLen; // setup by dragging mini-sash
// with the mosue pointer
int mCurentRowOfs;
wxBrush mGrayBrush;
wxBrush mWhiteBrush;
public:
wxPaggedWindow();
~wxPaggedWindow();
// NOTE:: use public methods of the base class
// to add "pages" to this window
/* misc accessors */
// below two methods should be called after
// the tabs were added (AddTab(..)). Set up
// these scrollbars to match the needs of the
// tabs added into this area
wxScrollBar& GetVerticalScrollBar();
wxScrollBar& GetHorizontalScrollBar();
virtual void DrawDecorations( wxDC& dc );
// return -1, if non of the title bars was hitted,
// otherwise the index of the hitted tab title bar
virtual int HitTest( const wxPoint& pos );
virtual void RecalcLayout( bool andRepaint = TRUE );
// event handlers
void OnPaint( wxPaintEvent& event );
void OnSize ( wxSizeEvent& event );
void OnLButtonDown( wxMouseEvent& event );
void OnLButtonUp ( wxMouseEvent& event );
void OnMouseMove ( wxMouseEvent& event );
void OnScroll ( wxScrollEvent& event );
DECLARE_EVENT_TABLE()
};
// helper structure of wxTabbedWindow
class twTabInfo : public wxObject
{
DECLARE_DYNAMIC_CLASS( twTabInfo )
public:
twTabInfo();
~twTabInfo();
int ImgWidth();
int ImgHeight();
int ImageToTxtGap( int prefGap );
bool HasImg();
wxBitmap& GetImg();
bool HasText();
wxString& GetText();
wxWindow& GetContent();
public:
wxWindow* mpContent;
wxBitmap mBitMap;
wxString mText;
wxSize mDims;
// used for serialization
wxString mImageFile;
long mImageType;
};
#endif

View File

@@ -1,153 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: editorbase.h
// Purpose: General interfaces for editor plug-ins.
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License wxWindows licence v2.0
/////////////////////////////////////////////////////////////////////////////
#ifndef __EDITORBASE_G__
#define __EDITORBASE_G__
#include "plugin.h"
#include "wx/window.h"
class wxsSourceEditorPlugin : public wxsComponent
{
protected:
string mFileName;
public:
/*** overridables (with default implementations) ***/
// user-level commands
virtual void OnOpen( const string& fname ) = 0;
virtual void OnSave( const string& fname ) = 0;
virtual void OnCopy() {}
virtual void OnCut() {}
virtual void OnPaste() {}
virtual void OnDelete() {}
virtual void OnUndo() {}
virtual void OnRedo() {}
virtual void SelectAll() {}
// NOTE:: column -1 should result cursor to appear
// at the start of the first word in the line (if any)
virtual void OnGotoLine( int lineNo, int column = -1 ) {}
// should invoke editor's own "goto-line" dialog
virtual void OnGotoLine() {}
virtual void OnProperties() {}
virtual void OnFind() {}
virtual void OnFindNext() {}
virtual void OnFindPrevious() {}
virtual void OnReplace() {}
virtual void OnToggleBookmark() {}
virtual void OnNextBookmark() {}
virtual void OnPreviousBookmark() {}
virtual void OnShowBookmarks() {}
virtual void SetCheckpoint() {}
virtual bool CheckpointModified() { return TRUE; }
// UI-updates
virtual bool CanCopy() { return FALSE; }
virtual bool CanCut() { return FALSE; }
virtual bool CanPaste() { return FALSE; }
virtual bool CanUndo() { return FALSE; }
virtual bool CanRedo() { return FALSE; }
// accesed by framework
virtual bool IsModified() { return TRUE; }
// returned buffer is NULL, if operation is not supported
// by this concrete editor
virtual void GetAllText( char** ppBuf, size_t* length )
{ *ppBuf = NULL; *length = 0; }
virtual string FindWordAtCursor() = 0;
// returned line and column are -1s, if operation
// is not supported this concrete editor
virtual void GetCursorPos( int* line, int* column )
{ *line = -1; *column = -1; }
virtual void GetPagePos( int* line, int* column )
{ *line = -1; *column = -1; }
virtual void SetCursorPos( int line, int column ) {}
// returned buffer is NULL, if operation is not supported
// by this concrete editor,
// (NOTE: range is given from "fromLine", but not
// including tillLine, [fomrLine,tillLine) )
virtual void GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length )
{ ppBuf = NULL; }
virtual void InsertText( int line, int column,
char* text, size_t lenght )
{}
virtual void DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn )
{}
virtual void PositionToXY( int line, int column, int* x, int* y )
{ *x = -1; *y = -1; }
virtual void GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn )
{ *fromLine = -1; // not supported by default
}
virtual wxSize GetCharacterSize() { return wxSize(-1,-1); }
virtual bool IsUnixText()
// default impl., actual implementation should use auto-detection
#ifdef __WINDOWS__
{ return FALSE; }
#else
{ return TRUE; }
#endif
// requests editor to keep cursor blinking, even when
// the window has lost it's focus
virtual void HoldCursor( bool hold )
{}
virtual string GetFileName() { return mFileName; }
virtual void SetFileName( const string& fname ) { mFileName = fname; }
// overriden methods of wxStudioPluginBase
virtual WXS_PLUGIN_TYPE GetType() {return WXS_EDITOR_PLUGIN;}
virtual string GetCategory() { return "Editor";}
};
#endif
// __EDITORBASE_G__

View File

@@ -1,146 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 08/05/1999
// RCS-ID: $Id$
// Copyright: (c) Aleksandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "finddlg.h"
/***** Implementation for class wxFindTextDialog *****/
//#define wxID_OK 3453453
BEGIN_EVENT_TABLE( wxFindTextDialog, wxDialog )
// FIXME:: why OnOk() is not called??
//EVT_BUTTON( wxID_OK, wxFindTextDialog::OnOK )
EVT_CHAR_HOOK(wxFindTextDialog::OnKeyHook)
END_EVENT_TABLE()
wxString wxFindTextDialog::mLastExpr;
bool wxFindTextDialog::mMatchCase = TRUE;
bool wxFindTextDialog::mMatchWord = FALSE;
StrListT wxFindTextDialog::mExprList;
// FIXME:: workaround for mystic. crashes wiht MSDev4.0
static wxComboBox* __gpCombo = NULL;
wxFindTextDialog::wxFindTextDialog( wxWindow* parent, const string& expr )
: wxDialog( parent, -1, "Find",
wxDefaultPosition, wxSize( 335, 130 ),
wxDIALOG_MODAL | wxCAPTION | wxTAB_TRAVERSAL |
wxDEFAULT_DIALOG_STYLE
)
{
mLastExpr = expr;
int leftMargin = 20;
int inputY = 20;
int inputWidth = 200;
wxStaticText* pStatic =
new wxStaticText( this, -1, "Fi&nd what:",
wxPoint( leftMargin, inputY ) );
int checkY = inputY + 25;
mpWordCheck = new wxCheckBox( this, -1, "Match &whole word only",
wxPoint( leftMargin, checkY ) );
mpCaseCheck = new wxCheckBox( this, -1, "Match &case",
wxPoint( leftMargin, checkY + 20 ) );
mpCaseCheck->SetValue( mMatchCase );
mpWordCheck->SetValue( mMatchWord );
int btnX = inputWidth + leftMargin + 23;
int btnY = inputY - 4;
wxSize btnSize( 70, 25 );
wxButton* pOkBtn = new wxButton( this, wxID_OK, "&Find",
wxPoint( btnX, btnY ), btnSize );
wxButton* pCancelBtn = new wxButton( this, wxID_CANCEL, "&Cancel",
wxPoint( btnX, btnY + 10 + btnSize.y ), btnSize );
__gpCombo = new wxComboBox( this, -1, mLastExpr,
wxPoint( leftMargin + 60, inputY - 2 ),
wxSize( inputWidth - 50, 20 ) );
for( size_t i = 0; i != mExprList.size(); ++i )
__gpCombo->Append( mExprList[i] );
pOkBtn->SetDefault();
__gpCombo->SetFocus();
Center( wxBOTH );
}
void wxFindTextDialog::SetExpr( const wxString& expr )
{
mLastExpr = expr;
__gpCombo->SetValue( mLastExpr );
}
wxComboBox* wxFindTextDialog::GetCombo()
{
return __gpCombo;
}
bool wxFindTextDialog::TransferDataFromWindow()
{
mLastExpr = GetCombo()->GetValue();
mMatchCase = mpCaseCheck->GetValue();
mMatchWord = mpWordCheck->GetValue();
if ( mLastExpr != "" )
{
for( size_t i = 0; i != mExprList.size(); ++i )
if ( mExprList[i] == mLastExpr )
return TRUE;
}
if ( mExprList.size() > 20 )
mExprList.pop_back();
mExprList.push_back( mLastExpr );
return TRUE;
}
void wxFindTextDialog::OnKeyHook( wxKeyEvent& event )
{
if ( event.m_keyCode == WXK_RETURN )
{
TransferDataFromWindow();
EndModal( wxID_OK );
}
else
event.Skip();
}

View File

@@ -1,38 +0,0 @@
#ifndef __FINDDLG_G__
#define __FINDDLG_G__
#include "wx/dialog.h"
#include "wx/checkbox.h"
#include "wx/combobox.h"
#include "wxstldefs.h"
class wxFindTextDialog : public wxDialog
{
public:
static wxString mLastExpr;
static bool mMatchCase;
static bool mMatchWord;
static StrListT mExprList;
wxCheckBox* mpCaseCheck;
wxCheckBox* mpWordCheck;
public:
wxFindTextDialog( wxWindow* parent, const string& expr = "" );
bool MatchWordOn() { return mMatchWord; }
bool MatchCaseOn() { return mMatchCase; }
wxString GetExpr() { return mLastExpr; }
void SetExpr( const wxString& expr );
wxComboBox* GetCombo();
virtual bool TransferDataFromWindow();
void OnKeyHook( wxKeyEvent& event );
DECLARE_EVENT_TABLE()
};
#endif

View File

@@ -1 +0,0 @@
*~

File diff suppressed because it is too large Load Diff

View File

@@ -1,189 +0,0 @@
# This file was created automatically by SWIG.
import lseditorc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx
class wxsLSEditorPluginPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,lseditorc=lseditorc):
if self.thisown == 1 :
lseditorc.delete_wxsLSEditorPlugin(self)
def Create(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_Create,(self,) + _args, _kwargs)
return val
def OnOpen(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnOpen,(self,) + _args, _kwargs)
return val
def OnSave(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnSave,(self,) + _args, _kwargs)
return val
def OnCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCopy,(self,) + _args, _kwargs)
return val
def OnCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCut,(self,) + _args, _kwargs)
return val
def OnPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPaste,(self,) + _args, _kwargs)
return val
def OnDelete(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnDelete,(self,) + _args, _kwargs)
return val
def OnUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnUndo,(self,) + _args, _kwargs)
return val
def OnRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnRedo,(self,) + _args, _kwargs)
return val
def SelectAll(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SelectAll,(self,) + _args, _kwargs)
return val
def OnGotoLine(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnGotoLine,(self,) + _args, _kwargs)
return val
def OnProperties(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnProperties,(self,) + _args, _kwargs)
return val
def OnFind(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFind,(self,) + _args, _kwargs)
return val
def OnFindNext(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindNext,(self,) + _args, _kwargs)
return val
def OnFindPrevious(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindPrevious,(self,) + _args, _kwargs)
return val
def OnReplace(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnReplace,(self,) + _args, _kwargs)
return val
def OnToggleBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnToggleBookmark,(self,) + _args, _kwargs)
return val
def OnNextBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnNextBookmark,(self,) + _args, _kwargs)
return val
def OnPreviousBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPreviousBookmark,(self,) + _args, _kwargs)
return val
def OnShowBookmarks(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnShowBookmarks,(self,) + _args, _kwargs)
return val
def SetCheckpoint(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCheckpoint,(self,) + _args, _kwargs)
return val
def CheckpointModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CheckpointModified,(self,) + _args, _kwargs)
return val
def CanCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCopy,(self,) + _args, _kwargs)
return val
def CanCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCut,(self,) + _args, _kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanPaste,(self,) + _args, _kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanUndo,(self,) + _args, _kwargs)
return val
def CanRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanRedo,(self,) + _args, _kwargs)
return val
def GetName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetName,(self,) + _args, _kwargs)
return val
def IsModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsModified,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetWindow,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def SetFileName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetFileName,(self,) + _args, _kwargs)
return val
def HoldCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_HoldCursor,(self,) + _args, _kwargs)
return val
def FindWordAtCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_FindWordAtCursor,(self,) + _args, _kwargs)
return val
def GetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCursorPos,(self,) + _args, _kwargs)
return val
def SetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCursorPos,(self,) + _args, _kwargs)
return val
def GetPagePos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetPagePos,(self,) + _args, _kwargs)
return val
def GetText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetText,(self,) + _args, _kwargs)
return val
def InsertText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_InsertText,(self,) + _args, _kwargs)
return val
def DeleteText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_DeleteText,(self,) + _args, _kwargs)
return val
def PositionToXY(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_PositionToXY,(self,) + _args, _kwargs)
return val
def GetSelectionRange(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetSelectionRange,(self,) + _args, _kwargs)
return val
def GetCharacterSize(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCharacterSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def IsUnixText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsUnixText,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxsLSEditorPlugin instance at %s>" % (self.this,)
class wxsLSEditorPlugin(wxsLSEditorPluginPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(lseditorc.new_wxsLSEditorPlugin,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,150 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: utils.i
// Purpose: SWIG definitions of various utility classes
//
// Author: Robin Dunn
//
// Created: 25-nov-1998
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module lseditor
%{
#include "helpers.h"
#include "lseditorpl.h"
%}
//---------------------------------------------------------------------------
%include typemaps.i
%include my_typemaps.i
%extern wx.i
%extern windows.i
%extern windows2.i
%extern windows3.i
%extern frames.i
%extern _defs.i
%extern misc.i
%extern gdi.i
%extern controls.i
%extern events.i
%{
#ifdef SEPARATE
wxString wxPyEmptyStr("");
#endif
%}
%pragma(python) code = "import wx"
//---------------------------------------------------------------------------
class wxsLSEditorPlugin
{
public:
wxsLSEditorPlugin();
~wxsLSEditorPlugin();
void Create( wxWindow* parent, wxWindowID id );
virtual void OnOpen( const char* fname );
virtual void OnSave( const char* fname );
virtual void OnCopy();
virtual void OnCut();
virtual void OnPaste();
virtual void OnDelete();
void OnUndo();
void OnRedo();
void SelectAll();
void OnGotoLine( int lineNo, int column = 0 );
void OnGotoLine();
void OnProperties();
void OnFind();
void OnFindNext();
void OnFindPrevious();
void OnReplace();
virtual void OnToggleBookmark();
virtual void OnNextBookmark();
virtual void OnPreviousBookmark();
virtual void OnShowBookmarks();
virtual void SetCheckpoint();
virtual bool CheckpointModified();
// UI-updates
bool CanCopy();
bool CanCut();
bool CanPaste();
bool CanUndo();
bool CanRedo();
// accesed by framework
virtual string GetName(){ return "Alex's Language Sensitive Editor"; }
virtual bool IsModified();
virtual wxWindow* GetWindow();
//virtual void GetAllText( char** ppBuf, size_t* length );
virtual void SetFileName( const char* fname );
virtual void HoldCursor( bool hold );
//virtual wxsPluginBase* Clone() { return new wxsLSEditorPlugin(); };
virtual string FindWordAtCursor();
virtual void GetCursorPos( int* line, int* column );
virtual void SetCursorPos( int line, int column );
virtual void GetPagePos( int* line, int* column );
virtual void GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length );
virtual void InsertText( int line, int column,
char* text, size_t lenght );
virtual void DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn );
virtual void PositionToXY( int line, int column, int* x, int* y );
virtual void GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn );
virtual wxSize GetCharacterSize();
virtual bool IsUnixText();
// some extras (just in case..)
//wxTextEditorModel& GetModel();
//wxTextEditorView& GetView();
};
//---------------------------------------------------------------------------
%init %{
wxClassInfo::CleanUpClasses();
wxClassInfo::InitializeClasses();
%}
//---------------------------------------------------------------------------

View File

@@ -1,2 +0,0 @@
EXPORTS
initlseditorc

View File

@@ -1,344 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: lseditorpl.cpp
// Purpose: Language-sensative editor plugin for wxStudio
// Copyright: (c) Aleksandars Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "lseditorpl.h"
#include "tdefs.h"
/***** Impelmentation for class wxsLSEditorPlugin *****/
wxsLSEditorPlugin::wxsLSEditorPlugin()
: mpModel( NULL ),
mpView( NULL )
{}
wxsLSEditorPlugin::~wxsLSEditorPlugin()
{
// view is destroyed by wxWindows along
// with it's owned model
}
void wxsLSEditorPlugin::Create( wxWindow* parent, wxWindowID id )
{
mpModel = new wxTextEditorModel();
mpView = new wxTextEditorView( parent, id, mpModel );
mpModel->AddView( mpView );
mpView->Activate();
mpView->AddPinPainter( new TBreakpointPainter() );
mpView->SyncScrollbars();
}
void wxsLSEditorPlugin::OnOpen( const string& fname )
{
mpModel->LoadTextFromFile( fname );
SetFileName( fname );
}
void wxsLSEditorPlugin::OnSave( const string& fname )
{
mpModel->SaveTextToFile( fname );
}
void wxsLSEditorPlugin::OnCopy()
{
mpModel->OnCopy();
}
void wxsLSEditorPlugin::OnCut()
{
mpModel->OnCut();
}
void wxsLSEditorPlugin::OnPaste()
{
mpModel->OnPaste();
}
void wxsLSEditorPlugin::OnDelete()
{
mpModel->OnDelete();
}
void wxsLSEditorPlugin::OnUndo()
{
mpModel->OnUndo();
}
void wxsLSEditorPlugin::OnRedo()
{
mpModel->OnRedo();
}
void wxsLSEditorPlugin::SelectAll()
{
mpModel->OnSelectAll();
}
void wxsLSEditorPlugin::OnGotoLine()
{
mpModel->OnGotoLine();
}
void wxsLSEditorPlugin::OnGotoLine( int lineNo, int column )
{
mpModel->ResetSelection();
mpModel->OnGotoLine( lineNo, column );
}
void wxsLSEditorPlugin::OnProperties()
{
// not impl.
}
void wxsLSEditorPlugin::OnFind()
{
mpModel->OnFind();
}
void wxsLSEditorPlugin::OnFindNext()
{
mpModel->OnFindNext();
}
void wxsLSEditorPlugin::OnFindPrevious()
{
mpModel->OnFindPrevious();
}
void wxsLSEditorPlugin::OnReplace()
{
// not impl.
}
void wxsLSEditorPlugin::OnToggleBookmark()
{
mpModel->OnToggleBookmark();
}
void wxsLSEditorPlugin::OnNextBookmark()
{
mpModel->OnNextBookmark();
}
void wxsLSEditorPlugin::OnPreviousBookmark()
{
mpModel->OnPreviousBookmark();
}
void wxsLSEditorPlugin::OnShowBookmarks()
{
// not impl.
}
void wxsLSEditorPlugin::SetCheckpoint()
{
mpModel->SetCheckpoint();
}
bool wxsLSEditorPlugin::CheckpointModified()
{
return mpModel->CheckpointModified();
}
// UI-updates
bool wxsLSEditorPlugin::CanCopy()
{
return mpModel->CanCopy();
}
bool wxsLSEditorPlugin::CanCut()
{
return mpModel->CanCopy();
}
bool wxsLSEditorPlugin::CanPaste()
{
return mpModel->CanPaste();
}
bool wxsLSEditorPlugin::CanUndo()
{
return mpModel->CanUndo();
}
bool wxsLSEditorPlugin::CanRedo()
{
return mpModel->CanRedo();
}
// accesed by framework
bool wxsLSEditorPlugin::IsModified()
{
return mpModel->IsModified();
}
wxWindow* wxsLSEditorPlugin::GetWindow()
{
return mpView;
}
void wxsLSEditorPlugin::GetAllText( char** ppBuf, size_t* length )
{
mpModel->GetAllText( ppBuf, *length );
}
void wxsLSEditorPlugin::SetFileName( const string& fname )
{
mFileName = fname;
if ( mpView )
mpView->SetName( fname );
}
void wxsLSEditorPlugin::HoldCursor( bool hold )
{
mpView->HoldCursor( hold );
}
string wxsLSEditorPlugin::FindWordAtCursor()
{
mpModel->OnSelectWord();
char* buf = NULL; size_t len = 0;
mpModel->GetSelection( &buf, len );
if ( buf )
{
string word = string( buf, 0, len );
delete [] buf;
return word;
}
else
return "";
}
void wxsLSEditorPlugin::GetCursorPos( int* line, int* column )
{
TPosition pos = mpModel->GetCursor();
*line = (int)pos.mRow;
*column = (int)pos.mCol;
}
void wxsLSEditorPlugin::SetCursorPos( int line, int column )
{
mpModel->OnGotoLine( line, column );
}
void wxsLSEditorPlugin::GetPagePos( int* line, int* column )
{
TPosition pos = mpView->GetPagePos();
*line = pos.mRow;
*column = pos.mCol;
}
void wxsLSEditorPlugin::GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length )
{
mpModel->GetTextFromRange( TPosition( fromLine, fromColumn ),
TPosition( tillLine, tillColumn ),
ppBuf, *length );
}
void wxsLSEditorPlugin::InsertText( int line, int column,
char* text, size_t lenght )
{
mpModel->InsertText( TPosition( line, column ),
text, lenght );
}
void wxsLSEditorPlugin::DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn )
{
mpModel->DeleteRange( TPosition( fromLine, fromColumn ),
TPosition( tillLine, tillColumn ) );
}
void wxsLSEditorPlugin::PositionToXY( int line, int column, int* x, int* y )
{
TPosition scrPos;
mpView->TextPosToScreenPos( TPosition( line, column ), scrPos );
mpView->ScreenPosToPixels( scrPos, *x, *y );
*y += mpView->mCharDim.y; // lower-right corner
}
void wxsLSEditorPlugin::GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn )
{
TPosition start = mpModel->GetStartOfSelection();
TPosition end = mpModel->GetEndOfSelection();
*fromLine = (int)start.mRow;
*fromColumn = (int)start.mCol;
*tillLine = (int)end.mRow;
*tillColumn = (int)end.mCol;
}
wxSize wxsLSEditorPlugin::GetCharacterSize()
{
return mpView->GetCharacterSize();
}
bool wxsLSEditorPlugin::IsUnixText()
{
return mpModel->IsUnixText();
}
wxTextEditorModel& wxsLSEditorPlugin::GetModel()
{
return *mpModel;
}
wxTextEditorView& wxsLSEditorPlugin::GetView()
{
return *mpView;
}

View File

@@ -1,133 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: nativeeditorpl.h
// Purpose: Language-sensative editor plugin for wxStudio
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
#ifndef __LSEDITORPL_G__
#define __LSEDITORPL_G__
#include "editorpl.h"
class wxTextEditorModel;
class wxTextEditorView;
class wxsLSEditorPlugin : public wxsSourceEditorPlugin
{
protected:
wxTextEditorModel* mpModel;
wxTextEditorView* mpView;
public:
wxsLSEditorPlugin();
~wxsLSEditorPlugin();
void Create( wxWindow* parent, wxWindowID id );
virtual void OnOpen( const string& fname );
virtual void OnSave( const string& fname );
virtual void OnCopy();
virtual void OnCut();
virtual void OnPaste();
virtual void OnDelete();
void OnUndo();
void OnRedo();
void SelectAll();
void OnGotoLine( int lineNo, int column = 0 );
void OnGotoLine();
void OnProperties();
void OnFind();
void OnFindNext();
void OnFindPrevious();
void OnReplace();
virtual void OnToggleBookmark();
virtual void OnNextBookmark();
virtual void OnPreviousBookmark();
virtual void OnShowBookmarks();
virtual void SetCheckpoint();
virtual bool CheckpointModified();
// UI-updates
bool CanCopy();
bool CanCut();
bool CanPaste();
bool CanUndo();
bool CanRedo();
// accesed by framework
virtual string GetName(){ return "Alex's Language Sensitive Editor"; }
virtual bool IsModified();
virtual wxWindow* GetWindow();
virtual void GetAllText( char** ppBuf, size_t* length );
virtual void SetFileName( const string& fname );
virtual void HoldCursor( bool hold );
virtual wxsPluginBase* Clone() { return new wxsLSEditorPlugin(); };
virtual string FindWordAtCursor();
virtual void GetCursorPos( int* line, int* column );
virtual void SetCursorPos( int line, int column );
virtual void GetPagePos( int* line, int* column );
virtual void GetText( int fromLine, int fromColumn,
int tillLine, int tillColumn,
char** ppBuf, size_t* length );
virtual void InsertText( int line, int column,
char* text, size_t lenght );
virtual void DeleteText( int fromLine, int fromColumn,
int tillLine, int tillColumn );
virtual void PositionToXY( int line, int column, int* x, int* y );
virtual void GetSelectionRange( int* fromLine, int* fromColumn,
int* tillLine, int* tillColumn );
virtual wxSize GetCharacterSize();
virtual bool IsUnixText();
// some extras (just in case..)
wxTextEditorModel& GetModel();
wxTextEditorView& GetView();
};
#endif
// __LSEDITORPL_G__

View File

@@ -1,46 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "markup.h"
static TagStructT htmlTags[] =
{
{ "<b>","</b>" }, // 0
{ "<i>","</i>" }, // 1
{ "<pre>","</pre>" }, // 2
{ "<font color=\"#000000\">","</font>" }, // 3
{ "<font color=\"#8F0000\">","</font>" }, // 4
{ "<font color=\"#008F00\">","</font>" }, // 5
{ "<font color=\"#0000CF\">","</font>" }, // 6
{ "<p>","</p>" }, // 7
{ "<br>","" }, // 8
{ "<h1>","</h1>" }, // 9
{ "<h2>","</h2>" }, // 10
{ "<h3>","</h3>" }, // 11
{ "<ul>","</ul>" }, // 12
{ "<li>","</li>" }, // 13
};
MarkupTagsT get_HTML_markup_tags()
{
return htmlTags;
}

View File

@@ -1,51 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
#ifndef __MARKUP_G__
#define __MARKUP_G__
// indicies for the MarkupTagsT array
#define TAG_BOLD 0
#define TAG_ITALIC 1
#define TAG_FIXED_FONT 2
#define TAG_BLACK_FONT 3
#define TAG_RED_FONT 4
#define TAG_GREEN_FONT 5
#define TAG_BLUE_FONT 6
#define TAG_PARAGRAPH 7
#define TAG_NEW_LINE 8
#define TAG_HEADING_1 9
#define TAG_HEADING_2 10
#define TAG_HEADING_3 11
#define TAG_ITEM_LIST 12
#define TAG_LIST_ITEM 13
struct TagStructT
{
char* start; // tag that starts style
char* end; // tag that finishes style
};
// tag array
typedef TagStructT* MarkupTagsT;
// returns array of TagStructT with tag strings for HTML
MarkupTagsT get_HTML_markup_tags();
// MarkupTagsT get_PostScript_markup_tags();
// MarkupTagsT get_Latex_markup_tags();
#endif

View File

@@ -1 +0,0 @@
*~

File diff suppressed because it is too large Load Diff

View File

@@ -1,189 +0,0 @@
# This file was created automatically by SWIG.
import lseditorc
from misc import *
from misc2 import *
from windows import *
from gdi import *
from events import *
from mdi import *
from frames import *
from stattool import *
from controls import *
from controls2 import *
from windows2 import *
from cmndlgs import *
from windows3 import *
from image import *
from printfw import *
import wx
class wxsLSEditorPluginPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,lseditorc=lseditorc):
if self.thisown == 1 :
lseditorc.delete_wxsLSEditorPlugin(self)
def Create(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_Create,(self,) + _args, _kwargs)
return val
def OnOpen(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnOpen,(self,) + _args, _kwargs)
return val
def OnSave(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnSave,(self,) + _args, _kwargs)
return val
def OnCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCopy,(self,) + _args, _kwargs)
return val
def OnCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnCut,(self,) + _args, _kwargs)
return val
def OnPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPaste,(self,) + _args, _kwargs)
return val
def OnDelete(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnDelete,(self,) + _args, _kwargs)
return val
def OnUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnUndo,(self,) + _args, _kwargs)
return val
def OnRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnRedo,(self,) + _args, _kwargs)
return val
def SelectAll(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SelectAll,(self,) + _args, _kwargs)
return val
def OnGotoLine(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnGotoLine,(self,) + _args, _kwargs)
return val
def OnProperties(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnProperties,(self,) + _args, _kwargs)
return val
def OnFind(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFind,(self,) + _args, _kwargs)
return val
def OnFindNext(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindNext,(self,) + _args, _kwargs)
return val
def OnFindPrevious(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnFindPrevious,(self,) + _args, _kwargs)
return val
def OnReplace(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnReplace,(self,) + _args, _kwargs)
return val
def OnToggleBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnToggleBookmark,(self,) + _args, _kwargs)
return val
def OnNextBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnNextBookmark,(self,) + _args, _kwargs)
return val
def OnPreviousBookmark(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnPreviousBookmark,(self,) + _args, _kwargs)
return val
def OnShowBookmarks(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_OnShowBookmarks,(self,) + _args, _kwargs)
return val
def SetCheckpoint(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCheckpoint,(self,) + _args, _kwargs)
return val
def CheckpointModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CheckpointModified,(self,) + _args, _kwargs)
return val
def CanCopy(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCopy,(self,) + _args, _kwargs)
return val
def CanCut(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanCut,(self,) + _args, _kwargs)
return val
def CanPaste(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanPaste,(self,) + _args, _kwargs)
return val
def CanUndo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanUndo,(self,) + _args, _kwargs)
return val
def CanRedo(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_CanRedo,(self,) + _args, _kwargs)
return val
def GetName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetName,(self,) + _args, _kwargs)
return val
def IsModified(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsModified,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetWindow,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def SetFileName(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetFileName,(self,) + _args, _kwargs)
return val
def HoldCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_HoldCursor,(self,) + _args, _kwargs)
return val
def FindWordAtCursor(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_FindWordAtCursor,(self,) + _args, _kwargs)
return val
def GetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCursorPos,(self,) + _args, _kwargs)
return val
def SetCursorPos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_SetCursorPos,(self,) + _args, _kwargs)
return val
def GetPagePos(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetPagePos,(self,) + _args, _kwargs)
return val
def GetText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetText,(self,) + _args, _kwargs)
return val
def InsertText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_InsertText,(self,) + _args, _kwargs)
return val
def DeleteText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_DeleteText,(self,) + _args, _kwargs)
return val
def PositionToXY(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_PositionToXY,(self,) + _args, _kwargs)
return val
def GetSelectionRange(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetSelectionRange,(self,) + _args, _kwargs)
return val
def GetCharacterSize(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_GetCharacterSize,(self,) + _args, _kwargs)
if val: val = wxSizePtr(val) ; val.thisown = 1
return val
def IsUnixText(self, *_args, **_kwargs):
val = apply(lseditorc.wxsLSEditorPlugin_IsUnixText,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxsLSEditorPlugin instance at %s>" % (self.this,)
class wxsLSEditorPlugin(wxsLSEditorPluginPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(lseditorc.new_wxsLSEditorPlugin,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,58 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wxsplbase.cpp
// Purpose: General interfaces for all plug-ins in wxStudio
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleksandars Gluchovas
// Licence: GNU General Public License wxWindows licence v2.0
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "plugin.h"
/***** Implementation for class wxStudioPluginManager *****/
void wxsPluginManager::RegisterMenuCommand( const wxString& itemName,
const wxString& menuName,
int id,
wxsPluginBase* forPlugin )
{
// TBD::
}
void wxsPluginManager::UnregisterPlugin( wxsPluginBase* plugin )
{
// TBD::
}
/***** Implementation for class wxStudioPluginBase *****/
wxsPluginBase::wxsPluginBase()
{}
wxsPluginBase::~wxsPluginBase()
{}
wxsPluginManager& wxsPluginBase::GetPluginManager()
{
wxASSERT( mpPluginMgr );
return *mpPluginMgr;
}
void wxsPluginBase::SetPluginManager( wxsPluginManager* pMgr )
{
mpPluginMgr = pMgr;
}

View File

@@ -1,98 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: wxsplbase.h
// Purpose: General interfaces for all plug-ins in wxStudio
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 11/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License wxWindows licence v2.0
/////////////////////////////////////////////////////////////////////////////
#ifndef __PLUGIN_G__
#define __PLUGIN_G__
#include "wxstldefs.h"
#include "wxsdefs.h"
class wxsPluginBase;
typedef wxsPluginBase* wxsPluginBasePtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsPluginBasePtrT> wxsPluginListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY(wxsPluginBasePtrT) wxsPluginListT;
#endif
class wxsPluginManager : public wxObject
{
public:
wxsPluginListT& GetPlugins();
// allows to present plugin-specific features
// as items in the menu-bar
void RegisterMenuCommand( const string& itemName,
const string& menuName,
int id,
wxsPluginBase* forPlugin );
// should be called by plugin, when it's being destroyed
void UnregisterPlugin( wxsPluginBase* plugin );
};
// Used by create settings panel:
enum {
WXS_SETTINGS_GLOBAL,
WXS_SETTINGS_PROJECT
};
class wxsPluginBase : public wxObject
{
protected:
wxsPluginManager* mpPluginMgr;
public:
wxsPluginBase();
virtual ~wxsPluginBase();
virtual void InitPlugin() {}
// utilities
wxsPluginManager& GetPluginManager();
void SetPluginManager( wxsPluginManager* mgr );
// overridables
// Current Types = UNKNOWN,EDITOR,CLASSBROWSER,FILEBROWSER,CLASSINFO,TOOL
virtual WXS_PLUGIN_TYPE GetType() = 0;
virtual string GetCategory() = 0;
virtual string GetName() = 0;
// will return a help panel
virtual wxWindow* CreateSettingsPanel(wxWindow *parent, int type) {return NULL;}
virtual wxsPluginBase* Clone() = 0;
virtual string Command( const string& name, const string& args )
{ return "NO_SUPPORTED"; }
};
// base clas for all plugins which are presented as windows
class wxsComponent : public wxsPluginBase
{
public:
virtual void Create( wxWindow* parent, wxWindowID id ) = 0;
virtual wxWindow* GetWindow() = 0;
};
#endif
// __PLUGIN_G__

View File

@@ -1,696 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleksandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
#include "config.h"
#if defined( wxUSE_TEMPLATE_STL )
#include <map>
using namespace std;
#else
#include <wxstlac.h>
#endif
#include "sourcepainter.h"
const int MAX_KEYWORD_LEN = 16;
struct KeywordT
{
char keyWord[MAX_KEYWORD_LEN];
int rank;
};
// source fragment ranks :
// 0 - nomral text
// 1 - basic types
// 2 - reserved words
// multil-language keywords map
static KeywordT __gKeyWords[] =
{
{ "for", 1 },
{ "FOR", 1 },
{ "For", 1 },
{ "next", 1 },
{ "Next", 1 },
{ "NEXT", 1 },
{ "if", 1 },
{ "If", 1 },
{ "IF", 1 },
{ "then", 1 },
{ "Then", 1 },
{ "THEN", 1 },
{ "else", 1 },
{ "Else", 1 },
{ "ELSE", 1 },
{ "do", 1 },
{ "Do", 1 },
{ "DO", 1 },
{ "break", 1 },
{ "Break", 1 },
{ "BREAK", 1 },
{ "continue", 1 },
{ "goto", 1 },
{ "Goto", 1 },
{ "GOTO", 1 },
{ "switch", 1 },
{ "default", 1 },
{ "case", 1 },
{ "repeat", 1 },
{ "Repeat", 1 },
{ "REPEAT", 1 },
{ "until", 1 },
{ "Until", 1 },
{ "UNTIL", 1 },
{ "return", 1 },
{ "Return", 1 },
{ "RETURN", 1 },
{ "unit", 1 },
{ "Unit", 1 },
{ "UNIT", 1 },
{ "procedure", 1 },
{ "Procedure", 1 },
{ "PROCEDURE", 1 },
{ "function", 1 },
{ "Function", 1 },
{ "FUNCTION", 1 },
{ "begin", 1 },
{ "Begin", 1 },
{ "BEGIN", 1 },
{ "End", 1 },
{ "END", 1 },
////////////////////////////////////////////////////
{ "enum", 1 },
{ "static", 1 },
{ "const", 1 },
{ "mutable", 1 },
{ "volatile", 1 },
{ "__asm", 1 },
{ "asm", 1 },
{ "typeid", 1 },
{ "sizeof", 1 },
{ "typeof", 1 },
{ "native", 1 },
{ "#include", 1 },
{ "#define", 1 },
{ "#def", 1 },
{ "#undef", 1 },
{ "#ifdef", 1 },
{ "#ifndef", 1 },
{ "#if", 1 },
{ "#endif", 1 },
{ "#elif", 1 },
{ "#else", 1 },
{ "#pragma", 1 },
{ "#line", 1 },
{ "package", 1 },
{ "import", 1 },
{ "export", 1 },
////////////////////////////////////////////////////
{ "dynamic_cast", 1 },
{ "const_cast", 1 },
//////// some hacks for VB /////////
{ "sub", 1 },
{ "Sub", 1 },
{ "SUB", 1 },
{ "as", 1 },
{ "As", 1 },
{ "AS", 1 },
/////// data types ///////
{ "int" , 1 },
{ "integer", 1 },
{ "Integer", 1 },
{ "INTEGER", 1 },
{ "real", 1 },
{ "Real", 1 },
{ "REAL", 1 },
{ "float", 1 },
{ "Float", 1 },
{ "FLOAT", 1 },
{ "char", 1 },
{ "Char", 1 },
{ "CHAR", 1 },
{ "register", 1 },
{ "string", 1 },
{ "String", 1 },
{ "STRING", 1 },
{ "array", 1 },
{ "Array", 1 },
{ "ARRAY", 1 },
{ "packed", 1 },
{ "Packed", 1 },
{ "PACKED", 1 },
{ "property", 1 },
{ "Property", 1 },
{ "PROPERTY", 1 },
{ "unsigned", 1 },
{ "long", 1 },
{ "double", 1 },
{ "short", 1 },
{ "bool", 1 },
{ "longint", 1 },
{ "Longint", 1 },
{ "LONGINT", 1 },
{ "extended", 1 },
{ "Extended", 1 },
{ "EXTENTED", 1 },
{ "pointer", 1 },
{ "Pointer", 1 },
{ "POINTER", 1 },
{ "and", 1 },
{ "And", 1 },
{ "AND", 1 },
{ "or", 1 },
{ "Or", 1 },
{ "OR", 1 },
{ "xor", 1 },
{ "Xor", 1 },
{ "XOR", 1 },
{ "void", 1 },
{ "__stdcall", 1 },
{ "__declspec", 1 },
{ "extern", 1 },
{ "stdcall", 1 },
{ "dllimport", 1 },
{ "dllexport", 1 },
{ "__cdecl", 1 },
{ "cdecl", 1 },
{ "template", 1 },
{ "typedef", 1 },
{ "naked", 1 },
{ "try", 1 },
{ "catch", 1 },
{ "throw", 2 }, // C++
{ "throws", 1 }, // Java
{ "finalize", 1 },
// "STL-suport"
{ "size_t", 1 },
{ "NPOS", 1 },
{ "vector", 1 },
{ "list", 1 },
{ "map", 1 },
{ "multimap", 1 },
{ "external", 1 },
{ "External", 1 },
{ "EXTERNAL", 1 },
//////////// meta-information //////////////
{ "virtual", 2 },
{ "Virtual", 2 },
{ "override", 2 },
{ "Override", 2 },
{ "class", 2 },
{ "Class", 2 },
{ "CLASS", 2 },
{ "struct", 2 },
{ "union", 2 },
{ "record", 2 },
{ "Record", 2 },
{ "RECORD", 2 },
{ "form", 1 },
{ "Form", 1 },
{ "FORM", 1 },
{ "namespace", 2 },
{ "interface" , 2 },
{ "abstract", 2 },
{ "Interface" , 2 },
{ "INTERFACE" , 2 },
{ "implementation", 2 },
{ "Implementation", 2 },
{ "IMPLEMENTATION", 2 },
{ "label", 2 },
{ "Label", 2 },
{ "LABEL", 2 },
{ "implements", 2 },
{ "extends", 2 },
{ "public", 2 },
{ "private", 2 },
{ "protected", 2 },
{ "this", 1 },
{ "This", 1 },
{ "THIS", 1 },
{ "new", 1 },
{ "New", 1 },
{ "NEW", 1 },
{ "delete", 2 },
{ "inline", 2 },
{ "operator", 1 },
{ "Inherited", 2 },
{ "Inherited", 2 },
{ "final", 2 },
{ "implements", 2 },
{ "super", 2 },
// even more...
{ "java", 2 },
{ "Java", 2 },
{ "JAVA", 2 },
{ "delphi", 2 },
{ "Delphi", 2 },
{ "SmallTalk", 2 },
{ "Smalltalk", 2 },
{ "smalltalk", 2 },
{ "assembler", 2 },
{ "Assembler", 2 },
{ "Basic", 2 },
{ "BASIC", 2 },
{ "basic", 2 },
{ "CORBA", 2 },
{ "COBOL", 2 },
{ "ADA", 2 },
{ "LISP", 2 },
// just for fun...
{ "life", 2 },
{ "sucks", 2 },
{ "rules", 2 },
{ "Quake", 2 },
{ "QuakeWorld", 2 },
{ "[ag_slammer]",2 },
{ "Aleksandras", 2 },
{ "Gluchovas" , 2 },
{ "Alex", 2 },
{ "alex", 2 },
{ "aleks", 2 },
{ "aleksas", 3 },
{ "AlexSoft", 2 },
{ "Alexsoft", 2 },
{ "SpringSky", 2 },
{ "SK_Team", 2 },
{ "soften", 2 },
{ "UB40", 2 },
{ "U96", 2 }
};
struct less_c_str
{
inline bool operator()( char* x, char* y) const
{ return ( strcmp( x,y ) < 0 );
}
};
#if defined( wxUSE_TEMPLATE_STL )
typedef map< char*, char*, less_c_str > KeywordMapT;
#else
typedef char* CharPtrT;
typedef WXSTL_MAP( CharPtrT, CharPtrT ,less_c_str) KeywordMapT;
#endif
static KeywordMapT __gMultiLangMap;
static int __gMapReady = 0;
void check_keyword_map( int keywordMapNr )
{
if ( !__gMapReady )
{
__gMapReady = 1;
// "make sure" the address of the first member of non-polimorphic class
// coinsides with the address of the instance
KeywordT dummy;
if ( (char*)& dummy != &dummy.keyWord[0] )
throw;
int size = sizeof(__gKeyWords) / sizeof( KeywordT );
for( int i = 0; i != size; ++i )
__gMultiLangMap.insert(
KeywordMapT::value_type( (char*)&__gKeyWords[i],
(char*)&__gKeyWords[i]
)
);
}
}
int get_rank( char* start, char* end )
{
// FIXME:: what if end is no longer leagal adress?
char tmp = *end;
*end = '\0'; // put temporary terminator
KeywordMapT::iterator i;
if ( (i = __gMultiLangMap.find( start ) ) != __gMultiLangMap.end() )
{
KeywordT* pKey = (KeywordT*)(*i).second;
*end = tmp;
return pKey->rank;
}
else
{
*end = tmp;
return 0;
}
}
static inline void store_range( IntListT& results, int rank, int range_len )
{
if ( !range_len ) return;
results.push_back ( ( rank << 16 ) | ( range_len ) );
}
#define STORE_RANGE store_range( results, cur_rank, cur_range_len );\
cur_rank = cur_range_len = 0;
#define NEXT_CHAR cur_range_len++; \
++cur; \
continue;
static inline int is_alpha( char ch )
{
return ( (( ch >= '_' ) && ( ch <= 'z' )) ||
(( ch >= 'A' ) && ( ch <= 'Z' ))
);
}
// _ . .
// Ziema atEjo netikEtai
static void heighlight_syntax( char* str, int strLen,
IntListT& results, bool& isComment )
{
bool isMultiline = 0;
char* cur = str;
char* end = str + strLen;
int cur_rank = ( isComment == 1 ) ? RANK_GREEN : RANK_BLACK;
int cur_range_len = 0;
while ( cur != end )
{
int has_next = ( cur+1 != end );
if ( isComment )
{
if ( *cur == '*' )
if ( has_next && *(cur+1) == '/' )
{
// turn off multiline comment mode
cur += 2;
cur_range_len += 2;
isComment = 0;
isMultiline = 0;
STORE_RANGE;
continue;
}
++cur_range_len;
++cur;
continue;
}
/*
if ( *cur == 10 )
if ( isComment )
if ( isMultiline )
{
cur_rank = RANK_GREEN;
cur_range_len = end - cur;
STORE_RANGE;
isComment = 0;
isMultiline = 0;
continue;
}*/
if ( *cur == '/' )
{
if ( has_next )
{
if ( *(cur+1) == '/' )
{
STORE_RANGE;
char* eol = cur;
while ( eol < end && *eol != 10 )
++eol;
cur_rank = RANK_GREEN;
cur_range_len = eol - cur;
cur = eol;
STORE_RANGE;
continue;
}
if ( *(cur+1) == '*' )
{
STORE_RANGE;
cur_rank = RANK_GREEN;
cur_range_len = 2;
isComment = 1;
cur += 2;
isMultiline = 1;
continue;
}
}
NEXT_CHAR;
}
if ( ( is_alpha( *cur ) || *(cur) == '#' )
&& has_next
)
{
if ( is_alpha( *(cur+1) ) )
{
char* start = cur;
cur += 2;
while ( cur != end && is_alpha(*cur) ) ++cur;
int wordRank;
if ( (wordRank = get_rank( start, cur )) > 0 )
{
STORE_RANGE;
store_range( results, wordRank, int(cur-start) );
cur_rank = cur_range_len = 0;
continue;
}
cur_range_len += ( cur-start );
continue;
}
else
NEXT_CHAR;
}
NEXT_CHAR;
}
if ( cur_range_len > 0 ) STORE_RANGE;
}
/***** Implementation for class SourcePainter ******/
SourcePainter::SourcePainter( bool assembleResultString )
: mCollectResultsOn( assembleResultString ),
mIsInComment( FALSE ),
mCommentIsMultiline( FALSE )
{
check_keyword_map(0);
}
void SourcePainter::ProcessSource( char* src, int srcLen )
{
// TBD:: multilne state...
heighlight_syntax( src, srcLen, mBlocks, mIsInComment );
if ( mCollectResultsOn )
mResultStr += string( src, srcLen );
}
void SourcePainter::SetState( bool isInComment,
bool commentIsMultiline )
{
mIsInComment = isInComment;
mCommentIsMultiline = commentIsMultiline;
}
void SourcePainter::Init(bool assembleResultString)
{
mIsInComment = 0;
mCommentIsMultiline = 0;
mCollectResultsOn = assembleResultString;
mResultStr = "";
mBlocks.erase( mBlocks.begin(), mBlocks.end() );
}
static int rank_tags_map[] =
{
TAG_BLACK_FONT,
TAG_BLUE_FONT,
TAG_RED_FONT,
TAG_GREEN_FONT
};
void SourcePainter::GetResultString(string& result, MarkupTagsT tags)
{
// this method works, only if results of processing
// are collected
ASSERT( mCollectResultsOn );
result = "";
int pos = 0;
for( size_t i = 0; i != mBlocks.size(); ++i )
{
int desc = mBlocks[i];
int len = desc & 0xFFFF;
int rank = (desc >> 16) & 0xFFFF;
result += tags[ rank_tags_map[rank] ].start;
for( int n = 0; n != len; ++n )
result += mResultStr[pos+n];
pos += len;
result += tags[ rank_tags_map[rank] ].end;
}
}
IntListT& SourcePainter::GetBlocks()
{
return mBlocks;
}
bool SourcePainter::IsKeyword( char* word, int wordLen )
{
check_keyword_map(0);
int rank = get_rank( word, word + wordLen );
return ( rank == RANK_BLUE || rank == RANK_RED );
}

View File

@@ -1,109 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 22/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
#ifndef __SOURCEPAINTER_G__
#define __SOURCEPAINTER_G__
#ifndef ASSERT
#define ASSERT(x) if (!(x)) throw
#endif
#include "wxstldefs.h"
#include "markup.h" // import MarkupTagsT definition
// "colored" codes for highlighted blocks
#define RANK_BLACK 0 // common source fragments
#define RANK_BLUE 1 // basic types
#define RANK_RED 2 // reserved words
#define RANK_GREEN 3 // comments
// colored block description format :
// int( ( rank << 16 ) | ( source_range_len ) )
inline int get_src_block_rank( int block )
{
return (block >> 16) & 0xFFFF;
}
inline int get_src_block_len( int block )
{
return block & 0xFFFF;
}
// FOR NOW:: no lagnguage-map selection
// source code syntax heighlighter (CPP+JAVA+VB+PASCAL)
class SourcePainter
{
protected:
string mResultStr;
IntListT mBlocks;
bool mCollectResultsOn;
// state variables
bool mIsInComment;
bool mCommentIsMultiline;
public:
// assembleResultString == TRUE - instructs painter
// to collect each chunk of srouce passed to ProcessSource(),
// so that results cann be futher obtained in a single string
// instead of vector of block descriptions
SourcePainter( bool assembleResultString = TRUE );
virtual ~SourcePainter() {}
// can be called multiple times (e.g. on each source line)
virtual void ProcessSource( char* src, int srcLen );
// method, for manually adjusting state of source painter
virtual void SetState( bool isInComment,
bool commentIsMultiline );
// reinitializes object - clears results of previouse processing
virtual void Init( bool assembleResultString = TRUE );
// generates string of highlighted source for the scipting
// language given by "tags" argument
virtual void GetResultString(string& result, MarkupTagsT tags);
// returns vector of block descriptors, see IntListT definition
// (block descriptors can be used for fast custom hightlighted text generation)
virtual IntListT& GetBlocks();
// NOTE:: static method
// returns if the given word is a reserved word or basic type identifier
static bool IsKeyword( char* word, int wordLen );
};
#endif

File diff suppressed because it is too large Load Diff

View File

@@ -1,903 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 03/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
/////////////////////////////////////////////////////////////////////////////
#ifndef __TDEFS_G__
#define __TDEFS_G__
// should be compiled with wxSTL-v.1.2 (or higher)
#include "wxstldefs.h"
#if defined( wxUSE_TEMPLATE_STL )
#include <vector>
#include <list>
#else
#include "wxstlvec.h"
#include "wxstllst.h"
#endif
#include "wx/window.h"
#include "wx/scrolbar.h"
#include "sourcepainter.h"
#define NPOS ((size_t)(-1))
class wxTextEditorModel;
class wxTextEditorView;
/*
* class represents column-row position in the source text,
* may refere to the column past the end-of-line,
* but should not point past the last-line in the text
*/
class TPosition
{
public:
size_t mRow;
size_t mCol;
inline TPosition() : mRow(0), mCol(0) {}
inline TPosition( size_t row, size_t col )
: mRow( row ), mCol( col ) {}
inline bool operator>( const TPosition& rhs ) const
{
if ( mRow == rhs.mRow ) return mCol > rhs.mCol;
else
return mRow > rhs.mRow;
}
inline bool operator<( const TPosition& rhs ) const
{
if ( mRow == rhs.mRow ) return mCol < rhs.mCol;
else
return mRow < rhs.mRow;
}
};
class TRange
{
public:
TPosition mFrom;
TPosition mTill;
TRange() {}
TRange( const TPosition& from, const TPosition& till )
: mFrom( from ), mTill( till )
{}
};
inline bool operator==( const TPosition& lhs, const TPosition& rhs )
{
return lhs.mRow == rhs.mRow && lhs.mCol == rhs.mCol;
}
// FOR NOW:: bigger ones...
#define MAX_BLOCK_LEN (1024*164)
#define BALANCED_BLOCK_LEN (1024*152)
#define FILLED_BLOCK_LEN (1024*148)
// FOR NOW::
#define T_ASSERT( x ) if ( !(x) ) throw;
// to speed up debug v. :
#define is_eol_char( ch ) ( ch == (char)10 )
#define is_DOS_eol_char( ch ) ( ch == (char)13 )
// the target-platfrom eol-marking is selected when
// new text document is created or auto-detection
// failed to determine the text-format (e.g. no EOLs found at all)
#if defined(__WINDOWS__) || defined(__WXMSW__)
#define IS_UNIX_TEXT_BY_DEFAULT FALSE
#else
#define IS_UNIX_TEXT_BY_DEFAULT TRUE
#endif
//inline bool is_eol_char( char ch ) { return ch == 10 && ch == 13 ; }
/*
* Class contains single fragment of the source text, which
* may grow or shrink in the process of editing. Blocks always
* start at the begining of the line and end at eol, i.e. lines
* are not broken among blocks
*/
class TBlock
{
public:
char mBuf[MAX_BLOCK_LEN];
size_t mTextLen;
size_t mRowCount;
TBlock() : mTextLen(0), mRowCount(0) { mBuf[0] = '\0'; }
void RecalcBlockProperties();
bool operator==( const TBlock& blk ) const { return this == &blk; }
bool operator!=( const TBlock& blk ) const { return this != &blk; }
bool operator<( const TBlock& blk ) const { return TRUE; }
bool operator>( const TBlock& blk ) const { return FALSE; }
};
/*
* captures info about mutable command
*/
class TCommand
{
public:
TCommand() : mType(-1) {}
TCommand( int type ) : mType( type ) {}
~TCommand() {}
int mType;
char* mData;
size_t mDataLen;
TRange mRange;
// positions of cursor before and after executions of this command
TPosition mPrePos;
TPosition mPostPos;
};
enum TEXT_EDITOR_COMMAND
{
TCMD_INSERT,
TCMD_DELETE
};
enum TEXT_CHANGE_TYPE
{
CT_MODIFIED,
CT_DELETED,
CT_INSERTED
};
class wxTextEditorView;
// STL-list is used for managing blocks, since it's alg. collects
// removed elements into a free-list, from which they
// can be reclaimed later, that way heap-fragmentation may be reduced
#if defined( wxUSE_TEMPLATE_STL )
typedef list<TBlock> TBlockListT;
typedef vector<TCommand*> TCommandListT;
typedef vector<wxTextEditorView*> TextViewListT;
#else
typedef WXSTL_LIST( TBlock ) TBlockListT;
typedef TCommand* TCommandPtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TCommandPtrT ) TCommandListT;
typedef wxTextEditorView* TextViewPtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TextViewPtrT ) TextViewListT;
#endif
typedef TBlockListT::iterator TBlockIteratorT;
/*
* class shields the higher-level operations from direct access
* to blocks of fragmented in-memory buffers
*/
class TTextIterator
{
public:
TBlockIteratorT mBlockIter;
TBlockIteratorT mEndOfListIter;
TPosition mPos;
size_t mActualRow;
size_t mFirstRowInBlock;
char* mpCurRowStart;
bool mIsEof;
public:
TTextIterator();
char GetChar();
bool IsEol();
bool IsEof();
bool IsLastLine();
int GetDistFromEol();
void NextChar();
void PreviousChar();
void NextWord();
void PreviousWord();
void ToEndOfLine();
void ToStartOfLine();
bool IsInLastBlock();
// accesors
size_t GetLineLen();
TPosition GetPosition();
char* GetClosestPos();
char* GotoClosestPos();
inline char* GetBlockStart() { return (*mBlockIter).mBuf; }
inline char* GetBlockEnd() { return (*mBlockIter).mBuf + (*mBlockIter).mTextLen; }
bool DetectUnixText();
// adjust this member to add specific separators,
// the default value is : ",.()[]\t\\+-*/|=<>:;\t\n~?!%"
static string mSeparators;
static bool IsSeparator( char ch );
};
class wxTextEditorModel;
class TTextChangeListenerBase
{
public:
virtual void OnTextChanged( wxTextEditorModel* pModel, size_t atRow, size_t nRows, TEXT_CHANGE_TYPE ct ) = 0;
};
class TCppJavaHighlightListener : public TTextChangeListenerBase
{
protected:
wxTextEditorModel* mpModel; // is set up temporarely
enum { IN_COMMENT_STATE, OUT_OF_COMMENT_STATE };
public:
virtual void OnTextChanged( wxTextEditorModel* pModel, size_t atRow, size_t nRows, TEXT_CHANGE_TYPE ct );
};
/*
* Base class for user-defined "bookmarks" within the source-text, bookmarks
* are automatically repositioned or deleted as the text is edited. Class
* can be subclassed to add pin-specific data (e.g. breakpoint information)
*/
class TPinBase
{
public:
int mTypeCode;
size_t mRow;
public:
TPinBase()
: mTypeCode(-1), mRow(NPOS) {}
TPinBase( int typeCode, size_t row )
: mTypeCode( typeCode ), mRow( row ) {}
size_t GetRow() { return mRow; }
int GetTypeCode() { return mTypeCode; }
virtual ~TPinBase() {}
};
// "recommened" type-code ranges for custom pins
#define HIHGLIGHTING_PINS_TC_STARRT 50
#define OTHER_PINS_TC_START 100
inline bool operator<( const TPinBase& lhs, TPinBase& rhs )
{ return lhs.mRow < rhs.mRow; }
#if defined( wxUSE_TEMPLATE_STL )
typedef vector<TPinBase*> PinListT;
typedef vector<TTextChangeListenerBase*> ChangeListenerListT;
#else
typedef TPinBase* TPinBasePtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TPinBasePtrT ) PinListT;
typedef TTextChangeListenerBase* TTextChangeListenerBasePtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TTextChangeListenerBasePtrT ) ChangeListenerListT;
#endif
/* OLD STUFF::
struct TPinBaseCompareFunctor
{
inline int operator()(const TPinBasePtrT* x, const TPinBasePtrT*& y ) const
{
return x->mLine < y->mLine;
}
};
typedef WXSTL_MULTIMAP( TPinBasePtrT, TPinBasePtrT, TPinBaseCompareFunctor ) PinMapT;
typedef PinMapT::iterator PinIteratorT;
*/
/*
* Class manages access and manpulation of in-memory text. Can
* be accessed by multiple views, only one of which can be active
* at a time.
*/
class wxTextEditorModel
{
protected:
TBlockListT mBlocks;
TCommandListT mCommands;
size_t mCurCommand;
TextViewListT mViews;
wxTextEditorView* mpActiveView;
PinListT mPins;
bool mIsUnixText;
ChangeListenerListT mChangeListeners;
public:
/*** public properties ***/
bool mTextChanged;
size_t mChangedFromRow;
size_t mChangedTillRow;
bool mWasChanged; // TRUE, if any content has been changed
TPosition mCursorPos;
TPosition mPrevSelectionStart;
TPosition mPrevSelectionEnd;
TPosition mPrevCursorPos;
TPosition mSelectionStart;
TPosition mSelectionEnd;
size_t mRowsPerPage;
bool mIsReadOnly; // default: FALSE
bool mIsModified;
bool mInsertMode; // default: TRUE
bool mAutoIndentMode; // default: TRUE
bool mSmartIndentMode; // default: TRUE
bool mIsSelectionEditMode; // default: TRUE
size_t mTabSize; // default: 4
StrListT mSearchExprList;
string mLastFindExpr;
bool mCheckPointDestroyed;
size_t mCheckPointCmdNo;
protected:
size_t GetLineCountInRange( char* from, char* till );
// two lowest-level operations
void DoInsertText ( const TPosition& pos, char* text, size_t len, TRange& actualRange );
void DoDeleteRange( const TPosition& from, const TPosition& till, TRange& actualRange );
void DoExecuteNewCommand( TCommand& cmd );
void DoReexecuteCommand( TCommand& cmd );
void DoUnexecuteCommand( TCommand& cmd );
void ExecuteCommand( TCommand* pCmd );
// to methods enabling grouping of undo-able commands
bool CanPrependCommand( TCommand* pCmd );
void PrependCommand( TCommand* pCmd );
void SetPostPos( const TPosition& pos );
void UndoImpl();
void RedoImpl();
void StartBatch();
void FinishBatch();
void CheckSelection();
void TrackSelection();
void NotifyView();
void NotifyAllViews();
void NotifyTextChanged( size_t atRow, size_t nRows, TEXT_CHANGE_TYPE ct );
void NotifyTextChanged( TPosition from, TPosition till, TEXT_CHANGE_TYPE ct );
void ArrangePositions( TPosition& upper, TPosition& lower );
void ArrangePositions( size_t& upper, size_t& lower );
void MergeChange( size_t fromRow, size_t nRows );
void PrepreForCommand();
size_t TextToScrColumn( const TPosition& pos );
size_t ScrToTextColumn( TPosition pos );
void DoMoveCursor( int rows, int cols );
public:
wxTextEditorModel();
virtual ~wxTextEditorModel();
// utilities
char* AllocCharacters( size_t n );
char* AllocCharacters( size_t n, const char* srcBuf );
void FreeCharacters( char* buf );
void DeleteSelection();
TTextIterator CreateIterator( const TPosition& pos );
void DeleteRange( const TPosition& from, const TPosition& till );
void InsertText( const TPosition& pos, const char* text, size_t len );
void GetTextFromRange( const TPosition& from, const TPosition& till, char** text, size_t& textLen );
void LoadTextFromFile( const wxString& fname );
void SaveTextToFile( const wxString& fname );
void ResetSelection();
void ClearUndoBuffer();
void DeleteAllText();
void GetAllText( char** text, size_t& textLen );
void SetSelectionEditMode( bool editIsOn );
/*** user-level commands ***/
// mutable (undoable) commands
void OnInsertChar( char ch );
void OnDelete();
void OnDeleteBack();
void OnDeleteLine();
void OnShiftSelectionIndent( bool left );
// clipboard functions
void OnCopy();
void OnPaste();
void OnCut();
bool CanCopy();
bool CanPaste();
// undo-redo
bool CanUndo();
bool CanRedo();
void OnUndo();
void OnRedo();
// imutable commands
void OnMoveLeft();
void OnMoveRight();
void OnMoveUp();
void OnMoveDown();
void OnWordLeft();
void OnWordRight();
void OnMoveToPosition( const TPosition& pos );
void OnEndOfLine();
void OnStartOfLine();
void OnPageUp();
void OnPageDown();
void OnSlideUp();
void OnSlideDown();
void OnStartOfText();
void OnEndOfText();
void OnSelectWord();
void OnSelectAll();
// bookmarks
void OnToggleBookmark();
void OnNextBookmark();
void OnPreviousBookmark();
// search
bool OnFind();
bool OnFindNext();
bool OnFindPrevious();
void OnGotoLine( int line, int col );
void OnGotoLine();
// status
bool IsReadOnly();
bool IsModified();
bool IsInsertMode();
// check-pointin
void SetCheckpoint();
bool CheckpointModified();
// accessors
TPosition GetStartOfSelection();
TPosition GetEndOfSelection();
TPosition GetCursor();
size_t GetTotalRowCount();
bool SelectionIsEmpty();
bool IsLastLine( const TPosition& pos );
bool IsUnixText() { return mIsUnixText; }
void GetSelection( char** text, size_t& textLen );
void SetStartOfSelection( const TPosition& pos );
void SetEndOfSelection( const TPosition& pos );
void SetCursor( const TPosition& pos );
void AddView( wxTextEditorView* pView );
void RemoveView( wxTextEditorView* pView );
void SetActiveView( wxTextEditorView* pView );
wxTextEditorView* GetActiveView();
void SetRowsPerPage( size_t n );
void AddPin( TPinBase* pPin );
PinListT& GetPins();
// returns NPOS, if non
size_t FindFirstPinInRange( size_t fromRow, size_t tillRow );
size_t FindNextPinFrom( size_t fromRow );
size_t FindPreviousPinFrom( size_t fromRow );
size_t GetPinNoAt( size_t row, int pinTypeCode );
TPinBase* GetPinAt( size_t row, int pinTypeCode );
void RemovePinAt( size_t row, int pinTypeCode );
void AddChangeListener( TTextChangeListenerBase* pListener );
};
class TCursorTimer;
class wxTextEditorView;
class TPinPainterBase : public wxObject
{
public:
int mPinTypeCode;
public:
TPinPainterBase( int pinTc ) : mPinTypeCode( pinTc ) {}
TPinPainterBase() : mPinTypeCode( -1 ) {}
inline int GetPinTypeCode() { return mPinTypeCode; }
virtual void DrawPin( TPinBase* pPin, wxTextEditorView& view, wxDC& dc,
const wxPoint& pos, const wxSize& dim ) = 0;
};
/*
* a couple very common ping objects/painters
*/
#define BOOKMARK_PIN_TC (OTHER_PINS_TC_START)
#define BRKPOINT_PIN_TC (BOOKMARK_PIN_TC + 1)
class TBookmarkPainter : public TPinPainterBase
{
protected:
wxBrush mBkBrush;
public:
TBookmarkPainter();
virtual void DrawPin( TPinBase* pPin, wxTextEditorView& view, wxDC& dc,
const wxPoint& pos, const wxSize& dim );
};
class TBookmarkPin : public TPinBase
{
public:
TBookmarkPin( size_t row )
: TPinBase( BOOKMARK_PIN_TC, row )
{}
static int GetPinTypeCode() { return BOOKMARK_PIN_TC; }
};
class TBreakpointPainter : public TPinPainterBase
{
protected:
wxBrush mBkBrush;
public:
TBreakpointPainter();
virtual void DrawPin( TPinBase* pPin, wxTextEditorView& view, wxDC& dc,
const wxPoint& pos, const wxSize& dim );
};
class TBreakpointPin : public TPinBase
{
public:
TBreakpointPin( size_t row )
: TPinBase( BRKPOINT_PIN_TC, row )
{}
static int GetPinTypeCode() { return BRKPOINT_PIN_TC; }
};
#if defined( wxUSE_TEMPLATE_STL )
typedef vector<TPinPainterBase*> PinPainterListT;
#else
typedef TPinPainterBase* TPinPainterBasePtrT;
typedef WXSTL_VECTOR_SHALLOW_COPY( TPinPainterBasePtrT ) PinPainterListT;
#endif
/*
* Class displays graphical view of data contained in wxTextModel
*/
class wxTextEditorView : public wxScrolledWindow
{
protected:
wxTextEditorModel* mpModel;
TPosition mSelectionStart;
TPosition mSelectionEnd;
TPosition mCursorPos;
TPosition mLastViewStart;
size_t mLastRowsTotal;
size_t mRowsPerPage;
size_t mColsPerPage;
static char* mpLineBuffer;
static size_t mpLineBufferLen;
bool mFullRefreshPending;
bool mAdjustScrollPending;
wxFont mFont;
bool mScrollingOn; // default: TRUE
bool mCursorOn; // default: TRUE;
bool mLTMode; // line-tracking mode
// (when the whole line is coloured,
// instead of showing blinking cursor position)
wxColour mLTColour; // fill-colour for LT-mode
bool mDragStarted;
char* mpDraggedText;
bool mOwnsModel;
wxString mFragment; // reused heap-buffer
// for coloured fragments
SourcePainter* mpPainter;
PinPainterListT mPinPainters;
TTextIterator mCashedIter;
static TCursorTimer* mpTimer;
public: /*** public properties ***/
int mLeftMargin; // default: 20
int mRightMargin; // default: 0
int mTopMargin; // default: 0
int mBottomMargin; // default: 0
int mMaxColumns; // default: 500
TPosition mPagePos;
// color-scheme properties
wxColour mNormalTextCol;
wxColour mIndentifierTextCol;
wxColour mReservedWordTextCol;
wxColour mCommentTextCol;
wxColour mNormalBkCol;
wxColour mSelectionFgCol;
wxColour mSelectionBkCol;
wxBrush mNormalBkBrush;
wxBrush mSelectedBkBrush;
// accessed by timer
TPosition mCursorScrPos;
wxSize mCharDim;
protected:
char* GetLineBuffer( size_t len );
virtual void PaintDecorations( size_t fromRow, size_t tillRow, wxDC& dc, TTextIterator& iter );
virtual void PaintRows( size_t fromRow, size_t tillRow, wxDC& dc );
void ObtainFontProperties();
bool IsActiveView();
void SetTextDefaults();
void RecalcPagingInfo();
TPinPainterBase* FindPainterForPin( TPinBase& pin );
public:
wxTextEditorView( wxWindow* parent, wxWindowID id = -1,
wxTextEditorModel* pModel = NULL,
int wndStyle = wxSUNKEN_BORDER,
bool ownsModel = TRUE );
~wxTextEditorView();
/*** setup methods ***/
void SetModel( wxTextEditorModel* pModel );
// sets custom syntax-higlighting implementation
void SetSourcePainter( SourcePainter* pPainter );
void AddPinPainter( TPinPainterBase* pPainter );
void SetDefaultFont( const wxFont& font );
wxFont& GetDefaultFont();
wxSize GetCharacterSize() { return mCharDim; }
size_t GetRowsPerPage() { return mRowsPerPage; }
void SetRowsPerPage( size_t n );
void SetMaxColumns( size_t n );
void SetLineTrackingMode( bool on, const wxColour& col = wxColour(255,255,0) );
void EnableCursor( bool enable );
void EnableScrollbars( bool enable );
void SetColours( const wxColour& normalBkCol,
const wxColour& selectedBkCol,
const wxColour& selectedTextCol );
void SetHeighlightingColours( const wxColour& normalTextCol,
const wxColour& identifierTextCol,
const wxColour& reservedWordTextCol,
const wxColour& commentTextCol );
void SetMargins( int top, int left, int bottom, int right );
// notifications from editor-model:
void OnModelChanged();
void ScrollView( int rows, int cols );
// accessors
void Activate();
void Deactivate();
// event handlers
#if (( wxVERSION_NUMBER < 2100 ) || (( wxVERSION_NUMBER == 2100 ) && (wxBETA_NUMBER <= 4)))
void OnScroll( wxScrollEvent& event );
#else
void OnScroll( wxScrollWinEvent& event );
#endif
void OnPaint ( wxPaintEvent& event );
void OnSize ( wxSizeEvent& event );
void OnEraseBackground( wxEraseEvent& event );
void OnLButtonDown( wxMouseEvent& event );
void OnLButtonUp ( wxMouseEvent& event );
void OnMotion ( wxMouseEvent& event );
void OnDblClick ( wxMouseEvent& event );
void OnSetFocus( wxFocusEvent& event );
void OnKillFocus( wxFocusEvent& event );
// requests editor to keep cursor blinking, even when
// the window has lost it's focus
void HoldCursor( bool hold );
// FOR NOW:: hard-coded key-bindings
void OnChar( wxKeyEvent& event );
void OnKeyDown( wxKeyEvent& event );
// utilities
virtual void SyncViewPortPosition();
virtual void SyncScrollbars();
virtual void PositionCursor();
void TextPosToScreenPos( const TPosition& txtPos, TPosition& scrPos );
void ScreenPosToTextPos( const TPosition& scrPos, TPosition& txtPos );
void ScreenPosToPixels ( const TPosition& scrPos, int& x, int& y );
void PixelsToScrPos ( int x, int y, int& scrRow, int& scrCol );
void PixelsToTextPos ( int x, int y, TPosition& textPos );
bool IsClipboardCmd( wxKeyEvent& key );
TPosition GetPagePos() { return mPagePos; }
DECLARE_EVENT_TABLE()
};
// TODO:: mutex class should be used to avoid race on updates
class TCursorTimer : public wxTimer
{
protected:
wxTextEditorView* mpView;
volatile bool mIsLocked;
volatile bool mIsShown;
volatile bool mStarted;
wxBrush mBrush;
bool mMissOneTick;
int mBlinkInterval; // default: 500mills
protected:
void DrawCursor();
public:
TCursorTimer();
virtual void Notify();
void SetView( wxTextEditorView* pView );
wxTextEditorView* GetView();
void HideCursor( bool forceHide = FALSE );
void ShowCursor( bool forceShow = FALSE );
void SetIsShown( bool isShown );
void Lock();
void Unlock();
};
#endif // __TDEFS_G__

View File

@@ -1,118 +0,0 @@
from wxPython.wx import *
from wxPython.lseditor import *
class LSEditorFrame(wxFrame):
def __init__(self, parent, id, title, pos = wxDefaultPosition, size = wxSize(400,400)):
wxFrame.__init__(self, parent, id, title, pos, size)
self.editor = wxsLSEditorPlugin()
self.editor.Create(self, -1)
self.SetMenuBar(self.GetDefaultMenuBar())
self.CreateStatusBar()
self.SetDefaultEvents()
self.filename = ""
def GetDefaultMenuBar(self):
mbar = wxMenuBar()
menu = wxMenu()
menu.Append(1500, "Open")
menu.Append(1501, "Save")
menu.Append(1502, "SaveAs")
menu.AppendSeparator()
menu.Append(1503, "Exit")
mbar.Append(menu, "File")
menu = wxMenu()
menu.Append(1510, "Copy")
menu.Append(1511, "Cut")
menu.Append(1512, "Paste")
menu.AppendSeparator()
menu.Append(1513, "Delete")
menu.AppendSeparator()
menu.Append(1514, "Undo")
menu.Append(1515, "Redo")
menu.AppendSeparator()
menu.Append(1516, "Find...")
menu.Append(1517, "Find Next")
menu.Append(1518, "Find Previous")
menu.Append(1519, "Replace...")
mbar.Append(menu, "Edit")
menu = wxMenu()
menu.Append(1520, "Toggle")
menu.Append(1521, "Next")
menu.Append(1522, "Prev")
mbar.Append(menu, "Bookmarks")
return mbar
def SetDefaultEvents(self):
EVT_MENU(self, 1500, self.evt_OnOpen)
EVT_MENU(self, 1501, self.evt_OnSave)
EVT_MENU(self, 1502, self.evt_OnSaveAs)
EVT_MENU(self, 1503, self.OnClose)
EVT_MENU(self, 1510, self.evt_OnCopy)
EVT_MENU(self, 1511, self.evt_OnCut)
EVT_MENU(self, 1512, self.evt_OnPaste)
EVT_MENU(self, 1513, self.evt_OnDelete)
EVT_MENU(self, 1514, self.evt_OnUndo)
EVT_MENU(self, 1515, self.evt_OnRedo)
EVT_MENU(self, 1516, self.evt_OnFind)
EVT_MENU(self, 1517, self.evt_OnFindNext)
EVT_MENU(self, 1518, self.evt_OnFindPrevious)
EVT_MENU(self, 1519, self.evt_OnReplace)
EVT_MENU(self, 1520, self.evt_OnToggle)
EVT_MENU(self, 1521, self.evt_OnNext)
EVT_MENU(self, 1522, self.evt_OnPrev)
#EVT_MENU(self, 15, self.evt_)
#EVT_MENU(self, 15, self.evt_)
def evt_OnOpen(self, event):
dlg = wxFileDialog(NULL, "Open file")
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.editor.OnOpen(self.filename)
def evt_OnSaveAs(self, event):
dlg = wxFileDialog(NULL, "Save As", self.filename)
if dlg.ShowModal() == wxID_OK:
self.filename = dlg.GetPath()
self.editor.OnSave(self.filename)
def evt_OnSave(self, event):
if self.filename:
self.editor.OnSave(self.filename)
else:
self.evt_OnSaveAs(None)
def OnClose(self,event):
self.Destroy()
def evt_OnCopy(self,event):
self.editor.OnCopy()
def evt_OnCut(self,event):
self.editor.OnCut()
def evt_OnPaste(self,event):
self.editor.OnPaste()
def evt_OnDelete(self,event):
self.editor.OnDelete()
def evt_OnUndo(self,event):
self.editor.OnUndo()
def evt_OnRedo(self,event):
self.editor.OnRedo()
def evt_OnToggle(self,event):
self.editor.OnToggleBookmark()
def evt_OnNext(self,event):
self.editor.OnNextBookmark()
def evt_OnPrev(self,event):
self.editor.OnPreviousBookmark()
def evt_OnFind(self,event):
self.editor.OnFind()
def evt_OnFind(self,event):
self.editor.OnFind()
def evt_OnFindNext(self,event):
self.editor.OnFindNext()
def evt_OnFindPrevious(self,event):
self.editor.OnFindPrevious()
self.SetStatusText("OnFindPrevious: Not implemented")
def evt_OnReplace(self,event):
self.editor.OnReplace()
self.SetStatusText("OnReplace: Not implemented")
class MyApp(wxApp):
def OnInit(self):
frame = LSEditorFrame(NULL, -1, "Editor")
frame.Show(TRUE)
return TRUE
App = MyApp(0)
App.MainLoop()

View File

@@ -1,374 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 24/04/1999
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: GNU General Public License
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSDEFS_G__
#define __WXSDEFS_G__
#include <config.h>
#include "controlarea.h"
#ifdef wxUSE_TEMPLATE_STL
#include <vector>
#include <map>
//using std::map;
//using std::vector;
using namespace std;
#else
#include "wxstldefs.h" // imports predefine StrListT, IntListT containers
#include "wxstlac.h"
#endif
class wxsProject;
class wxsComponent;
class wxsWorkplace;
class wxsOpenedFileInfo;
class wxsWorkplaceListener;
class wxsSourceEditorPlugin;
class wxsSourceInfoPlugin;
class wxsAppListener;
class wxsAppInterface;
class wxFrame;
typedef wxsWorkplaceListener* wxsWorkplaceListenerPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsWorkplaceListenerPtrT> wxsWorkplaceListenerListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY( wxsWorkplaceListenerPtrT ) wxsWorkplaceListenerListT;
#endif
// IDs for the controls and the menu commands
enum
{
// menu items
WXS_Quit = 3300, // FIXEM:: ids..
WXS_About,
WXS_Open,
WXS_Close,
WXS_OpenWorkplace,
WXS_Save,
WXS_SaveAs,
WXS_SaveAll,
WXS_CloseWorkplace,
WXS_SaveWorkplace,
WXS_NewProject,
WXS_ShowTips,
WXS_Undo = 9000,
WXS_NextWindow,
WXS_PreviousWindow,
WXS_CloseWindow,
WXS_ListWindows,
WXS_UpdateBrowser,
WXS_ToggleWorkplaceWindow,
WXS_InsertFiles,
WXS_Test,
WXS_Settings,
WXS_ClassView,
WXS_FileView,
WXS_GotoEditor,
WXS_Test1,
WXS_Test2,
// controls start here (the numbers are, of course, arbitrary)
WXS_Text = 1000,
ID_EDIT_UNDO,
ID_EDIT_REDO,
ID_EDIT_CUT,
ID_EDIT_COPY,
ID_EDIT_PASTE,
ID_EDIT_DELETE,
ID_EDIT_SELECT_ALL,
ID_EDIT_FIND,
ID_EDIT_FIND_NEXT,
ID_EDIT_REPLACE,
ID_EDIT_GOTO,
ID_EDIT_TOGGLE_BM,
ID_EDIT_NEXT_BM,
ID_EDIT_PREV_BM,
ID_EDIT_TOGGLE_BRKPNT,
ID_EDIT_BOOKMARKS,
ID_EDIT_SETFONT,
ID_LEFT_SASH,
ID_BOTTOM_SASH
};
// bitmaps/icons
enum WXS_ICON_ENUM{
WXS_ICON_class = 1,
WXS_ICON_priv_mtd,
WXS_ICON_prot_mtd,
WXS_ICON_pub_mtd,
WXS_ICON_priv_mtd_def,
WXS_ICON_prot_mtd_def,
WXS_ICON_pub_mtd_def,
WXS_ICON_priv_var,
WXS_ICON_prot_var,
WXS_ICON_pub_var,
WXS_ICON_pub_pure_mtd,
WXS_ICON_file,
WXS_ICON_folder,
WXS_ICON_mru_folder,
WXS_ICON_class_gray,
WXS_ICON_file_gray,
};
typedef char* CharPtrT;
struct UU_cmp
{
inline int operator()(const CharPtrT x, const CharPtrT y ) const { return 0; }
};
typedef wxBitmap* wxBitmapPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef map<WXS_ICON_ENUM, wxBitmapPtrT> WXS_BitmapsMapT;
#else
typedef WXSTL_MAP( WXS_ICON_ENUM, wxBitmapPtrT,
LESS_THEN_FUNCTOR(WXS_ICON_ENUM) ) WXS_BitmapsMapT;
#endif
extern WXS_BitmapsMapT WXS_Bitmaps;
#define WXS_ICON(name) (*WXS_Bitmaps[WXS_ICON_##name])
// very general file categories
enum WXS_FILE_CATEGORY
{
WXS_UNKNOWN_FILE,
WXS_SOURCE_FILE,
WXS_RESOURCE_FILE,
WXS_DOCUMENTATION_FILE,
WXS_CONFIGURAITON_FILE
};
enum WXS_PLUGIN_TYPE
{
WXS_UNKNOWN_PLUGIN,
WXS_EDITOR_PLUGIN,
WXS_CLASSINFO_PLUGIN,
WXS_CLASSBROWSER_PLUGIN,
WXS_FILEBROWSER_PLUGIN,
WXS_TOOL_PLUGIN,
WXS_OUTPUTTOOL_PLUGIN
};
class wxsAppListener
{
public:
virtual void OnWindowSwitched( wxWindow* fromWnd, wxWindow* toWnd ) {};
virtual bool OnCloseWindow( wxWindow* wnd ) { return TRUE; }
virtual void OnTabSwitched() {};
virtual void OnPageSwitched() {};
};
class wxsAppInterface
{
public:
virtual void SetAppListener(wxsAppListener* pLsn) = 0;
virtual void AddEditor(wxsSourceEditorPlugin* editor,wxString title,wxBitmap* pImage = NULL) = 0;
virtual void ActivateEditor( wxsSourceEditorPlugin* editor ) = 0;
virtual void CloseEditor( wxsSourceEditorPlugin* editor ) = 0;
virtual void ShowNextWindow() = 0;
virtual void ShowPreviousWindow() = 0;
virtual void CloseActiveWindow() = 0;
virtual void CloseWindow( wxWindow* wnd ) = 0;
virtual void ShowWindowList() = 0;
virtual wxWindow* GetActiveWindow() = 0;
virtual wxTabbedWindow* GetTabbedWindow() = 0;
virtual void AddTab(wxsComponent* pContent, wxString tabText, wxBitmap* pImage = NULL) = 0;
virtual void ShowNextTab() = 0;
virtual wxPaggedWindow* GetPaggedWindow() = 0;
virtual void AddPage(wxsComponent* pContent, wxString tabText, wxBitmap* pImage = NULL) = 0;
virtual void ShowNextPage() = 0;
virtual wxFrame* GetMainFrame() = 0;
virtual void SetStatusText( const string& text ) = 0;
static wxsAppInterface& GetInstance();
protected:
static wxsAppInterface* mpInstance;
friend wxsAppInterface& wxsGetApp();
};
// short-cut for wxsAppInterface::GetInstance()
wxsAppInterface& wxsGetApp();
class wxsWorkplaceListener : public wxObject
{
public:
virtual void OnSubprojectAdded( wxsProject& subPrj, wxsProject& toPrj ) {}
virtual void OnSubprojectRemoved( wxsProject& subPrj, wxsProject& fromPrj ) {}
virtual void OnProjectCreated( wxsProject& prj ) {}
virtual void OnRootProjectLoaded() {}
virtual void OnRootProjectClosed() {}
virtual void OnFilesAddedToProject( wxsProject& prj, StrListT& files, WXS_FILE_CATEGORY cat ) {}
virtual void OnFilesRemovedFromProject( wxsProject& prj, StrListT& files, WXS_FILE_CATEGORY cat ) {}
virtual void OnFileContentChanged( wxsProject& prj, const string& file, WXS_FILE_CATEGORY cat,
char* newContent, size_t len ) {}
virtual void OnFileOpened( wxsOpenedFileInfo& file ) {}
};
typedef wxsProject* wxsProjectPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsProjectPtrT> wxsProjectListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY( wxsProjectPtrT ) wxsProjectListT;
#endif
class wxsProject : public wxObject
{
public:
// Basic project info
virtual void SetName(const string& name) = 0;
virtual void SetFileName(const string& fname) = 0;
virtual void SetDescription(const string& desc) = 0;
virtual void SetLanguage(const string& lang) = 0;
virtual string GetName() = 0;
virtual string GetFileName() = 0;
virtual string GetDescription() = 0;
virtual string GetLanguage() = 0;
// File manipulation
virtual bool AddFile( const string& file) = 0;
virtual bool RemoveFile ( const string& file ) = 0;
virtual StrListT GetFiles() = 0;
// Sub-Project manipulation
virtual void AddSubproject( wxsProject* subPrj) = 0;
virtual void RemoveSubproject( wxsProject* subPrj) = 0;
virtual wxsProjectListT& GetSubprojects() = 0;
// Transient information (parent only exists when loaded
virtual void SetParent( wxsProject* parentPrj) = 0;
virtual wxsProject* GetParent() = 0;
// configuration info storage
virtual string CreateConfig ( const string& file = "" ) = 0;
virtual bool SetCurrentConfig ( const string& configkey ) = 0;
virtual bool AddConfigValue( const string& key, string& value) = 0;
virtual bool SetConfigValue( const string& key, string& value) = 0;
virtual bool RemoveConfigValue( const string& key ) = 0;
virtual string GetConfigValue ( const string& key ) = 0;
};
class wxsOpenedFileInfo : public wxObject
{
public:
string mFullName;
wxsProject* mpProject; // NULL, if file does not belong to any project
wxsSourceEditorPlugin* mpEditor;
WXS_FILE_CATEGORY mCategory;
bool mIsSaved;
public:
wxsOpenedFileInfo() : mIsSaved( TRUE ), mpProject( NULL ) {}
wxsProject* GetProject() { return mpProject; }
const string& GetFullName() { return mFullName; }
wxsSourceEditorPlugin& GetEditor() { return *mpEditor; }
WXS_FILE_CATEGORY GetCategory() { return mCategory; }
};
typedef wxsOpenedFileInfo* wxsOpenedFileInfoPtrT;
#ifdef wxUSE_TEMPLATE_STL
typedef vector<wxsOpenedFileInfoPtrT> wxsOpenedFileInfoListT;
#else
typedef WXSTL_VECTOR_SHALLOW_COPY( wxsOpenedFileInfoPtrT ) wxsOpenedFileInfoListT;
#endif
// abstract interface
class wxsWorkplace : public wxObject
{
public:
virtual void CreateProject( const string& name, const string& projectFile, const wxsProject* parent=NULL) = 0;
virtual void LoadRootProject( const string& projectFile ) = 0;
virtual void SaveProject( wxsProject& prj ) = 0;
virtual void CloseRootProject() = 0;
virtual wxsProject& GetRootProject() = 0;
virtual wxsProject* FindProjectByName( const string& name ) = 0;
virtual wxsOpenedFileInfo* FindFileByEditor( wxsSourceEditorPlugin& editor ) = 0;
virtual void AddWorkpalceListener( wxsWorkplaceListener* pListener ) = 0;
virtual void AddSubproject( wxsProject& intoPrj,const string& projectFile ) = 0;
virtual void RemoveSubproject( wxsProject& prj ) = 0;
virtual void AddFilesToProject( wxsProject& prj, StrListT& files ) = 0;
virtual void RemoveFilesFromProject( wxsProject& prj, StrListT& files ) = 0;
virtual void NotifyFileContentChanged( wxsProject& prj, const string& file,
char* newContent, size_t len ) = 0;
virtual void NotifyFileContentChanged( wxsOpenedFileInfo& info ) = 0;
virtual void NotifyEditorDeactivated( wxsSourceEditorPlugin& editor ) = 0;
// if pPrj is NULL, the specified file does not belong to any projects,
// i.e. it blongs to the workplace
virtual wxsOpenedFileInfo*
OpenFileInEditor( const string& file, wxsProject* pPrj = NULL,
int line = -1, int column = -1) = 0;
virtual void GetCurrentFileContent( wxsProject& prj, const string& file,
char** buf, size_t& len
) = 0;
// returns FALSE, if source was already up-to-date
virtual bool SyncSourceInfo() = 0;
virtual wxsProject* FindSubproject( wxsProject& parentPrj, const string& prjName ) = 0;
virtual wxsOpenedFileInfo* FindOpenedFile( const string& name ) = 0;
virtual bool FileIsOpened( wxsProject& prj, const string& file ) = 0;
virtual wxsSourceEditorPlugin* GetSourceEditor( wxsProject& prj, const string& file ) = 0;
virtual wxsSourceInfoPlugin* GetSourceInfoPlugin() = 0;
static wxsWorkplace& GetInstance() { return *wxsWorkplace::mpInstance; }
virtual wxsOpenedFileInfoListT& GetOpenedFiles() = 0;
virtual wxsOpenedFileInfo* GetActiveFile() = 0;
virtual void SaveFile( wxsOpenedFileInfo& info ) = 0;
virtual void SaveAllFiles() = 0;
virtual bool CloseFile( wxsOpenedFileInfo& info, bool closeWindow = TRUE ) = 0;
virtual bool CloseAllFiles() = 0;
virtual bool CloseInProgress() = 0;
virtual WXS_FILE_CATEGORY GetFileCategory( const string& file ) = 0;
protected:
static wxsWorkplace* mpInstance;
friend wxsWorkplace& wxsGetWorkplace();
};
// short-cut for wxsWorkplace::GetInstance()
wxsWorkplace& wxsGetWorkplace();
#endif

View File

@@ -1,659 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 27/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSTLAC_G__
#define __WXSTLAC_G__
#include <stddef.h>
#include <sys/types.h>
#include <memory.h>
#include <limits.h>
#include <new>
// the below macro used internally (see actual interface after this macro)
// arguments:
//
// ARG_IS_UNIQUE
// ASSOC_CONT_CLASS_NAME
//
// ARG_VALUE_TYPE
// ARG_KEY_TYPE
// ARG_ACTUAL_VALUE_TYPE
//
// _KEY_NAME
// _VALUE_NAME
//
// _X_KEY_NAME
// _X_VALUE_NAME
//
// _INSERT_METHOD_DEFINITION
#define __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE, \
FUNCTOR,\
ASSOC_CONT_CLASS_NAME, \
ARG_VALUE_TYPE, \
ARG_KEY_TYPE, \
ARG_ACTUAL_VALUE_TYPE, \
_KEY_NAME, \
_VALUE_NAME, \
_X_KEY_NAME, \
_X_VALUE_NAME, \
_INSERT_METHOD_DEFINITION \
) class \
ASSOC_CONT_CLASS_NAME\
{\
protected:\
\
public:\
typedef ARG_VALUE_TYPE value_type;\
typedef ARG_KEY_TYPE key_type;\
typedef ARG_ACTUAL_VALUE_TYPE actual_value_type;\
\
typedef value_type* pointer;\
typedef value_type& reference;\
\
typedef const value_type& const_reference;\
\
typedef FUNCTOR key_compare;\
typedef key_compare Compare;\
\
protected:\
\
struct tree_node \
{\
tree_node* mpParent;\
tree_node* mpLeft;\
tree_node* mpRight;\
\
value_type mData;\
};\
\
typedef tree_node* node_ref_type;\
\
node_ref_type mpRoot;\
node_ref_type mpLeftMost;\
node_ref_type mpRightMost;\
\
node_ref_type mpFreeListHead;\
int mKeyIsUnique;\
\
key_compare mCmpFunctorObj;\
\
public:\
\
static inline node_ref_type next( node_ref_type pNode )\
{\
if ( pNode->mpRight ) \
{\
pNode = pNode->mpRight;\
\
while ( pNode->mpLeft ) pNode = pNode->mpLeft;\
\
return pNode;\
}\
else\
if ( pNode->mpParent )\
{\
if ( pNode == pNode->mpParent->mpLeft )\
\
return pNode->mpParent;\
\
pNode = pNode->mpParent;\
\
node_ref_type prevNode = pNode;\
pNode = pNode->mpParent;\
\
while(pNode)\
{\
if ( pNode->mpRight &&\
pNode->mpRight != prevNode\
) return pNode;\
\
prevNode = pNode;\
pNode= pNode->mpParent;\
}\
\
return 0;\
}\
else\
return 0;\
}\
\
static inline node_ref_type prev( node_ref_type pNode )\
{\
if ( pNode->mpLeft ) \
{\
pNode = pNode->mpLeft;\
\
while ( pNode->mpRight ) pNode = pNode->mpRight;\
\
return pNode;\
}\
else\
if ( pNode->mpParent )\
{\
if ( pNode == pNode->mpParent->mpRight )\
return pNode->mpParent;\
\
pNode = pNode->mpParent;\
\
node_ref_type prevNode = pNode;\
pNode = pNode->mpParent;\
\
while(pNode)\
{\
if ( pNode->mpLeft &&\
pNode->mpLeft != prevNode\
) return pNode;\
\
prevNode = pNode;\
pNode= pNode->mpParent;\
}\
\
return 0;\
}\
else \
return 0;\
}\
\
protected:\
\
inline int are_equel( const key_type& x, const key_type& y ) const\
{\
mCmpFunctorObj(x,y);\
return ( !mCmpFunctorObj(x,y) && !mCmpFunctorObj(y,x) );\
}\
\
inline int is_less( const key_type& x, const key_type& y ) const\
{\
return mCmpFunctorObj(x,y);\
}\
\
static inline const actual_value_type& value( node_ref_type pNode )\
{\
return pNode->_VALUE_NAME;\
}\
\
static inline const key_type& key( node_ref_type pNode )\
{\
return pNode->_KEY_NAME;\
}\
\
inline node_ref_type AllocNode() \
{ \
if ( mpFreeListHead ) \
{\
node_ref_type pFreeNode = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpLeft;\
\
return pFreeNode;\
}\
else\
{\
char* pHeapBlock = new char[sizeof(tree_node)];\
\
return (node_ref_type)pHeapBlock;\
}\
}\
\
inline void DestroyFreeList()\
{\
while ( mpFreeListHead )\
{\
node_ref_type tmp = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpLeft;\
\
delete [](char*)tmp;\
}\
}\
\
inline void RecycleNode( node_ref_type pNode ) \
{\
pNode->mpLeft = mpFreeListHead;\
mpFreeListHead = pNode;\
}\
\
inline node_ref_type do_insert(const value_type& x = value_type() )\
{\
node_ref_type pNewNode = AllocNode();\
\
pNewNode->mpParent = \
pNewNode->mpLeft =\
pNewNode->mpRight = 0;\
\
node_ref_type pCurrent = mpRoot;\
node_ref_type pParent = 0;\
\
while (pCurrent) \
{\
if ( mKeyIsUnique && are_equel( _X_KEY_NAME, key(pCurrent) ) )\
{\
RecycleNode(pNewNode);\
return 0;\
}\
\
pParent = pCurrent;\
\
pCurrent = is_less( _X_KEY_NAME, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
}\
\
pNewNode->mpParent = pParent;\
\
if(pParent)\
\
if( is_less(_X_KEY_NAME, key(pParent) ) )\
\
pParent->mpLeft = pNewNode;\
else\
pParent->mpRight = pNewNode;\
else\
mpRoot = pNewNode;\
\
new ( &pNewNode->_KEY_NAME ) key_type(_X_KEY_NAME);\
new ( &pNewNode->_VALUE_NAME ) actual_value_type(_X_VALUE_NAME);\
\
if ( prev(pNewNode) == 0 ) mpLeftMost = pNewNode;\
if ( next(pNewNode) == 0 ) mpRightMost = pNewNode;\
\
return pNewNode;\
}\
\
friend class iterator;\
\
public:\
\
class iterator;\
class const_iterator;\
\
class iterator \
{\
public:\
node_ref_type mpNode;\
friend class CONT_CLASS_NAME;\
friend class const_iterator;\
friend class const_reverse_iterator;\
\
inline iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
inline iterator() {}\
inline int operator==( const iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
inline int operator!=( const iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const iterator& operator=( const iterator& other )\
{\
mpNode = other.mpNode;\
return *this;\
}\
\
inline const iterator& operator--() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return *this;\
}\
\
inline iterator operator--(int)\
{\
iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return tmp;\
}\
\
inline const iterator& operator++() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return *this;\
}\
\
inline iterator operator++(int)\
{\
iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return tmp;\
}\
\
inline reference operator*() const { return mpNode->mData; }\
};\
\
\
class const_iterator \
{\
public:\
node_ref_type mpNode;\
friend class CONT_CLASS_NAME;\
friend class const_reverse_iterator;\
\
inline const_iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
inline const_iterator() {}\
\
inline int operator==( const const_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
inline int operator!=( const const_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline const_iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const_iterator( const const_iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const const_iterator& operator=( const const_iterator& other )\
{\
mpNode = other.mpNode;\
return *this;\
}\
\
inline const const_iterator& operator--() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return *this;\
}\
\
inline const_iterator operator--(int)\
{\
const_iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::prev(mpNode);\
return tmp;\
}\
\
inline const const_iterator& operator++() \
{\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return *this;\
}\
\
inline const_iterator operator++(int)\
{\
const_iterator tmp = *this;\
mpNode = ASSOC_CONT_CLASS_NAME::next(mpNode);\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
public:\
\
inline ASSOC_CONT_CLASS_NAME( key_compare cmpFunctorObj = key_compare(),\
int keyIsUnique = ARG_IS_UNIQUE )\
: mpFreeListHead( 0 ),\
mKeyIsUnique( keyIsUnique ),\
mCmpFunctorObj( cmpFunctorObj )\
{\
mpLeftMost = 0;\
mpRightMost = 0;\
mpRoot = 0;\
}\
\
inline ~ASSOC_CONT_CLASS_NAME() \
{ \
erase( begin(), end() ); \
\
DestroyFreeList();\
}\
\
inline iterator begin() { return mpLeftMost; }\
inline iterator end() { return 0; }\
\
inline const_iterator begin() const { return mpLeftMost; }\
inline const_iterator end() const { return 0; }\
\
inline iterator lower_bound( const key_type& x )\
{ \
node_ref_type pCurrent = mpRoot;\
\
while( pCurrent )\
{\
node_ref_type pParent = pCurrent;\
\
if( are_equel( x, key(pCurrent) ) )\
\
return (pCurrent);\
else\
pCurrent = is_less( x, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
\
if ( !pCurrent ) return (pParent);\
}\
\
return begin();\
}\
\
inline const_iterator lower_bound( const key_type& x ) const\
\
{ return const_iterator( lower_bound(x).mpNode ); }\
\
inline iterator upper_bound( const key_type& x )\
{\
node_ref_type pCurrent = mpRoot;\
\
while( pCurrent )\
{\
node_ref_type pParent = pCurrent;\
\
if( are_equel( x, key(pCurrent) ) )\
\
return (pCurrent);\
else\
pCurrent = is_less( x, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
\
if ( !pCurrent ) return next(pParent);\
}\
\
return end();\
}\
\
inline iterator find( const key_type& x ) const\
{\
node_ref_type pCurrent = mpRoot;\
\
while( pCurrent )\
{\
if( are_equel( x, key(pCurrent) ) )\
\
return (pCurrent);\
else\
pCurrent = is_less( x, key(pCurrent) ) \
? pCurrent->mpLeft \
: pCurrent->mpRight;\
}\
\
return iterator(0);\
}\
\
inline actual_value_type& operator[]( const key_type x ) const\
\
{ return find(x).mpNode->_VALUE_NAME; }\
\
inline void erase(iterator first, iterator last)\
{\
if ( first.mpNode == 0 ) return;\
\
while( first != last ) \
{\
iterator next = first;\
++next;\
erase( first );\
first = next;\
}\
}\
\
inline void erase(iterator position)\
{\
if ( position.mpNode == 0 ) return;\
\
node_ref_type pZ = position.mpNode;\
node_ref_type pX, pY;\
\
if ( pZ == mpLeftMost ) mpLeftMost = next(pZ);\
if ( pZ == mpRightMost ) mpRightMost = prev( pZ );\
\
if ( !pZ->mpLeft || !pZ->mpRight )\
\
pY = pZ;\
else \
{\
pY = pZ->mpRight;\
\
while (pY->mpLeft) \
\
pY = pY->mpLeft;\
}\
\
if ( pY->mpLeft)\
\
pX = pY->mpLeft;\
else\
pX = pY->mpRight;\
\
if ( pX ) pX->mpParent = pY->mpParent;\
\
if (pY->mpParent)\
\
if (pY == pY->mpParent->mpLeft )\
\
pY->mpParent->mpLeft = pX;\
else\
pY->mpParent->mpRight = pX;\
else\
mpRoot = pX;\
\
node_ref_type toRemove = 0;\
\
if (pY != pZ) {\
\
pY->mpLeft = pZ->mpLeft;\
\
if (pY->mpLeft) pY->mpLeft->mpParent = pY;\
\
pY->mpRight = pZ->mpRight;\
\
if ( pY->mpRight ) \
\
pY->mpRight->mpParent = pY;\
\
pY->mpParent = pZ->mpParent;\
\
if (pZ->mpParent)\
\
if (pZ == pZ->mpParent->mpLeft)\
\
pZ->mpParent->mpLeft = pY;\
else\
pZ->mpParent->mpRight = pY;\
else\
mpRoot = pY;\
\
toRemove = pZ;\
} \
else \
toRemove = pY;\
\
\
RecycleNode( toRemove );\
}\
\
_INSERT_METHOD_DEFINITION\
}
// do not undefine ___WXSTL_COMMA, where associated containers are defined!
// (it is used as workaround for constraints of C-Preprocessor's nested macros)
#define ___WXSTL_COMMA ,
#define __DEFINE_MAP(ARG_IS_UNIQUE, KEY_TYPE, VAL_TYPE, FUNCTOR ) __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
FUNCTOR,\
__WXSTLMAP_##KEY_TYPE##VAL_TYPE##ARG_IS_UNIQUE, \
struct key_value_pair { KEY_TYPE first ; \
VAL_TYPE second;\
key_value_pair() {}\
key_value_pair( const KEY_TYPE& key ___WXSTL_COMMA const VAL_TYPE& value ) \
: first(key) ___WXSTL_COMMA second( value ) {} \
} , \
KEY_TYPE,\
VAL_TYPE,\
mData.first, mData.second, x.first, x.second, \
struct insert_result_iterator\
{\
iterator first;\
int second;\
};\
inline insert_result_iterator insert( const value_type& x )\
{\
insert_result_iterator result;\
\
result.first = do_insert(x);\
result.second = ( result.first == end() ) ? 0 : 1;\
\
return result;\
} )
#define __DEFINE_SET(ARG_IS_UNIQUE, KEY_TYPE, FUNCTOR ) __DEFINE_ASOC_CLASS( ARG_IS_UNIQUE,\
FUNCTOR,\
__WXSTLSET_##TYPE##ARG_IS_UNIQUE, \
KEY_TYPE,\
KEY_TYPE,\
KEY_TYPE,\
mData, mData, x, x, \
struct insert_result_iterator\
{\
iterator first;\
int second;\
};\
inline insert_result_iterator insert( const value_type& x )\
{\
insert_result_iterator result;\
\
result.first = do_insert(x);\
result.second = ( result.first == end() ) ? 0 : 1;\
\
return result;\
} )
// helper macros to create functor objects for associative containers of the given type
#define LESS_THEN_FUNCTOR(TYPE) struct \
{ inline int operator()(const TYPE& x, const TYPE& y ) const { return x < y; } }
#define GREATER_THEN_FUNCTOR(TYPE) struct \
{ inline int operator()(const TYPE& x, const TYPE& y ) const { return x > y; } }
// functor argument should be created using the two above macros
// or passing own class with method "operator()(const TYPE&,cosnt TYPE&)" defined in it
#define WXSTL_MAP( KEY_TYPE, VALUE_TYPE, FUNCTOR ) __DEFINE_MAP( 1 ,KEY_TYPE, VALUE_TYPE, FUNCTOR)
#define WXSTL_MULTIMAP( KEY_TYPE, VALUE_TYPE, FUNCTOR ) __DEFINE_MAP( 0 ,KEY_TYPE, VALUE_TYPE, FUNCTOR)
#define WXSTL_SET( KEY_TYPE, FUNCTOR ) __DEFINE_SET( 1 ,KEY_TYPE, FUNCTOR )
#define WXSTL_MULTISET( KEY_TYPE, FUNCTOR ) __DEFINE_SET( 0 ,KEY_TYPE, FUNCTOR )
#endif

View File

@@ -1,49 +0,0 @@
#ifndef __WXSTLDEFS_G__
#define __WXSTLDEFS_G__
#include "config.h"
// defines some very commonly used container types
// for both template and macro-based configurations
#if defined( wxUSE_TEMPLATE_STL )
#include <vector>
using namespace std;
#ifdef WIN32xxx
#include <bstring.h>
#else
//#include <strclass.h>
//#include <string.h>
// For now
#include "wx/string.h"
#define string wxString
#endif
#else
#include "wx/string.h"
#include "wxstlvec.h"
// FOR NOW:: quick n' dirty:
#define string wxString
#endif
#if defined( wxUSE_TEMPLATE_STL )
typedef vector<string> StrListT;
typedef vector<int> IntListT;
#else
typedef WXSTL_VECTOR(string) StrListT;
typedef WXSTL_VECTOR_SHALLOW_COPY(int) IntListT;
#endif
#endif

View File

@@ -1,555 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 27/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSTLLST_G__
#define __WXSTLLST_G__
#include <stddef.h>
#include <sys/types.h>
#include <memory.h>
#include <limits.h>
#include <new>
// VERSION:: 0.2 (copy-constructor/adign-op added)
// FOR NOW:: class-member operators "new" and "delete"
// are ignored by list class, memory allocated
// and freed using global operators
typedef int Type;
// the below macro used internally (see actual interface after this macro)
#define __DEFINE_STL_LIST(listClass,Type) class \
listClass \
{\
public:\
\
typedef Type value_type;\
typedef value_type* pointer;\
typedef const value_type* const_pointer;\
typedef value_type& reference;\
typedef const value_type& const_reference;\
typedef size_t size_type;\
typedef ptrdiff_t difference_type;\
\
protected:\
struct list_node\
{\
list_node* mpNext;\
list_node* mpPrev;\
value_type mData;\
};\
\
typedef list_node* node_ref_type;\
\
node_ref_type mpFreeListHead;\
node_ref_type mpTerminator;\
size_type mSize;\
\
inline node_ref_type AllocNode() \
{ \
if ( mpFreeListHead ) \
{\
node_ref_type pFreeNode = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpPrev;\
\
return pFreeNode;\
}\
else\
{\
char* pHeapBlock = new char[sizeof(list_node)];\
\
return (node_ref_type)pHeapBlock;\
}\
}\
\
inline void DestroyFreeList()\
{\
while ( mpFreeListHead )\
{\
node_ref_type tmp = mpFreeListHead;\
mpFreeListHead = mpFreeListHead->mpPrev;\
\
delete [](char*)tmp;\
}\
}\
\
inline void RecycleNode( node_ref_type pNode ) \
{\
pNode->mpPrev = mpFreeListHead;\
mpFreeListHead = pNode;\
}\
\
public:\
\
class iterator \
{\
public:\
node_ref_type mpNode;\
friend class listClass;\
friend class const_iterator;\
friend class const_reverse_iterator;\
\
protected:\
iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
iterator() {}\
int operator==( const iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const iterator& operator--() \
{\
mpNode = mpNode->mpPrev;\
return *this;\
}\
\
inline iterator operator--(int)\
{\
iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const iterator& operator++() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline iterator operator++(int)\
{\
iterator tmp = *this;\
mpNode = mpNode->mpNext;\
return tmp;\
}\
\
inline reference operator*() const { return mpNode->mData; }\
};\
\
\
class const_iterator \
{\
protected:\
node_ref_type mpNode;\
friend class listClass;\
\
protected:\
const_iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
\
const_iterator() {}\
int operator==( const const_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const const_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
\
inline const_iterator( const iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const const_iterator& operator--() \
{\
mpNode = mpNode->mpPrev;\
return *this;\
}\
\
inline const_iterator operator--(int)\
{\
const_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const const_iterator& operator++() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline const_iterator operator++(int)\
{\
const_iterator tmp = *this;\
mpNode = mpNode->mpNext;\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
typedef iterator OutputIterator;\
typedef const_iterator InputIterator;\
\
class reverse_iterator \
{\
public:\
node_ref_type mpNode;\
friend class listClass;\
friend class const_reverse_iterator;\
\
protected:\
reverse_iterator ( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
\
reverse_iterator() {}\
int operator==( const reverse_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const reverse_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline reverse_iterator( const reverse_iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const reverse_iterator& operator--() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline reverse_iterator operator--(int)\
{\
reverse_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const reverse_iterator & operator++() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline reverse_iterator operator++(int)\
{\
reverse_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
\
class const_reverse_iterator \
{\
protected:\
node_ref_type mpNode;\
friend class listClass;\
\
protected:\
const_reverse_iterator( node_ref_type pNode )\
{\
mpNode = pNode;\
}\
\
public:\
\
const_reverse_iterator() {}\
int operator==( const const_reverse_iterator& rhs ) const { return (mpNode == rhs.mpNode); }\
int operator!=( const const_reverse_iterator& rhs ) const { return (mpNode != rhs.mpNode); }\
\
inline const_reverse_iterator( const reverse_iterator& other )\
{\
mpNode = other.mpNode;\
}\
\
inline const const_reverse_iterator& operator--() \
{\
mpNode = mpNode->mpNext;\
return *this;\
}\
\
inline const_reverse_iterator operator--(int)\
{\
const_reverse_iterator tmp = *this;\
mpNode = mpNode->mpNext;\
return tmp;\
}\
\
inline const const_reverse_iterator& operator++() \
{\
mpNode = mpNode->mpPrev;\
return *this;\
}\
\
inline const_reverse_iterator operator++(int)\
{\
const_reverse_iterator tmp = *this;\
mpNode = mpNode->mpPrev;\
return tmp;\
}\
\
inline const_reference operator*() const { return mpNode->mData; }\
};\
\
public:\
\
inline listClass()\
: mpFreeListHead( 0 ),\
mSize(0)\
{\
mpTerminator = AllocNode();\
mpTerminator->mpPrev = mpTerminator->mpNext = mpTerminator;\
}\
\
listClass( const listClass& other )\
{\
mpTerminator = AllocNode();\
mpTerminator->mpPrev = mpTerminator->mpNext = mpTerminator;\
\
for( listClass::const_iterator i = other.begin(); i != other.end(); ++i )\
\
push_back( (*i) );\
}\
\
inline const listClass& operator=( const listClass& rhs ) \
{\
erase( begin(), end() );\
\
for( listClass::const_iterator i = rhs.begin(); i != rhs.end(); ++i )\
\
push_back( (*i) );\
\
return *this;\
}\
\
inline listClass(const_iterator first, const_iterator last)\
: mpFreeListHead( 0 ),\
mSize(0)\
\
{ while( first != last ) push_back( *first++ ); }\
\
inline listClass( size_type n, const value_type& value = value_type() )\
\
{ for( size_t i = 0; i != n; ++n ) push_back( value ); }\
\
inline ~listClass() \
{ \
erase( begin(), end() ); \
\
RecycleNode( mpTerminator );\
DestroyFreeList();\
}\
\
inline iterator begin() { return iterator(mpTerminator->mpNext); }\
\
inline const_iterator begin() const \
{ return const_iterator(mpTerminator->mpNext); }\
\
inline iterator end() { return iterator(mpTerminator); }\
\
inline const_iterator end() const { return const_iterator(mpTerminator); }\
\
inline reverse_iterator rbegin() \
{ return reverse_iterator(mpTerminator->mpPrev); }\
\
inline reverse_iterator rend() \
{ return reverse_iterator(mpTerminator); }\
\
inline const_reverse_iterator rbegin() const\
{ return const_reverse_iterator(mpTerminator->mpPrev); }\
\
inline const_reverse_iterator rend() const\
{ return const_reverse_iterator(mpTerminator); }\
\
inline int empty() const { return (mSize == 0); }\
\
inline size_type size() const { return mSize; }\
\
inline size_type max_size() const { return UINT_MAX/sizeof(list_node); }\
\
inline reference front() { return mpTerminator->mData; }\
\
inline const_reference front() const { return mpTerminator->mData; }\
\
inline reference back() { return mpTerminator->mpPrev->mData; }\
\
inline const_reference back() const { return mpTerminator->mpPrev->mData; }\
\
inline void push_front(const value_type& x) { insert( begin(), x ); }\
\
inline void push_back(const value_type& x) { insert( end(), x ); }\
\
iterator insert(iterator position, const value_type& x = value_type())\
{\
node_ref_type pNew = AllocNode();\
\
node_ref_type pos = *((node_ref_type*)&position);\
\
pNew->mpNext = pos;\
pNew->mpPrev = pos->mpPrev;\
pos->mpPrev->mpNext = pNew;\
pos->mpPrev = pNew;\
\
new (&pNew->mData) value_type(x);\
\
++mSize;\
\
return iterator(pNew);\
}\
\
inline void insert(iterator position, const_iterator first, const_iterator last )\
{\
while( first != last ) insert( position, *first++ );\
}\
\
inline void splice( iterator position, listClass& other )\
{\
if ( other.begin() == other.end() ) return;\
\
node_ref_type pTill = other.mpTerminator->mpPrev;\
node_ref_type pFrom = other.begin().mpNode;\
\
mpTerminator->mpPrev->mpNext = pFrom;\
pFrom->mpPrev = mpTerminator->mpPrev->mpNext;\
\
pTill->mpNext = mpTerminator;\
mpTerminator->mpPrev = pTill;\
\
other.mpTerminator->mpNext = \
other.mpTerminator->mpPrev = other.mpTerminator;\
\
mSize += other.mSize;\
other.mSize = 0;\
}\
\
inline void splice( iterator position, listClass& other, iterator first, iterator last )\
{\
if ( first == last ) return;\
\
size_type sz = 0;\
iterator tmp = first;\
while( tmp != last ) \
{\
++tmp;\
++sz;\
}\
\
mSize += sz;\
other.mSize -= sz;\
\
node_ref_type pPos = position.mpNode;\
node_ref_type pFirst = first.mpNode;\
node_ref_type pLast = last.mpNode;\
node_ref_type pTill = last.mpNode->mpPrev;\
\
pPos->mpPrev->mpNext = pFirst;\
pPos->mpPrev = pTill;\
\
pFirst->mpPrev->mpNext = last.mpNode;\
pLast->mpPrev = pTill;\
\
pFirst->mpPrev = pPos->mpPrev;\
pTill->mpNext = pPos;\
}\
\
inline void pop_front() { erase( begin() ); }\
inline void pop_back() { erase( --end() ); }\
\
inline void erase(iterator position)\
{\
erase( position, ++position );\
}\
\
inline void erase(iterator first, iterator last)\
{\
node_ref_type firstNode = *((node_ref_type*)&first);\
node_ref_type lastNode = *((node_ref_type*)&last);\
\
firstNode->mpPrev->mpNext = lastNode;\
lastNode->mpPrev = firstNode->mpPrev;\
\
while( firstNode != lastNode )\
{\
node_ref_type next = firstNode->mpNext;\
\
typedef value_type value_type_local;\
firstNode->mData.value_type_local::~value_type_local();\
\
RecycleNode( firstNode );\
\
firstNode = next;\
\
--mSize;\
}\
}\
\
inline void remove(const value_type& value)\
{\
for( iterator i = begin(); i != end(); ++i )\
\
if ( (*i) == value ) \
{\
erase( i ); break;\
}\
}\
\
void sort()\
{\
if ( mSize < 2 ) return;\
\
iterator from = begin();\
iterator other_end = end();\
--other_end;\
\
for( size_type i = 0; i != mSize; ++i )\
{\
size_type nSwaps = 0;\
\
iterator next = begin();\
++next;\
\
for( iterator j = begin(); j != other_end; ++j )\
{\
\
if ( (*next) < (*j) )\
{\
value_type tmp = (*j);\
(*j) = (*next);\
(*next) = tmp;\
\
++nSwaps;\
}\
\
++next;\
}\
\
if ( !nSwaps) break;\
\
--other_end;\
}\
}\
}
// defines list class with the given element type
#define WXSTL_LIST(ELEMENT_CLASS) __DEFINE_STL_LIST(\
\
_WXSTL_LIST_##ELEMENT_CLASS, ELEMENT_CLASS )
#endif

View File

@@ -1,857 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: No names yet.
// Purpose: Contrib. demo
// Author: Aleksandras Gluchovas
// Modified by:
// Created: 27/09/98
// RCS-ID: $Id$
// Copyright: (c) Aleskandars Gluchovas
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef __WXSTLVEC_G__
#define __WXSTLVEC_G__
#include <memory.h>
#include <string.h> // imports memmove()
#include <stddef.h>
#include <sys/types.h>
#include <limits.h>
#include <new>
// the below macro used internally (see actual interface after this macro)
#define __DEFINE_STL_VECTOR_DEEP( vectorClass, Type ) class vectorClass {\
\
public:\
typedef Type value_type;\
typedef value_type* iterator;\
typedef const value_type* const_iterator;\
typedef iterator pointer;\
typedef const iterator const_pointer;\
typedef value_type& reference;\
typedef const value_type& const_reference;\
typedef size_t size_type;\
typedef ptrdiff_t difference_type;\
\
typedef iterator OutputIterator;\
typedef const_iterator InputIterator;\
\
protected:\
\
inline void PlacementCopy( const_iterator first, const_iterator last, iterator result )\
{\
while ( first != last ) \
new (result++) value_type(*first++);\
}\
\
inline void ConstructObjects( iterator first, iterator last, const value_type& pattern )\
{\
while( first != last ) \
new (first++) value_type(pattern);\
}\
\
inline void CopyObjects( iterator first, iterator last, iterator result )\
{\
while( first != last ) \
*result++ = *first++;\
}\
\
inline void CopyObjectsBack( iterator first, iterator last, iterator result )\
{\
result += difference_type(last,first);\
\
while( first != last ) \
*(--result) = *(--last);\
}\
\
public:\
\
class reverse_iterator \
{\
friend class vectorClass;\
friend class const_reverse_iterator;\
\
public:\
iterator mpPos;\
\
public:\
\
reverse_iterator() {}\
\
reverse_iterator ( iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline reverse_iterator operator--(int)\
{\
reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline reverse_iterator operator++(int)\
{\
reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
\
class const_reverse_iterator \
{\
protected:\
iterator mpPos;\
public:\
\
const_reverse_iterator() {}\
\
const_reverse_iterator( const iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const const_reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const const_reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline const_reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const const_reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator--(int)\
{\
const_reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const const_reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator++(int)\
{\
const_reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
protected:\
\
pointer mpStart;\
pointer mpEnd;\
pointer mpEndOfBuf;\
\
protected:\
\
inline void quick_sort(int low, int hi) \
{\
int pivot_index;\
int left, right;\
\
pivot_index = ( !(mpStart[low] < mpStart[low+1])) ? low : (low+1);\
value_type pivot_value = mpStart[pivot_index];\
\
left = low; right = hi;\
do \
{\
while ((left <= hi) && (mpStart[left] < pivot_value)) left++;\
\
while ((right >= low) && (pivot_value < mpStart[right])) right--;\
\
if (left <= right) \
{\
value_type tmp = mpStart[left];\
mpStart[left] = mpStart[right];\
mpStart[right] = tmp;\
\
left++;\
right--;\
}\
\
} while (left <= right);\
if (low < right) quick_sort(low, right);\
if (left < hi) quick_sort(left, hi);\
}\
\
inline void DestructRange( iterator first, iterator last )\
{\
typedef value_type value_type_local;\
\
while ( first != last ) \
{\
first->value_type_local::~value_type_local();\
++first;\
}\
}\
\
inline iterator DoInsert(iterator position, const value_type& x)\
{\
if ( mpEnd < mpEndOfBuf )\
{\
new (mpEnd) value_type(*(mpEnd-1) );\
\
CopyObjectsBack( position, mpEnd, position + 1 );\
\
*position = x;\
\
++mpEnd;\
\
return position;\
}\
\
size_type minBufLen = WXSTL_VECTOR_MIN_BUF_SIZE/sizeof(value_type);\
\
size_type doubledSize = size()*2;\
\
size_type newLen = ( doubledSize < minBufLen ) ? minBufLen : doubledSize;\
\
iterator pNewStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( mpStart, position, pNewStart );\
\
iterator atPosition = pNewStart + difference_type( position - mpStart );\
\
new (atPosition) value_type(x);\
\
iterator newPos = atPosition;\
\
++atPosition;\
\
if ( mpStart ) \
{\
PlacementCopy( position, mpEnd, atPosition );\
DestructRange( mpStart, mpEnd );\
delete [](char*)mpStart;\
}\
\
mpEnd = atPosition + difference_type( mpEnd - position );\
\
mpStart = pNewStart;\
mpEndOfBuf = pNewStart + newLen;\
\
return newPos;\
}\
\
public:\
\
inline vectorClass() : mpStart(0), \
mpEnd(0),\
mpEndOfBuf(0)\
{}\
\
inline vectorClass( const_iterator first, const_iterator last )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ while( first != last ) push_back( *first++ ); }\
\
inline vectorClass( size_type n, const value_type& value = value_type() )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ for( size_type i = 0; i != n; ++i ) push_back( value ); }\
\
inline int operator==( const vectorClass& other )\
{\
size_type sz = size();\
\
if ( sz != other.size() ) return 0;\
\
for( size_type i = 0; i != sz; ++i )\
\
if ( !( (*this)[i] == other[i] ) ) return 0;\
\
return 1;\
\
}\
\
inline const vectorClass& operator=( const vectorClass& other )\
{\
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
\
size_t newLen = difference_type( other.mpEndOfBuf - other.mpStart );\
\
mpStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( other.begin(), other.end(), mpStart );\
\
mpEnd = mpStart + other.size();\
\
mpEndOfBuf = mpStart + newLen;\
\
return *this;\
}\
\
inline vectorClass( const vectorClass& other )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
{\
this->operator=( other );\
}\
\
inline ~vectorClass() \
{ \
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
}\
\
inline iterator begin() { return mpStart; }\
\
inline const_iterator begin() const { return mpStart; }\
\
inline iterator end() { return mpEnd; }\
\
inline const_iterator end() const { return mpEnd; }\
\
inline size_type size() const { return (size_type)difference_type(mpEnd-mpStart); }\
\
inline size_type max_size() const { return UINT_MAX/sizeof(value_type); }\
\
inline size_type capacity() const \
{ return difference_type(mpEndOfBuf-mpStart)/sizeof(value_type); }\
\
inline int empty() const { return mpStart == mpEnd; }\
\
inline reference operator[](size_type n) { return *(mpStart+n); }\
\
inline const_reference operator[](size_type n) const { return *(mpStart+n); }\
\
inline reference front() { return (*mpStart); }\
\
inline const_reference front() const { return (*mpStart); }\
\
inline reference back() { return (*(mpEnd-1)); }\
\
inline const_reference back() const { return (*(mpEnd-1)); }\
\
inline void reserve(size_type n) {}\
\
inline void push_back(const value_type& x)\
{\
if ( mpEnd != mpEndOfBuf ) \
{\
new (mpEnd) value_type(x);\
++mpEnd;\
}\
else\
DoInsert( mpEnd, x );\
}\
\
inline iterator insert(iterator position, const value_type& x = value_type())\
{\
if ( position == mpEnd && mpEnd != mpEndOfBuf )\
{\
new (mpEnd) value_type(x);\
++mpEnd;\
return (mpEnd-1);\
}\
else return DoInsert( position, x );\
}\
\
inline void pop_back()\
{\
DestructRange( mpEnd-1, mpEnd );\
\
--mpEnd;\
}\
\
inline void erase(iterator first, iterator last)\
{\
if ( last == mpEnd )\
{\
DestructRange( first, last );\
mpEnd = first;\
return;\
}\
\
CopyObjects( last, last + difference_type( mpEnd - last ), first );\
\
iterator newEnd = mpEnd - difference_type( last - first );\
DestructRange( newEnd, mpEnd );\
\
mpEnd = newEnd;\
}\
\
inline void erase( iterator position )\
{\
erase( position, position + 1 );\
}\
\
inline void sort()\
{\
if ( size() < 2 ) return;\
quick_sort( 0, size()-1 );\
}\
}
/////////////////////////////// shallow-copy container ///////////////////////
#define __DEFINE_STL_VECTOR_SHALLOW( vectorClass, Type ) class vectorClass {\
\
public:\
typedef Type value_type;\
typedef value_type* iterator;\
typedef const value_type* const_iterator;\
typedef iterator pointer;\
typedef const iterator const_pointer;\
typedef value_type& reference;\
typedef const value_type& const_reference;\
typedef size_t size_type;\
typedef ptrdiff_t difference_type;\
\
typedef iterator OutputIterator;\
typedef const_iterator InputIterator;\
\
protected:\
\
inline void PlacementCopy( const_iterator first, const_iterator last, iterator result )\
{\
memcpy(result, first, int(difference_type(last-first)*sizeof(value_type)) );\
}\
\
inline void ConstructObjects( iterator first, iterator last, const value_type& pattern )\
{\
if ( sizeof(pattern) == 1 )\
\
memset( first, int(difference_type(last-first)/sizeof(value_type)), \
int(*((char*)&pattern)) );\
else\
while( first != last ) \
*first++ = pattern;\
}\
\
inline void CopyObjects( iterator first, iterator last, iterator result )\
{\
memcpy(result, first, int(difference_type(last-first)*sizeof(value_type)) );\
}\
\
inline void CopyObjectsBack( iterator first, iterator last, iterator result )\
{\
memmove(result, first, int(difference_type(last-first)*sizeof(value_type)) );\
}\
\
public:\
\
class reverse_iterator \
{\
friend class vectorClass;\
friend class const_reverse_iterator;\
\
public:\
iterator mpPos;\
\
public:\
\
reverse_iterator() {}\
\
reverse_iterator ( iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline reverse_iterator operator--(int)\
{\
reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline reverse_iterator operator++(int)\
{\
reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
\
class const_reverse_iterator \
{\
protected:\
iterator mpPos;\
public:\
\
const_reverse_iterator() {}\
\
const_reverse_iterator( const iterator pPos )\
{\
mpPos = pPos;\
}\
\
int operator==( const const_reverse_iterator& rhs ) const { return (mpPos == rhs.mpPos); }\
int operator!=( const const_reverse_iterator& rhs ) const { return (mpPos != rhs.mpPos); }\
\
inline const_reverse_iterator( const reverse_iterator& other )\
{\
mpPos = other.mpPos;\
}\
\
inline const const_reverse_iterator& operator--() \
{\
--mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator--(int)\
{\
const_reverse_iterator tmp = *this;\
--mpPos;\
return tmp;\
}\
\
inline const const_reverse_iterator & operator++() \
{\
++mpPos;\
return *this;\
}\
\
inline const_reverse_iterator operator++(int)\
{\
const_reverse_iterator tmp = *this;\
++mpPos;\
return tmp;\
}\
\
inline const_reference operator*() const { return *mpPos; }\
};\
\
protected:\
\
pointer mpStart;\
pointer mpEnd;\
pointer mpEndOfBuf;\
\
protected:\
\
inline void quick_sort(int low, int hi) \
{\
int pivot_index;\
int left, right;\
\
pivot_index = ( !(mpStart[low] < mpStart[low+1])) ? low : (low+1);\
value_type pivot_value = mpStart[pivot_index];\
\
left = low; right = hi;\
do \
{\
while ((left <= hi) && (mpStart[left] < pivot_value)) left++;\
\
while ((right >= low) && (pivot_value < mpStart[right])) right--;\
\
if (left <= right) \
{\
value_type tmp = mpStart[left];\
mpStart[left] = mpStart[right];\
mpStart[right] = tmp;\
\
left++;\
right--;\
}\
\
} while (left <= right);\
if (low < right) quick_sort(low, right);\
if (left < hi) quick_sort(left, hi);\
}\
\
inline void DestructRange( iterator first, iterator last )\
{\
}\
\
inline iterator DoInsert(iterator position, const value_type& x)\
{\
if ( mpEnd < mpEndOfBuf )\
{\
new (mpEnd) value_type(*(mpEnd-1) );\
\
CopyObjectsBack( position, mpEnd, position + 1 );\
\
*position = x;\
\
++mpEnd;\
\
return position;\
}\
\
size_type minBufLen = WXSTL_VECTOR_MIN_BUF_SIZE/sizeof(value_type);\
\
size_type doubledSize = size()*2;\
\
size_type newLen = ( doubledSize < minBufLen ) ? minBufLen : doubledSize;\
\
iterator pNewStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( mpStart, position, pNewStart );\
\
iterator atPosition = pNewStart + difference_type( position - mpStart );\
\
new (atPosition) value_type(x);\
\
iterator newPos = atPosition;\
\
++atPosition;\
\
if ( mpStart ) \
{\
PlacementCopy( position, mpEnd, atPosition );\
DestructRange( mpStart, mpEnd );\
delete [](char*)mpStart;\
}\
\
mpEnd = atPosition + difference_type( mpEnd - position );\
\
mpStart = pNewStart;\
mpEndOfBuf = pNewStart + newLen;\
\
return newPos;\
}\
\
public:\
\
inline vectorClass() : mpStart(0), \
mpEnd(0),\
mpEndOfBuf(0)\
{}\
\
inline vectorClass( const_iterator first, const_iterator last )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ while( first != last ) push_back( *first++ ); }\
\
inline vectorClass( size_type n, const value_type& value = value_type() )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
\
{ for( size_type i = 0; i != n; ++i ) push_back( value ); }\
\
inline int operator==( const vectorClass& other )\
{\
size_type sz = size();\
\
if ( sz != other.size() ) return 0;\
\
for( size_type i = 0; i != sz; ++i )\
\
if ( !( (*this)[i] == other[i] ) ) return 0;\
\
return 1;\
\
}\
\
inline const vectorClass& operator=( const vectorClass& other )\
{\
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
\
size_t newLen = difference_type( other.mpEndOfBuf - other.mpStart );\
\
mpStart = (iterator)( new char[newLen*sizeof(value_type)] );\
\
PlacementCopy( other.begin(), other.end(), mpStart );\
\
mpEnd = mpStart + other.size();\
\
mpEndOfBuf = mpStart + newLen;\
\
return *this;\
}\
\
inline vectorClass( const vectorClass& other )\
: mpStart(0),\
mpEnd(0),\
mpEndOfBuf(0)\
{\
this->operator=( other );\
}\
\
inline ~vectorClass() \
{ \
if (mpStart) \
{\
DestructRange( begin(), end() );\
delete [](char*)mpStart; \
}\
}\
\
inline iterator begin() { return mpStart; }\
\
inline const_iterator begin() const { return mpStart; }\
\
inline iterator end() { return mpEnd; }\
\
inline const_iterator end() const { return mpEnd; }\
\
inline size_type size() const { return (size_type)difference_type(mpEnd-mpStart); }\
\
inline size_type max_size() const { return UINT_MAX/sizeof(value_type); }\
\
inline size_type capacity() const \
{ return difference_type(mpEndOfBuf-mpStart)/sizeof(value_type); }\
\
inline int empty() const { return mpStart == mpEnd; }\
\
inline reference operator[](size_type n) { return *(mpStart+n); }\
\
inline const_reference operator[](size_type n) const { return *(mpStart+n); }\
\
inline reference front() { return (*mpStart); }\
\
inline const_reference front() const { return (*mpStart); }\
\
inline reference back() { return (*(mpEnd-1)); }\
\
inline const_reference back() const { return (*(mpEnd-1)); }\
\
inline void reserve(size_type n) {}\
\
inline void push_back(const value_type& x)\
{\
if ( mpEnd != mpEndOfBuf ) \
{\
new (mpEnd) value_type(x);\
++mpEnd;\
}\
else\
DoInsert( mpEnd, x );\
}\
\
inline iterator insert(iterator position, const value_type& x = value_type())\
{\
if ( position == mpEnd && mpEnd != mpEndOfBuf )\
{\
new (mpEnd) value_type(x);\
++mpEnd;\
return (mpEnd-1);\
}\
else return DoInsert( position, x );\
}\
\
inline void pop_back()\
{\
DestructRange( mpEnd-1, mpEnd );\
\
--mpEnd;\
}\
\
inline void erase(iterator first, iterator last)\
{\
if ( last == mpEnd )\
{\
DestructRange( first, last );\
mpEnd = first;\
return;\
}\
\
CopyObjects( last, last + difference_type( mpEnd - last ), first );\
\
iterator newEnd = mpEnd - difference_type( last - first );\
DestructRange( newEnd, mpEnd );\
\
mpEnd = newEnd;\
}\
\
inline void erase( iterator position )\
{\
erase( position, position + 1 );\
}\
\
inline void sort()\
{\
if ( size() < 2 ) return;\
quick_sort( 0, size()-1 );\
}\
}
// redefine below symbol to change the default allocation unit of vector content buffer
#define WXSTL_VECTOR_MIN_BUF_SIZE 64
// defines vector class, where objects are copied
// using "deep-copy" sematics (i.e. by calling their copy constructors)
#define WXSTL_VECTOR(ELEMENT_CLASS) \
__DEFINE_STL_VECTOR_DEEP(_WXSTL_VECTOR_##ELEMENT_CLASS, ELEMENT_CLASS)
// defines vector class, where objects are copied
// using "shallow-copy" sematics (i.e. instead of calling
// their constructors, memcpy() and memmove() are used to copy their raw data)
#define WXSTL_VECTOR_SHALLOW_COPY(ELEMENT_CLASS) __DEFINE_STL_VECTOR_SHALLOW(_WXSTL_VECTORSC_##ELEMENT_CLASS, ELEMENT_CLASS)
#endif

View File

@@ -1,10 +0,0 @@
sedscript
Makefile.pre
Setup
config.c
Makefile
*.obj
*.pch
*.lib
*.exp

View File

@@ -1,21 +0,0 @@
Aug. 2 1999 Harm van der Heijden
What's in here:
Makefile.pre.in
A custom Makefile.pre.in, originally by Robin Dunn as part of the
wxPython source distribution. Intented for separate wxPython
modules, it should require little or no modification for other
module projects. In these modules they are all identical, except
the one for glcanvas (copies gtk/glcanvas from elsewhere)
Setup.in
A custom Setup.in for building the modules below. It expects to find
the wxPython source dir in the directory specified by WXP_SRCDIR.
All modules are linked agains libwx_pymodule.so, which should
contain the SWIG runtime code and wxPython's helpers.cpp code.
makefile.vc
Very small makefile (list of variable's really). It has a big
brother, makeinc.vc, in the modules dir which is shared by all
modules and does the real work.

View File

@@ -1 +0,0 @@
*~

View File

@@ -1 +0,0 @@
*~

View File

@@ -1,7 +0,0 @@
Makefile
build.local
utilsc.exp
utilsc.ilk
utilsc.pch
utilsc.pyd
wxp.pch

View File

@@ -1,5 +0,0 @@
# -*- python -*-
MODULE = 'utilsc'
SWIGFILES = ['utils.i', ]

File diff suppressed because it is too large Load Diff

View File

@@ -1,111 +0,0 @@
# This file was created automatically by SWIG.
import utilsc
class wxConfigPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,utilsc=utilsc):
if self.thisown == 1 :
utilsc.delete_wxConfig(self)
def DontCreateOnDemand(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DontCreateOnDemand,(self,) + _args, _kwargs)
return val
def DeleteAll(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteAll,(self,) + _args, _kwargs)
return val
def DeleteEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteEntry,(self,) + _args, _kwargs)
return val
def DeleteGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteGroup,(self,) + _args, _kwargs)
return val
def Exists(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Exists,(self,) + _args, _kwargs)
return val
def Flush(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Flush,(self,) + _args, _kwargs)
return val
def GetAppName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetAppName,(self,) + _args, _kwargs)
return val
def GetFirstGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstGroup,(self,) + _args, _kwargs)
return val
def GetFirstEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstEntry,(self,) + _args, _kwargs)
return val
def GetNextGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextGroup,(self,) + _args, _kwargs)
return val
def GetNextEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextEntry,(self,) + _args, _kwargs)
return val
def GetNumberOfEntries(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfEntries,(self,) + _args, _kwargs)
return val
def GetNumberOfGroups(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfGroups,(self,) + _args, _kwargs)
return val
def GetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetPath,(self,) + _args, _kwargs)
return val
def GetVendorName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetVendorName,(self,) + _args, _kwargs)
return val
def HasEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasEntry,(self,) + _args, _kwargs)
return val
def HasGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasGroup,(self,) + _args, _kwargs)
return val
def IsExpandingEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsExpandingEnvVars,(self,) + _args, _kwargs)
return val
def IsRecordingDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsRecordingDefaults,(self,) + _args, _kwargs)
return val
def Read(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Read,(self,) + _args, _kwargs)
return val
def ReadInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadInt,(self,) + _args, _kwargs)
return val
def ReadFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadFloat,(self,) + _args, _kwargs)
return val
def SetExpandEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetExpandEnvVars,(self,) + _args, _kwargs)
return val
def SetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetPath,(self,) + _args, _kwargs)
return val
def SetRecordDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetRecordDefaults,(self,) + _args, _kwargs)
return val
def Write(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Write,(self,) + _args, _kwargs)
return val
def WriteInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteInt,(self,) + _args, _kwargs)
return val
def WriteFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteFloat,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxConfig instance at %s>" % (self.this,)
class wxConfig(wxConfigPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(utilsc.new_wxConfig,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

File diff suppressed because it is too large Load Diff

View File

@@ -1,111 +0,0 @@
# This file was created automatically by SWIG.
import utilsc
class wxConfigPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def __del__(self,utilsc=utilsc):
if self.thisown == 1 :
utilsc.delete_wxConfig(self)
def DontCreateOnDemand(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DontCreateOnDemand,(self,) + _args, _kwargs)
return val
def DeleteAll(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteAll,(self,) + _args, _kwargs)
return val
def DeleteEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteEntry,(self,) + _args, _kwargs)
return val
def DeleteGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_DeleteGroup,(self,) + _args, _kwargs)
return val
def Exists(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Exists,(self,) + _args, _kwargs)
return val
def Flush(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Flush,(self,) + _args, _kwargs)
return val
def GetAppName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetAppName,(self,) + _args, _kwargs)
return val
def GetFirstGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstGroup,(self,) + _args, _kwargs)
return val
def GetFirstEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetFirstEntry,(self,) + _args, _kwargs)
return val
def GetNextGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextGroup,(self,) + _args, _kwargs)
return val
def GetNextEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNextEntry,(self,) + _args, _kwargs)
return val
def GetNumberOfEntries(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfEntries,(self,) + _args, _kwargs)
return val
def GetNumberOfGroups(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetNumberOfGroups,(self,) + _args, _kwargs)
return val
def GetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetPath,(self,) + _args, _kwargs)
return val
def GetVendorName(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_GetVendorName,(self,) + _args, _kwargs)
return val
def HasEntry(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasEntry,(self,) + _args, _kwargs)
return val
def HasGroup(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_HasGroup,(self,) + _args, _kwargs)
return val
def IsExpandingEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsExpandingEnvVars,(self,) + _args, _kwargs)
return val
def IsRecordingDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_IsRecordingDefaults,(self,) + _args, _kwargs)
return val
def Read(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Read,(self,) + _args, _kwargs)
return val
def ReadInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadInt,(self,) + _args, _kwargs)
return val
def ReadFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_ReadFloat,(self,) + _args, _kwargs)
return val
def SetExpandEnvVars(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetExpandEnvVars,(self,) + _args, _kwargs)
return val
def SetPath(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetPath,(self,) + _args, _kwargs)
return val
def SetRecordDefaults(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_SetRecordDefaults,(self,) + _args, _kwargs)
return val
def Write(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_Write,(self,) + _args, _kwargs)
return val
def WriteInt(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteInt,(self,) + _args, _kwargs)
return val
def WriteFloat(self, *_args, **_kwargs):
val = apply(utilsc.wxConfig_WriteFloat,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxConfig instance at %s>" % (self.this,)
class wxConfig(wxConfigPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(utilsc.new_wxConfig,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
#-------------- VARIABLE WRAPPERS ------------------

View File

@@ -1,139 +0,0 @@
/////////////////////////////////////////////////////////////////////////////
// Name: utils.i
// Purpose: SWIG definitions of various utility classes
//
// Author: Robin Dunn
//
// Created: 25-nov-1998
// RCS-ID: $Id$
// Copyright: (c) 1998 by Total Control Software
// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
%module utils
%{
#include "helpers.h"
#include <wx/config.h>
%}
//---------------------------------------------------------------------------
%include typemaps.i
%include my_typemaps.i
%{
#if defined(__WXMSW__)
static wxString wxPyEmptyStr("");
#endif
%}
%{
static PyObject* __EnumerationHelper(bool flag, wxString& str, long index) {
PyObject* ret = PyTuple_New(3);
if (ret) {
PyTuple_SET_ITEM(ret, 0, PyInt_FromLong(flag));
PyTuple_SET_ITEM(ret, 1, PyString_FromString(str));
PyTuple_SET_ITEM(ret, 2, PyInt_FromLong(index));
}
return ret;
}
%}
//---------------------------------------------------------------------------
class wxConfig {
public:
wxConfig(const wxString& appName = wxPyEmptyStr,
const wxString& vendorName = wxPyEmptyStr,
const wxString& localFilename = wxPyEmptyStr,
const wxString& globalFilename = wxPyEmptyStr,
long style = 0);
~wxConfig();
void DontCreateOnDemand();
bool DeleteAll(); // This is supposed to have been fixed...
bool DeleteEntry(const wxString& key, bool bDeleteGroupIfEmpty = TRUE);
bool DeleteGroup(const wxString& key);
bool Exists(wxString& strName);
bool Flush(bool bCurrentOnly = FALSE);
wxString GetAppName();
// Each of these enumeration methods return a 3-tuple consisting of
// the continue flag, the value string, and the index for the next call.
%addmethods {
PyObject* GetFirstGroup() {
bool cont;
long index = 0;
wxString value;
cont = self->GetFirstGroup(value, index);
return __EnumerationHelper(cont, value, index);
}
PyObject* GetFirstEntry() {
bool cont;
long index = 0;
wxString value;
cont = self->GetFirstEntry(value, index);
return __EnumerationHelper(cont, value, index);
}
PyObject* GetNextGroup(long index) {
bool cont;
wxString value;
cont = self->GetNextGroup(value, index);
return __EnumerationHelper(cont, value, index);
}
PyObject* GetNextEntry(long index) {
bool cont;
wxString value;
cont = self->GetNextEntry(value, index);
return __EnumerationHelper(cont, value, index);
}
}
int GetNumberOfEntries(bool bRecursive = FALSE);
int GetNumberOfGroups(bool bRecursive = FALSE);
wxString GetPath();
wxString GetVendorName();
bool HasEntry(wxString& strName);
bool HasGroup(const wxString& strName);
bool IsExpandingEnvVars();
bool IsRecordingDefaults();
wxString Read(const wxString& key, const wxString& defaultVal = wxPyEmptyStr);
%name(ReadInt)long Read(const wxString& key, long defaultVal = 0);
%name(ReadFloat)double Read(const wxString& key, double defaultVal = 0.0);
void SetExpandEnvVars (bool bDoIt = TRUE);
void SetPath(const wxString& strPath);
void SetRecordDefaults(bool bDoIt = TRUE);
bool Write(const wxString& key, const wxString& value);
%name(WriteInt)bool Write(const wxString& key, long value);
%name(WriteFloat)bool Write(const wxString& key, double value);
};
//---------------------------------------------------------------------------
%init %{
wxClassInfo::CleanUpClasses();
wxClassInfo::InitializeClasses();
%}
//---------------------------------------------------------------------------

View File

@@ -1,2 +0,0 @@
EXPORTS
initutilsc

View File

@@ -1,95 +0,0 @@
# -*- python -*-
import sys
MODULE = 'wxc'
SWIGFILES = ['wx.i', 'windows.i', 'windows2.i', 'windows3.i', 'events.i',
'misc.i', 'misc2.i', 'gdi.i', 'mdi.i', 'controls.i',
'controls2.i', 'cmndlgs.i', 'stattool.i', 'frames.i',
'image.i', 'printfw.i',
]
PYFILES = ['__init__.py']
if sys.platform == 'win32':
RESFILE = 1
SOURCES = ['helpers.cpp', 'libpy.c']
LIBS = '$(PYTHONLIB)'
OTHERRULES = """
dist:
cd ..\..
wxPython\distrib\zipit.bat $(VERSION)
"""
else:
DEFAULTRULE = 'default: $(GENCODEDIR) lib$(HELPERLIB)$(SO) $(TARGET)'
OTHERINSTALLTARGETS = 'installLibDemo installHelpers '
OTHERUNINSTALLTARGETS = 'uninstallLibDemo uninstallHelpers '
OTHERRULES = """
lib$(HELPERLIB)$(SO) : helpers.o libpy.o
$(LDSHARED) helpers.o libpy.o $(LFLAGS) -o $@
installHelpers: $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
$(HELPERLIBDIR)/lib$(HELPERLIB)$(SO) : lib$(HELPERLIB)$(SO)
cp $< $@
@echo ---------------------------------------------------------
@echo You may have to run ldconfig, or set an environment
@echo variable in order for $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
@echo to be found at runtime. See your man pages for ld.so or
@echo equivalent.
@echo ---------------------------------------------------------
installLibDemo:
@if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
mkdir $(TARGETDIR)/lib; \\
mkdir $(TARGETDIR)/lib/sizers; \\
mkdir $(TARGETDIR)/demo; \\
mkdir $(TARGETDIR)/demo/bitmaps; \\
cp ../lib/*.py $(TARGETDIR)/lib; \\
cp ../lib/sizers/*.py $(TARGETDIR)/lib/sizers; \\
cp ../demo/*.py $(TARGETDIR)/demo; \\
cp ../lib/*.txt $(TARGETDIR)/lib; \\
cp ../lib/sizers/*.txt $(TARGETDIR)/lib/sizers; \\
cp ../demo/*.txt $(TARGETDIR)/demo; \\
cp ../demo/bitmaps/[a-z]* $(TARGETDIR)/demo/bitmaps; \\
$(EXECPREFIX)/bin/python $(PYLIB)/compileall.py $(TARGETDIR); \\
$(EXECPREFIX)/bin/python -O $(PYLIB)/compileall.py $(TARGETDIR); \\
fi
uninstallLibDemo:
@if [ "$(TARGETDIR)" != ".." -a "$(TARGETDIR)" != "$(WXWIN)/utils/wxPython" ]; then \\
rm -rf $(TARGETDIR)/lib; \\
rm -rf $(TARGETDIR)/demo; \\
fi
uninstallHelpers:
rm -f $(HELPERLIBDIR)/lib$(HELPERLIB)$(SO)
#----------------------------------------------------------------------
dist: tgz rpm
tgz:
cd ../..; wxPython/distrib/maketgz $(VERSION)
rpm:
cd ../distrib; ./makerpm $(VERSION)
"""

View File

@@ -1,576 +0,0 @@
/*
* FILE : gtk/misc2.cpp
*
* This file was automatically generated by :
* Simplified Wrapper and Interface Generator (SWIG)
* Version 1.1 (Patch 6)
*
* Portions Copyright (c) 1995-1998
* The University of Utah and The Regents of the University of California.
* Permission is granted to distribute this file in any manner provided
* this notice remains intact.
*
* Do not make changes to this file--changes will be lost!
*
*/
#define SWIGCODE
/* Implementation : PYTHON */
#define SWIGPYTHON
#include <string.h>
#include <stdlib.h>
/* Definitions for Windows/Unix exporting */
#if defined(__WIN32__)
# if defined(_MSC_VER)
# define SWIGEXPORT(a) __declspec(dllexport) a
# else
# if defined(__BORLANDC__)
# define SWIGEXPORT(a) a _export
# else
# define SWIGEXPORT(a) a
# endif
# endif
#else
# define SWIGEXPORT(a) a
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include "Python.h"
extern void SWIG_MakePtr(char *, void *, char *);
extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
extern char *SWIG_GetPtr(char *, void **, char *);
extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
extern PyObject *SWIG_newvarlink(void);
#ifdef __cplusplus
}
#endif
#define SWIG_init initmisc2c
#define SWIG_name "misc2c"
#include "helpers.h"
#include <wx/resource.h>
#include <wx/tooltip.h>
static PyObject* l_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyList_Check(target)) {
o2 = target;
target = PyList_New(0);
PyList_Append(target, o2);
Py_XDECREF(o2);
}
PyList_Append(target,o);
Py_XDECREF(o);
}
return target;
}
static PyObject* t_output_helper(PyObject* target, PyObject* o) {
PyObject* o2;
PyObject* o3;
if (!target) {
target = o;
} else if (target == Py_None) {
Py_DECREF(Py_None);
target = o;
} else {
if (!PyTuple_Check(target)) {
o2 = target;
target = PyTuple_New(1);
PyTuple_SetItem(target, 0, o2);
}
o3 = PyTuple_New(1);
PyTuple_SetItem(o3, 0, o);
o2 = target;
target = PySequence_Concat(o2, o3);
Py_DECREF(o2);
Py_DECREF(o3);
}
return target;
}
extern byte* byte_LIST_helper(PyObject* source);
extern int* int_LIST_helper(PyObject* source);
extern long* long_LIST_helper(PyObject* source);
extern char** string_LIST_helper(PyObject* source);
extern wxPoint* wxPoint_LIST_helper(PyObject* source);
extern wxBitmap** wxBitmap_LIST_helper(PyObject* source);
extern wxString* wxString_LIST_helper(PyObject* source);
extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
static char* wxStringErrorMsg = "string type is required for parameter";
void wxToolTip_Enable(bool flag) {
wxToolTip::Enable(flag);
}
void wxToolTip_SetDelay(long milliseconds) {
wxToolTip::SetDelay(milliseconds);
}
#ifdef __cplusplus
extern "C" {
#endif
static PyObject *_wrap_wxFindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxString * _arg0;
wxWindow * _arg1 = (wxWindow *) NULL;
PyObject * _obj0 = 0;
PyObject * _argo1 = 0;
char *_kwnames[] = { "label","parent", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByLabel",_kwnames,&_obj0,&_argo1))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
if (_argo1) {
if (_argo1 == Py_None) { _arg1 = NULL; }
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxFindWindowByLabel(*_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
static PyObject *_wrap_wxFindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxString * _arg0;
wxWindow * _arg1 = (wxWindow *) NULL;
PyObject * _obj0 = 0;
PyObject * _argo1 = 0;
char *_kwnames[] = { "name","parent", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxFindWindowByName",_kwnames,&_obj0,&_argo1))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
if (_argo1) {
if (_argo1 == Py_None) { _arg1 = NULL; }
else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxWindow_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxFindWindowByName(*_arg0,_arg1);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
static PyObject *_wrap_wxToolTip_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
bool _arg0;
int tempbool0;
char *_kwnames[] = { "flag", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"i:wxToolTip_Enable",_kwnames,&tempbool0))
return NULL;
_arg0 = (bool ) tempbool0;
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_Enable(_arg0);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
static PyObject *_wrap_wxToolTip_SetDelay(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
long _arg0;
char *_kwnames[] = { "milliseconds", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"l:wxToolTip_SetDelay",_kwnames,&_arg0))
return NULL;
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_SetDelay(_arg0);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
return _resultobj;
}
#define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
static PyObject *_wrap_new_wxToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxToolTip * _result;
wxString * _arg0;
PyObject * _obj0 = 0;
char *_kwnames[] = { "tip", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:new_wxToolTip",_kwnames,&_obj0))
return NULL;
{
if (!PyString_Check(_obj0)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg0 = new wxString(PyString_AsString(_obj0), PyString_Size(_obj0));
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxToolTip *)new_wxToolTip(*_arg0);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxToolTip_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
{
if (_obj0)
delete _arg0;
}
return _resultobj;
}
#define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
static PyObject *_wrap_wxToolTip_SetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxToolTip * _arg0;
wxString * _arg1;
PyObject * _argo0 = 0;
PyObject * _obj1 = 0;
char *_kwnames[] = { "self","tip", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxToolTip_SetTip",_kwnames,&_argo0,&_obj1))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
return NULL;
}
}
{
if (!PyString_Check(_obj1)) {
PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
return NULL;
}
_arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
}
{
wxPy_BEGIN_ALLOW_THREADS;
wxToolTip_SetTip(_arg0,*_arg1);
wxPy_END_ALLOW_THREADS;
} Py_INCREF(Py_None);
_resultobj = Py_None;
{
if (_obj1)
delete _arg1;
}
return _resultobj;
}
#define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
static PyObject *_wrap_wxToolTip_GetTip(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxString * _result;
wxToolTip * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetTip",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = new wxString (wxToolTip_GetTip(_arg0));
wxPy_END_ALLOW_THREADS;
}{
_resultobj = PyString_FromString(WXSTRINGCAST *(_result));
}
{
delete _result;
}
return _resultobj;
}
#define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
static PyObject *_wrap_wxToolTip_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
PyObject * _resultobj;
wxWindow * _result;
wxToolTip * _arg0;
PyObject * _argo0 = 0;
char *_kwnames[] = { "self", NULL };
char _ptemp[128];
self = self;
if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxToolTip_GetWindow",_kwnames,&_argo0))
return NULL;
if (_argo0) {
if (_argo0 == Py_None) { _arg0 = NULL; }
else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxToolTip_p")) {
PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
return NULL;
}
}
{
wxPy_BEGIN_ALLOW_THREADS;
_result = (wxWindow *)wxToolTip_GetWindow(_arg0);
wxPy_END_ALLOW_THREADS;
} if (_result) {
SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
_resultobj = Py_BuildValue("s",_ptemp);
} else {
Py_INCREF(Py_None);
_resultobj = Py_None;
}
return _resultobj;
}
static PyMethodDef misc2cMethods[] = {
{ "wxToolTip_GetWindow", (PyCFunction) _wrap_wxToolTip_GetWindow, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_GetTip", (PyCFunction) _wrap_wxToolTip_GetTip, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_SetTip", (PyCFunction) _wrap_wxToolTip_SetTip, METH_VARARGS | METH_KEYWORDS },
{ "new_wxToolTip", (PyCFunction) _wrap_new_wxToolTip, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_SetDelay", (PyCFunction) _wrap_wxToolTip_SetDelay, METH_VARARGS | METH_KEYWORDS },
{ "wxToolTip_Enable", (PyCFunction) _wrap_wxToolTip_Enable, METH_VARARGS | METH_KEYWORDS },
{ "wxFindWindowByName", (PyCFunction) _wrap_wxFindWindowByName, METH_VARARGS | METH_KEYWORDS },
{ "wxFindWindowByLabel", (PyCFunction) _wrap_wxFindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
{ NULL, NULL }
};
#ifdef __cplusplus
}
#endif
/*
* This table is used by the pointer type-checker
*/
static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
{ "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
{ "_signed_long","_long",0},
{ "_wxPrintQuality","_int",0},
{ "_wxPrintQuality","_signed_int",0},
{ "_wxPrintQuality","_unsigned_int",0},
{ "_wxPrintQuality","_wxWindowID",0},
{ "_wxPrintQuality","_uint",0},
{ "_wxPrintQuality","_EBool",0},
{ "_wxPrintQuality","_size_t",0},
{ "_class_wxRegionIterator","_wxRegionIterator",0},
{ "_class_wxMenuBar","_wxMenuBar",0},
{ "_class_wxEvtHandler","_wxEvtHandler",0},
{ "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
{ "_wxCursor","_class_wxCursor",0},
{ "_wxMask","_class_wxMask",0},
{ "_wxToolTip","_class_wxToolTip",0},
{ "_wxPen","_class_wxPen",0},
{ "_byte","_unsigned_char",0},
{ "_long","_wxDash",0},
{ "_long","_unsigned_long",0},
{ "_long","_signed_long",0},
{ "_wxImageList","_class_wxImageList",0},
{ "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
{ "_wxDC","_class_wxDC",0},
{ "_size_t","_wxPrintQuality",0},
{ "_size_t","_unsigned_int",0},
{ "_size_t","_int",0},
{ "_size_t","_wxWindowID",0},
{ "_size_t","_uint",0},
{ "_class_wxRealPoint","_wxRealPoint",0},
{ "_class_wxMenuItem","_wxMenuItem",0},
{ "_class_wxPostScriptDC","_wxPostScriptDC",0},
{ "_wxPanel","_class_wxPanel",0},
{ "_class_wxMask","_wxMask",0},
{ "_class_wxToolTip","_wxToolTip",0},
{ "_wxColour","_class_wxColour",0},
{ "_class_wxDialog","_wxDialog",0},
{ "_wxBrush","_class_wxBrush",0},
{ "_uint","_wxPrintQuality",0},
{ "_uint","_size_t",0},
{ "_uint","_unsigned_int",0},
{ "_uint","_int",0},
{ "_uint","_wxWindowID",0},
{ "_wxRect","_class_wxRect",0},
{ "_wxPoint","_class_wxPoint",0},
{ "_wxBitmap","_class_wxBitmap",0},
{ "_wxPyTimer","_class_wxPyTimer",0},
{ "_wxWindowDC","_class_wxWindowDC",0},
{ "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
{ "_EBool","_wxPrintQuality",0},
{ "_EBool","_signed_int",0},
{ "_EBool","_int",0},
{ "_EBool","_wxWindowID",0},
{ "_class_wxRegion","_wxRegion",0},
{ "_wxFont","_class_wxFont",0},
{ "_unsigned_long","_wxDash",0},
{ "_unsigned_long","_long",0},
{ "_class_wxRect","_wxRect",0},
{ "_class_wxDC","_wxDC",0},
{ "_class_wxPyTimer","_wxPyTimer",0},
{ "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
{ "_class_wxPanel","_wxPanel",0},
{ "_signed_int","_wxPrintQuality",0},
{ "_signed_int","_EBool",0},
{ "_signed_int","_wxWindowID",0},
{ "_signed_int","_int",0},
{ "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
{ "_wxMenu","_class_wxMenu",0},
{ "_wxScreenDC","_class_wxScreenDC",0},
{ "_WXTYPE","_short",0},
{ "_WXTYPE","_signed_short",0},
{ "_WXTYPE","_unsigned_short",0},
{ "_class_wxBrush","_wxBrush",0},
{ "_unsigned_short","_WXTYPE",0},
{ "_unsigned_short","_short",0},
{ "_class_wxWindow","_wxWindow",0},
{ "_class_wxFont","_wxFont",0},
{ "_wxClientDC","_class_wxClientDC",0},
{ "_class_wxPoint","_wxPoint",0},
{ "_wxRealPoint","_class_wxRealPoint",0},
{ "_signed_short","_WXTYPE",0},
{ "_signed_short","_short",0},
{ "_wxMemoryDC","_class_wxMemoryDC",0},
{ "_wxPaintDC","_class_wxPaintDC",0},
{ "_class_wxWindowDC","_wxWindowDC",0},
{ "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
{ "_class_wxCursor","_wxCursor",0},
{ "_wxPostScriptDC","_class_wxPostScriptDC",0},
{ "_wxScrolledWindow","_class_wxScrolledWindow",0},
{ "_unsigned_char","_byte",0},
{ "_class_wxMenu","_wxMenu",0},
{ "_unsigned_int","_wxPrintQuality",0},
{ "_unsigned_int","_size_t",0},
{ "_unsigned_int","_uint",0},
{ "_unsigned_int","_wxWindowID",0},
{ "_unsigned_int","_int",0},
{ "_wxIcon","_class_wxIcon",0},
{ "_wxDialog","_class_wxDialog",0},
{ "_class_wxPen","_wxPen",0},
{ "_short","_WXTYPE",0},
{ "_short","_unsigned_short",0},
{ "_short","_signed_short",0},
{ "_class_wxImageList","_wxImageList",0},
{ "_wxWindowID","_wxPrintQuality",0},
{ "_wxWindowID","_size_t",0},
{ "_wxWindowID","_EBool",0},
{ "_wxWindowID","_uint",0},
{ "_wxWindowID","_int",0},
{ "_wxWindowID","_signed_int",0},
{ "_wxWindowID","_unsigned_int",0},
{ "_int","_wxPrintQuality",0},
{ "_int","_size_t",0},
{ "_int","_EBool",0},
{ "_int","_uint",0},
{ "_int","_wxWindowID",0},
{ "_int","_unsigned_int",0},
{ "_int","_signed_int",0},
{ "_wxSize","_class_wxSize",0},
{ "_wxRegionIterator","_class_wxRegionIterator",0},
{ "_class_wxPaintDC","_wxPaintDC",0},
{ "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
{ "_class_wxIcon","_wxIcon",0},
{ "_class_wxColour","_wxColour",0},
{ "_class_wxScreenDC","_wxScreenDC",0},
{ "_wxPalette","_class_wxPalette",0},
{ "_wxRegion","_class_wxRegion",0},
{ "_class_wxClientDC","_wxClientDC",0},
{ "_class_wxSize","_wxSize",0},
{ "_class_wxBitmap","_wxBitmap",0},
{ "_class_wxMemoryDC","_wxMemoryDC",0},
{ "_wxMenuBar","_class_wxMenuBar",0},
{ "_wxEvtHandler","_class_wxEvtHandler",0},
{ "_wxMenuItem","_class_wxMenuItem",0},
{ "_wxDash","_unsigned_long",0},
{ "_wxDash","_long",0},
{ "_class_wxScrolledWindow","_wxScrolledWindow",0},
{ "_class_wxPalette","_wxPalette",0},
{ "_wxWindow","_class_wxWindow",0},
{0,0,0}};
static PyObject *SWIG_globals;
#ifdef __cplusplus
extern "C"
#endif
SWIGEXPORT(void) initmisc2c() {
PyObject *m, *d;
SWIG_globals = SWIG_newvarlink();
m = Py_InitModule("misc2c", misc2cMethods);
d = PyModule_GetDict(m);
{
int i;
for (i = 0; _swig_mapping[i].n1; i++)
SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
}
}

View File

@@ -1,54 +0,0 @@
# This file was created automatically by SWIG.
import misc2c
from windows import *
from misc import *
from gdi import *
class wxToolTipPtr :
def __init__(self,this):
self.this = this
self.thisown = 0
def SetTip(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
return val
def GetTip(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
return val
def GetWindow(self, *_args, **_kwargs):
val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
if val: val = wxWindowPtr(val)
return val
def __repr__(self):
return "<C wxToolTip instance at %s>" % (self.this,)
class wxToolTip(wxToolTipPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
def wxFindWindowByLabel(*_args, **_kwargs):
val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
if val: val = wxWindowPtr(val)
return val
def wxFindWindowByName(*_args, **_kwargs):
val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
if val: val = wxWindowPtr(val)
return val
wxToolTip_Enable = misc2c.wxToolTip_Enable
wxToolTip_SetDelay = misc2c.wxToolTip_SetDelay
#-------------- VARIABLE WRAPPERS ------------------

File diff suppressed because it is too large Load Diff

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