Commit Graph

15992 Commits

Author SHA1 Message Date
Václav Slavík
cecbb4ec6b fixed typo in dynamic cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 14:20:25 +00:00
Dimitri Schoolwerth
6d8edd32b5 fixed cases where __WXMAC_CLASSIC__, __WXMAC_CARBON__, and __WXMAC_OSX__ were being treated as 0/1 value instead of (un)defined symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 10:34:56 +00:00
Robin Dunn
98719eabe0 Don't include the nul byte when copying to the clipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 23:53:04 +00:00
Robin Dunn
29998406a8 Use the validator given
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 22:57:32 +00:00
Michael Wetherell
561488efd4 The octal escaping code needs to escape the escape character
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 21:20:11 +00:00
Michael Wetherell
9af00f5f79 OpenWatcom fixed the problem of fileno being missing, and so it should be
there in OW 1.4 when it comes out.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 20:39:44 +00:00
Julian Smart
db28c33ca2 Should return wxImage not bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 19:30:16 +00:00
Kevin Hock
1804e89886 Remove unused variable "Point topleft" in ScrollRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 18:20:03 +00:00
Stefan Csomor
823c4e96f9 always forcing a relayout when position changes, making mlte a system option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 16:38:14 +00:00
Stefan Csomor
c9698388a2 invalidating vis regions upon tlw resize as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 13:41:48 +00:00
Václav Slavík
f9bf0c6512 there's no reason to do wxRTTI lookup twice when once is enough
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 13:24:32 +00:00
Julian Smart
27e7e85984 Cross-hair cursor appears as an I-beam on WinXP for some reason;
use cursor file instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 11:36:31 +00:00
Julian Smart
4791fafb6d Removed unnecessary casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 09:32:30 +00:00
Julian Smart
6def7a17b0 Not all implementations of wxMDIChildFrame derive from wxFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 09:24:04 +00:00
Ryan Norton
4cc52142b8 Update wxURI for RFC 3986
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 03:48:08 +00:00
Vadim Zeitlin
646a8a4d0e make it possible to change the text of the item being edited from OnBeginLabelEdit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 00:27:52 +00:00
Julian Smart
750d64e653 WinCE apparently should not have rectangle adjusted if using transparent pen
(droppings left on Life! canvas when drawing with a transparent pen)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 23:01:28 +00:00
Vadim Zeitlin
96461cc29d added wxMemoryInputStream(wxMemoryOutputStream&) ctor (patch 1170635)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 22:37:58 +00:00
Václav Slavík
5a0348c449 added MDI support to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 22:22:55 +00:00
Julian Smart
9cce2fe26c Border fixes for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:42:42 +00:00
Vadim Zeitlin
434c6c9fa0 changed wxCreateGreyedImage() to respect the original image mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:34:29 +00:00
Vadim Zeitlin
ba700b5c1a fixed background colour of the automatically created disabled button bitmaps (makes patch 1116702 work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:33:40 +00:00
Vadim Zeitlin
21dc4be5d2 added wxImage::IsTransparent(x, y)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:30:22 +00:00
Vadim Zeitlin
d2502f1471 use separate is-static flag for alpha channel and main data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:19:54 +00:00
Vadim Zeitlin
5644ac4640 added XYToIndex() to avoid duplicating the checks for valid coordinates in many different places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:16:04 +00:00
Julian Smart
aa66250ba4 Further WinCE adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:44:12 +00:00
Julian Smart
5497e635e0 Only set background colour explicitly for PPC/Smartphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:41:08 +00:00
Julian Smart
3bd8a40543 Fixed bug preventing dir enumeration from working on WinCE
Prevented crash on WinCE by removing hidden root style
(a bug in Windows causes crash in child traversal/data retrieval)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:38:14 +00:00
Julian Smart
0906c58d05 WinCE adaptations
Simplified comment


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:35:59 +00:00
Julian Smart
03775239e2 WinCE adaptations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:34:50 +00:00
Julian Smart
454180593f Correct flat notebook border style under WinCE in wake of
wxControl default border style change


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:34:04 +00:00
Julian Smart
9f76970889 Default border for a static box is wxBORDER_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:30:04 +00:00
Julian Smart
edea62818b Default border style for a control on PPC/Smartphone is wxBORDER_SIMPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:28:37 +00:00
Julian Smart
0477a8578b wxSYS_COLOUR_WINDOW is better for window backgrounds on PPC/Smartphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:24:44 +00:00
Julian Smart
0367d3391c \ is a reasonable home directory on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:22:22 +00:00
Julian Smart
3519d94676 MF_BYCOMMAND is zero so don't try to test it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 15:16:53 +00:00
Vadim Zeitlin
2b9a7d4cc2 fixed TREE_ITEM_MENU generation from right mouse clicks: don't pass WM_RBUTTONDOWN to tree control window proc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 13:48:56 +00:00
Stefan Csomor
807c0706e6 updating positioning after embedding is set correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 05:36:52 +00:00
Robin Dunn
86a6ecff59 Fixed duplicate symbol link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 04:47:10 +00:00
Robin Dunn
0c8b041f14 Use the current font for the DoGetBestSize calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 03:58:21 +00:00
Robin Dunn
4013de1217 Add static_data flag to SetData and SetAlpha so Python buffer objects
can be used in wxPython without double free()'s.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 02:04:52 +00:00
Vadim Zeitlin
3b6e5fb3f5 fixes to static box borders calculations and significant code cleanup (finalizes patch 1166587)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:17:51 +00:00
Vadim Zeitlin
6d94009faa implemented GetProgramHandle() for Win32 and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 20:56:00 +00:00
Stefan Csomor
dc7ccb9c5d moving wxMac to new printing architecture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 16:36:36 +00:00
Julian Smart
54c5498d0f Now calculates clipping region from actual child HWNDs and not
wxWidgets windows, which helps with composite controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 15:57:19 +00:00
Stefan Csomor
b343fb9fb9 fix for #1106519
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 11:55:56 +00:00
Dimitri Schoolwerth
61c747cda0 fixed Carbon compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 09:39:52 +00:00
Stefan Csomor
ba75e603f6 adding correct handling of uncovering or covering controls via tlw-resizes (in which case the txnBounds would not change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:28:31 +00:00
Stefan Csomor
e905b636b6 adding protected inquiry function whether a child window belongs to the 'client' or the 'non-client' area, examples for the latter are toolbar, scrollbars etc
adding another cached clip rect for the real client area


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:17:24 +00:00
Michael Wetherell
914955aaa0 Use wxMBConvUTF8 when G_FILENAME_ENCODING is UTF-8, and set
G_FILENAME_ENCODING to match the locale encoding when necessary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 00:00:08 +00:00