Commit Graph

16095 Commits

Author SHA1 Message Date
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
Mattia Barbon
67a623de6e Easy translation of very long strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 20:32:22 +00:00
Stefan Csomor
bcd882b35e setting an empty region shouldn't clear the clipping
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 18:42:11 +00:00
Julian Smart
4818141bb2 Changed version number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 15:50:13 +00:00
Vadim Zeitlin
1a784dfc80 after latest changes background of radio buttons _not_ inside the notebook wasn't redrawn at all, fixed this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 14:41:36 +00:00
Włodzimierz Skiba
3d74a76013 wxUniv build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 12:08:16 +00:00
Włodzimierz Skiba
08a5479d78 Do not break twice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 12:03:10 +00:00
Ryan Norton
2df0258e2b fix wxString::Replace when new strings are longer than old string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:05:40 +00:00
Vadim Zeitlin
fdc1aa5209 modified AddFile() to copy file to the debug report directory if its path is absolute
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:37:43 +00:00
Vadim Zeitlin
b6afa1a38a silently ignore NULL pointers in MSWOnMeasureItem(): apparently this can happen with MDI frames under XP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:13:33 +00:00
Vadim Zeitlin
bcb8ba61c3 fixed MSWGetBgBrush() call, it needs a HWND and not wxWindow * now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:12:39 +00:00
Vadim Zeitlin
2bae4332e7 extended wxWindow::MSWGetBgBrush() and wxControl::MSWControlColor() to work for arbitrary HWNDs and not just wxWindows: this allows us to draw proper background for slider labels and other subcontrols
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 21:55:12 +00:00
Vadim Zeitlin
cbc6af74d8 fixed slider positioning/sizing (especially when ticks are shown on both sides)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:28:18 +00:00
Vadim Zeitlin
10f80f9bd7 put some asserts to check that inconsistent slider styles are not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:07:45 +00:00
Vadim Zeitlin
a83b5b74c3 GetParent() was always used in test for wxHSCROLL checked in in last commit; use the parent window recursively as intended instead; slightly simplified the code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:55:52 +00:00