Commit Graph

16109 Commits

Author SHA1 Message Date
Julian Smart
82b76851d5 Don't crash if buffer null
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 14:12:33 +00:00
Julian Smart
5e533062fa Fixed presumed typo - crash when frame is NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 07:22:33 +00:00
Robin Dunn
e2f6f8da0e Applied patch [ 1167891 ] wxNotebook display problem on MSW w/ XP theming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:11:53 +00:00
Robin Dunn
414f2513fc For wxMSW capture and release the mouse as the cursor moves out or
back in to the transient popup window to enable the transient to be
automatically dismissed when a click happens outside of it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:04:30 +00:00
Robin Dunn
4249e33407 Don't clip hidden windows from the staticbox's refresh. Also handle
non wxWindows better.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:00:15 +00:00
Julian Smart
012ce47389 Forgot to remove #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 16:04:47 +00:00
Julian Smart
f118960423 Try to find comctl32.dll version even if we don't have shlwapi.h available,
otherwise the version is wrongly guessed and we can end up with bad
toolbar backgrounds.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:12:16 +00:00
Włodzimierz Skiba
810994672a Correction in comment in closing #endif. Is VC++ 4 supported?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:07:17 +00:00
Włodzimierz Skiba
0471d48650 Comment correction, source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:05:20 +00:00
Jouk Jansen
d43e302b68 Committing in .
OpenVMS updates

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/generic/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 14:15:54 +00:00
Julian Smart
5c2f43f48f Removed unnecessary fix (caused by erroneous user code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 07:26:55 +00:00
Julian Smart
238a604422 Added back shlwapi.h inclusion with comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 06:48:58 +00:00
Stefan Csomor
3458591994 adding support for wxCB_SORT, SetString and Insert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 05:15:23 +00:00
Stefan Csomor
768a499594 adding support for wxCB_SORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 05:13:39 +00:00
Michael Wetherell
845905d588 Move G_FILENAME_ENCODING to wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:05:57 +00:00
Julian Smart
45dbd8337e Look for help file in Windows if not found elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 18:00:08 +00:00
Włodzimierz Skiba
1fef34b9ee OW pedantic warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:54:58 +00:00
Włodzimierz Skiba
ad5bb7d6a6 Sending wxChar* outputs pointer instead of text under Borland.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:53:28 +00:00
Włodzimierz Skiba
15cdc34149 wxStreamToTextRedirector fixes, define wxHAS_TEXT_WINDOW_STREAM.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:51:16 +00:00
Vadim Zeitlin
f3ebca94dd fixed tests for dashed/dotted pens under OS != NT (bug 1182319)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 16:27:05 +00:00
Vadim Zeitlin
4552892fc2 don't break of the loop resetting last focus pointer in dtor as under some (unclear) cisrcumstances more than one TLW can have a pointer to us, see bug 1179024
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 16:26:23 +00:00
Julian Smart
1d63de4a45 The device origin can be set on WinCE, so use it and redefine conversion
macros accordingly.
Also, convert result of calling GetClipBox from logical to
device coordinates since we're dealing with device coordinates at
this point.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 15:36:06 +00:00
Julian Smart
f23255165e GetCursorPos returns an error on WinCE, so use GetMessagePos instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 15:32:41 +00:00
Robert Roebling
0f6858b69e Apply Mart R.'s patch for improved font width
handling and minor doc corrections.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:53:19 +00:00
Robert Roebling
308a5aeb9d Correct vertical alignment for lables in static boxes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:46:01 +00:00
Julian Smart
3e3d05fc86 Unnecessary shwlapi.h inclusion removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 13:20:10 +00:00
Michael Wetherell
5335e9c406 Temporary compilation fix for wxUSE_INTL=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 12:39:44 +00:00
Michael Wetherell
4fdc08274b Compilo fix for wxUSE_INTL=0 and use wxCSConv for broken filenames instead of wxMBConvLibc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 12:37:53 +00:00
Stefan Csomor
4817190d09 make sure we don't miss resizes even when no sizers are involved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 06:04:02 +00:00
Stefan Csomor
d35bd4992e fixing redraw region
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 06:02:16 +00:00
Kevin Ollivier
b4fd164d9c Adding accessor methods for URL and Title, and another revision of the window sizing hack. Tested this one with wxWidgets sample, a notebook/splitter sample, and Documancer, a wxPython app, all with correct results.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 05:12:41 +00:00
Robin Dunn
908f91bce9 Add room for the scrollbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 04:57:08 +00:00
Włodzimierz Skiba
29468083f4 Fix for using std streams when std:: conflicts with ::
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 21:08:04 +00:00
Włodzimierz Skiba
5eb1c08e67 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 20:57:09 +00:00
Ryan Norton
ae3036a289 Fix CYGWIN socket compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 17:52:01 +00:00
Ryan Norton
f6afe7fdf1 Fix warning on CYGWIN for sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 17:18:13 +00:00
Ryan Norton
4ea5491d94 Fix CYGWIN socket compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 17:16:37 +00:00
Ryan Norton
97c153e446 CYGWIN socket compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 17:03:49 +00:00
Włodzimierz Skiba
43bfb7986a wxUniv build fix (typo correction).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 15:34:08 +00:00
Václav Slavík
675a9c0de5 use configured scrolling increments (m_scrollLineX/Y) instead of hardcoded constants in all places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 14:36:59 +00:00
Włodzimierz Skiba
72093cd889 WinCE build fix (missing style).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 08:13:21 +00:00
Julian Smart
b2e3be1c69 wxFrameBase doesn't have wxRTTI so don't test for it, or
wxDynamicCast (for example) will erroneously succeed and
return the wrong cast object


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 07:33:20 +00:00
Robin Dunn
276612f7e4 checked in just John's patch, will keep working my fixes...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 05:18:20 +00:00
Robin Dunn
68406a9b43 GRR! Reverting last change. I broke some things that I thought I had tested before...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:53:26 +00:00
Robin Dunn
ad7f2e868b Copy & paste error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:36:23 +00:00
Robin Dunn
82ceade76a Fixes for wxPopupTransientWindow for wxMSW. Includes Patch #1181190,
and also fixes for automatically dismissing the popup whenever the
mouse is clicked outside of the popup window.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:28:40 +00:00
Stefan Csomor
14c96cf2b3 make sure also toplevel windows have the correct systen font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:24:53 +00:00
Michael Wetherell
3b676ed7f1 Remove workaround for link problem with versions of mingw before 3.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 23:29:55 +00:00
Michael Wetherell
fe47da7b04 A better workaround for the link problem with mingw versions before 3.4.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 23:26:44 +00:00
Robin Dunn
8f2c3ee9a0 return begining of the selection for GetInsertionPoint to match what
wxTextCtrl does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 20:42:59 +00:00