Commit Graph

16983 Commits

Author SHA1 Message Date
Robin Dunn
a5b317c973 Reverted last change. The page size must be set when it is added in
case the notebook has already been sized by the time the new page is
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:48:18 +00:00
Robin Dunn
d3a5c14ab4 FileExists --> wxFileExists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:46:42 +00:00
Vadim Zeitlin
9df4bbf74c Mac compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-16 22:43:09 +00:00
Václav Slavík
acc4028ecd fix binary incompatiblities in wxHtmlHelpController's cached data bytestream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 22:46:25 +00:00
Stefan Csomor
e3dbaff33f wxNO_FULL_REPAINT_ON_RESIZE implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 16:16:21 +00:00
Julian Smart
91ae025ee2 Fixed wxUSE_THREADS typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 16:02:54 +00:00
Julian Smart
6f45003cae Fixed SString.h for gcc 2.96
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 15:39:35 +00:00
Stefan Csomor
cab1dfd13b added wxBitmap::ConvertToImage code for native icons and pictures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 15:03:20 +00:00
Stefan Csomor
665bb65698 line ending commands under condition of PC endings (added also to WriteText)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 15:01:09 +00:00
David Webster
74587a6b43 More duplicate symbol fixes for VisualAge builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 14:15:17 +00:00
David Webster
32b26030fe More dll updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 14:12:23 +00:00
Vadim Zeitlin
714e26a551 fixed gauge overflow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 13:55:06 +00:00
Vadim Zeitlin
a61aefe37f don't divide by 0 in SetValue/Range(); minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-15 13:25:41 +00:00
Václav Slavík
349ac76e9a given an assert when trying to do something stupid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 22:40:40 +00:00
Václav Slavík
4f3f29fe0a documented wxXmlResourceHandler::IsOfClass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 22:31:50 +00:00
David Webster
bb4f30c0d8 Weekly OS/2 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 21:31:38 +00:00
David Webster
047c8f9bd7 Fixups for duplicate symbols errors under VisualAge C++ for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 20:44:36 +00:00
David Webster
fd9ac68eb7 VISUALAGE OS/2 fixups needed for new Png lib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 20:42:24 +00:00
David Webster
a6e369b062 Getting rid of ctl3d32.lib for command-line builds (not used anymore per Julian).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 19:39:58 +00:00
Stefan Csomor
f9c7ec45b8 added kHighLevelEvent to the group of events that don't need correction of modifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 18:35:06 +00:00
Vadim Zeitlin
64b2a65697 added HasSelection() (forgot to commit yesterday)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 17:25:17 +00:00
Vadim Zeitlin
252b2c1c34 Only set WXUSINGDLL=0 when not set (patch 620174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-14 12:48:08 +00:00
Vadim Zeitlin
800e14138e call Layout() from Show(TRUE) to ensure that all dialogs are correctly laid out initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 22:37:51 +00:00
Robert Roebling
a46cc43fed Combox gets its own SetFocus()
wxDialog() set the focus to itself when shown. This will
    the propagate to some control in the dialog. I am not
    sure if this will override preceding user's call to
    SetFocus() in one of the child windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 21:03:47 +00:00
Robert Roebling
944b29b835 Give wxComboBox an extra SetFocus() method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 21:01:15 +00:00
Vadim Zeitlin
82898ed9df added more tests for SetValue/WriteText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:27:20 +00:00
Vadim Zeitlin
9007386bc8 each of SetValue(), WriteText() and AppendText() now generates exactly one EVT_TEXT() event for all kinds of controls (plain EDIT, rich, rich version 2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:24:00 +00:00
Vadim Zeitlin
e924448838 more typos in #ifs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:13:55 +00:00
Vadim Zeitlin
b0b7a18d2d handle files with .cc extension properly (patch 622687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 19:08:33 +00:00
Vadim Zeitlin
a45376e42f typos in #ifs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 18:37:44 +00:00
Robert Roebling
daa820fd8b Enable direct access to XML data in XRC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 16:19:15 +00:00
Robert Roebling
fbf9b66e03 Shouldn't the fontmapper recognize 8859 as iso-8859?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 14:00:03 +00:00
Robert Roebling
441534fce3 Forgot to convert a string in colour name lookup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 13:22:12 +00:00
Vadim Zeitlin
e328b2a64d fix for cygwin warnings (modified patch 622146)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 12:17:42 +00:00
Vadim Zeitlin
69b0c112e7 fix for spelling error (patch 621869) and use _() instead of _T() for the user visible strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 12:07:59 +00:00
Vadim Zeitlin
06cdbdacb2 clarifications of ENDSCROLL event docs (patch 622424)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 12:05:57 +00:00
Robert Roebling
366f5f1fd0 Commited wheel mouse event patch for GTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 11:13:19 +00:00
Vadim Zeitlin
86181cbde1 added wxLL and wxLongLongFmtSpec macros; documented them; added a test in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 11:02:48 +00:00
Robert Roebling
775462816e Another compiler fix for GCC 3.2 Another compiler fix for GCC 3.2..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 11:02:38 +00:00
Vadim Zeitlin
b1210f9b69 fix VC++ warnings (which could be errors for the other compilers) with returning wx(W)CharBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 10:06:58 +00:00
Vadim Zeitlin
37a911e683 another compilation fix: Unix2DosFilename -> wxUnix2DosFilename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 09:50:36 +00:00
Robert Roebling
3b6b0309b1 Compile fix for GCC 3.2. Don't know why.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 08:17:48 +00:00
Robert Roebling
56089cb7e4 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-13 08:02:41 +00:00
Vadim Zeitlin
16ca2afc73 only define Foo equivalents for wxFoo file functions if WXWIN_COMPATIBILITY_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-12 22:19:26 +00:00
Václav Slavík
9fd7ddfcc5 some more XRC docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:24:47 +00:00
Václav Slavík
68a8e04526 more whitespaces as style deliminers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:23:58 +00:00
Václav Slavík
2bdb21c40b updated MGL installation instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:23:12 +00:00
Václav Slavík
b5cee9c500 don't add files to resources twice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:22:16 +00:00
Václav Slavík
edb22d6af1 added wxHtmlContainerCell::GetBackgroundColour (needed for e.g. widgets rendering)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 22:22:06 +00:00
Vadim Zeitlin
da266dd05c added non const accessors to wx(W)CharBuffer; minor changes to wxMemoryBuffer; made copy ctor and assignment operator argument non const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-11 15:26:43 +00:00