Commit Graph

16983 Commits

Author SHA1 Message Date
Julian Smart
8eca8095e4 Applied patch [ 617262 ] ListCtrl ResetVisibleLinesRange missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 14:03:43 +00:00
Julian Smart
db2995da83 Applied patch [ 616406 ] wxGenericDirCtrl: virtual methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:57:29 +00:00
Julian Smart
f93107bcae Applied patch [ 615769 ] generic wxListCtrl enhancements
implemented a couple of things missing from the generic
wxListCtrl class which make it more similar to the
Windows port

1) implemented wxLIST_FORMAT_RIGHT and wxLIST_FORMAT_CENTER

2) added an ellipsis (...) to the end of the string and
shortened the string to fit inside the allowed width

3) left a margin of 8 pixels between columns so that
the text is not shoved right together

Note this is my first patch to wxWindows. I did read
the patch howto and I think I got it right but please
feel free to bother me about any discrepancies. In
addition, I am not sure if the way I implemented the
new routine to handle the formatting is adequate
performance wise but it doesn't seem to slow things
down too badly on my machine... :-) In addition, if
this routine is accepted, it could also be used for the
header data as well -- thoughts?

Anthony Tuininga


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:54:09 +00:00
Julian Smart
ace9a61933 Applied patch [ 615993 ] CW7 project file patch for v2.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:49:07 +00:00
Julian Smart
97ea5edb3d Applied [ 612802 ] wxSplitterWindow::Unsplit() in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:46:58 +00:00
Julian Smart
d0fd5a294d Applied [ 611204 ] Fixes wxSlider thumb grabbing area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:44:21 +00:00
Julian Smart
af2e6a4295 Applied patch [ 613113 ] "GDI Object" leak in wxOwnerDraw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:42:23 +00:00
Julian Smart
6397b59b65 Applied patch [ 609516 ] AutoSize does not remove scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:38:50 +00:00
Julian Smart
fe3f379193 Applied [ 609518 ] wxImage: const comp. operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:35:52 +00:00
Julian Smart
44b283fef0 Applied patch [ 609361 ] wxDocument::UpdateAllViews()
The sending view won't be updated now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:33:36 +00:00
Julian Smart
5aedd93815 Applied patch [ 613433 ] Makes wxFN::Get/SetTimes work w/ Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:31:18 +00:00
Julian Smart
742e672095 Applied patch [ 613877 ] Fixes word ordering
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:27:46 +00:00
Julian Smart
fc0322d338 Applied patch [ 617438 ] ListCtrl-Sample crashing on sort
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:26:18 +00:00
Julian Smart
dd0d47090a Applied patch [ 610076 ] wxX11&wxGtk fail with --disable-compat22
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 13:24:33 +00:00
Julian Smart
fdfc424e32 Reordered font setting since on wxX11 a mem DC is not valid
until the bitmap is selected into it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 08:11:27 +00:00
Julian Smart
4d1c976da4 Made compilable with --disable-compat22
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 07:54:15 +00:00
Robin Dunn
9d43a2054e SWIGged updates for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:27:21 +00:00
Robin Dunn
970a937c34 Added wxHtmlFilter
Also some minor tweaks and additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:24:38 +00:00
Robin Dunn
8d5e66bc14 Fixes so this sample can be used with wx DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:16:49 +00:00
Robin Dunn
ce500334d8 Added STCDLLEXPORT so wxSTC could be built and used as a DLL.
Fixed DoAddChar handling in unicode mode to translate the char to UTF8
if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-02 00:15:07 +00:00
Vadim Zeitlin
f50b6e1d9b fixed more bugs in SetDirectory/Path/Filename() and centralized m_static update code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 18:43:23 +00:00
Ron Lee
292cc8c93e The menubar dynamic sizing patch broke any app which adds an empty
menubar and populates it later.  Since this is (or at least was)
a valid way to use wxMenuBar before that, we need to recalculate
the size whenever it might change.  (We probably need to do it
anyway for this to be completely useful).   This patch isn't the
cleanest or most efficient way to do that, but it's a minimal
change on a new feature that at least restores compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 15:13:44 +00:00
Robert Roebling
5aee9bc480 Put StringMatch() into #if win_comp_2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 10:30:22 +00:00
Robert Roebling
4ffb82ac32 No leading space in toolbars for GTK 2.0 since they
are drawn as lines.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-10-01 09:24:37 +00:00
Robert Roebling
58b5a13da5 Very incomplete Unicode support for wxTextStream.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 20:48:44 +00:00
Robert Roebling
b1b937339c GTK 2.0 is VERY picky about the realize/map/set_parent order.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 19:30:52 +00:00
Robin Dunn
0fcac944f3 Typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:37:23 +00:00
Robin Dunn
03cd51b0b6 wxFileTypeInfo interface changes and a missing method in wxDateTime
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:36:07 +00:00
Robin Dunn
63a8541c13 More wxTimeCtrl patches from Will Sadkin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 17:33:15 +00:00
Robert Roebling
4a32c38f67 Enable wxMatchWild() for Unicode (under GTK) /
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 16:57:17 +00:00
Robert Roebling
5d0c8a9857 Use glib for wxMatchWild() under Unicode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 16:56:13 +00:00
Robert Roebling
9ca0f57c31 Updated PNG to latest releases. I don't really know
if this fixes the "incompatoble lib version" bug,
   and I actually didn't find any such comment.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 13:23:54 +00:00
Robert Roebling
7fc06f31e1 Removed hack from wxListCtrl that was required
as long as wxGTK sent an incorrect sequence
   of mouse events for dclicks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 13:20:25 +00:00
Robert Roebling
0edfce279c Determin menu bar height dynamically.
Minor sample changes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 10:40:52 +00:00
Robert Roebling
5c3e4ed256 Filter out surplus mouse down event when
a double click event is in the queue.
   This is how MSW does it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-30 10:27:34 +00:00
Julian Smart
5ea82140ee Added some more accelerator possibilities, such as Ctrl+Enter, Ctrl+Home
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-28 20:06:45 +00:00
Ron Lee
4c77c8865a Disallow the possibility of a dangling 'else'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-28 07:01:33 +00:00
Stefan Neis
2a9e9415fa Reordered checks to avoid mis-detection of OS/2 v. 4.* as System V Unix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 22:34:45 +00:00
Stefan Neis
45dae01189 Added warnings about to apparently common traps in the build process.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 21:56:57 +00:00
Stefan Neis
f21f85abdb Fix for WXPM compilation using EMX/gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 21:40:37 +00:00
Stefan Neis
192bb0de73 Fixed includes for EMX/gcc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:59:10 +00:00
Stefan Neis
e8d2bf7311 All of miniframe class is in the header file on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:44:24 +00:00
Stefan Neis
ff9d0a5c41 Use generic MDI under OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:37:39 +00:00
Stefan Neis
5559999404 Use generic mdi on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 20:31:50 +00:00
Julian Smart
9e8c78dbf8 Put back OSTYPE, commented out. I don't really mind if
it's removed again, if people feel strongly that
it's confusing. But it might be helpful to someone.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 18:55:32 +00:00
Chris Elliott
ca93de9778 fix bug with #define FindText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 13:58:23 +00:00
Ron Lee
ebfa00d564 Don't mix up the contrib and main static libs now they all
have the same prefix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 01:16:30 +00:00
Ron Lee
492b704acd fixed for new contrib files names, bumped the changelog hopeful to
tag and release 2.3.3.2-debs from this commit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-27 00:56:19 +00:00
Václav Slavík
fc253b5bd3 fixes for DJGPP-based MSDOS port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 22:26:28 +00:00
Stefan Csomor
335f8251c4 dynamic allocation of file type arrays etc...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-26 08:53:28 +00:00