Commit Graph

193 Commits

Author SHA1 Message Date
Stefan Csomor
09ac36f80b Patch 1678304
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-01 11:55:02 +00:00
Vadim Zeitlin
ea098413d0 made wxTLW::SetIcon() non-virtual, it was already implemented in terms of
SetIcons() in most of the ports, now do it in all of them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:40:55 +00:00
Vadim Zeitlin
ad02525dad don't check whether the window is shown and enabled in AcceptsFocus() itself
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:36:24 +00:00
Stefan Csomor
74fa325376 using scroll axis for mousewheel events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-04 06:37:26 +00:00
Robin Dunn
a0232aa520 Added support for the wxFRAME_FLOAT_ON_PARENT style
Also add a mode for the wxPOPUP_WINDOW style as a temporary hack to
make it easier using a wxFrame as a replacement for wxPopupWindow.
See how it is used in wxStyledTextCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-20 03:23:43 +00:00
Kevin Ollivier
bdf895fdd9 Allow other classes to access the SetupMouseEvent function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 00:22:11 +00:00
Stefan Csomor
7cd7bc23d5 cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:18:09 +00:00
Stefan Csomor
832f330f22 using separate window groups per window helps keeping overlays with the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 18:51:55 +00:00
Paul Cornett
716d032736 remove unused stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 05:14:39 +00:00
Stefan Csomor
f21449aead we are always compositing on the supported OS versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-11 04:23:39 +00:00
Stefan Csomor
24fcd264a7 simplifying alpha, adding commented part for high-res screens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 05:07:25 +00:00
Robin Dunn
07880314d4 Translucency --> Transparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:30:08 +00:00
Robin Dunn
50f3c41d61 Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
implementations (so far) for wxMSW and wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 03:28:23 +00:00
Włodzimierz Skiba
1832043f93 Include wx/toplevel.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 20:44:51 +00:00
Stefan Csomor
6643c354c5 using new method for implementing Maximize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-25 19:03:16 +00:00
Włodzimierz Skiba
670f993563 Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Stefan Csomor
0cc00f4f48 fixing two unicode compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 16:43:08 +00:00
Stefan Csomor
f309770945 mb2wc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-19 14:37:08 +00:00
David Surovell
30c23e741e fix null-deref
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-28 19:55:24 +00:00
Julian Smart
9dc1d18069 Commented out call that breaks metal style setting before Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-24 13:49:37 +00:00
Stefan Csomor
ffc75ee452 rewire char events in case there is no focusable control on a tlw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-19 10:55:09 +00:00
Vadim Zeitlin
f0756835d5 don't send mouse events to disabled windows (this really shouldn't be possible as otherwise it allows the user to modify the state of a disabled control)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 22:09:40 +00:00
Vadim Zeitlin
f124c9086b no real changes; just streamlined ifdef around compositing check and removed redundant and never executing code to relay mouse enter/leave events to tooltips
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-04 21:28:39 +00:00
Vadim Zeitlin
6f02a879ed make access specifiers for the virtual functions match their access in the base class (patch 1400131)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
Stefan Csomor
980ee83f63 key/char event changes for inline editing (japanese/hiragana etc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-25 13:11:21 +00:00
David Surovell
172da31f53 cleanup - reformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-07 17:29:16 +00:00
Stefan Csomor
f3b2e2d719 remove sizing controls when being in fullscreen mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-04 11:52:52 +00:00
David Surovell
21e77aa170 simplified ::Show
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-14 23:12:32 +00:00
David Surovell
98e04c1376 fixed obscure compilation problem at line 139
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 23:15:42 +00:00
David Surovell
a979e444a3 more reformatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 21:27:49 +00:00
David Surovell
52c3df9930 reformat for readability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-13 00:59:19 +00:00
Stefan Csomor
ccf1ef0f10 support for default key handling (escape,enter,command-period) even if there is no control on the frame/dialog, that has the focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 15:47:42 +00:00
Stefan Csomor
8c8f6a4b1d default to simple show/hide tlw on OSX instead of transitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-10 13:08:54 +00:00
Stefan Csomor
8ec0a8fa72 wx..._EX_METAL styles support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 09:45:58 +00:00
Stefan Csomor
d4bd6c97be cleanup, adding correct window-ids to window events (important when using eg Connect)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 17:01:15 +00:00
Włodzimierz Skiba
fb5246bead Get/SetTitle only for wxTopLevelWindow (wxMac part).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-07 14:37:19 +00:00
Vadim Zeitlin
fbfb8bcc3f added missing consts and pass objects by const reference instead of by value (patch 1205869)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-24 21:43:15 +00:00
Mart Raudsepp
8907154c1a Nuke #pragma implementation/interface's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
f02a4ffa5f replaced annoying wxLogDebug()s with wxLogTrace()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-15 12:11:53 +00:00
Vadim Zeitlin
1fc0b5afe7 removed #if KEY_wxList_DEPRECATED: as KEY_wxList_DEPRECATED is not defined anywhere, this doesn't do anything but provoke gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 21:51:32 +00:00
Stefan Csomor
8fc754bf2b mouse-capture fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-31 17:32:06 +00:00
Stefan Csomor
3c393c0a56 new capture handling, can be turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-25 14:27:56 +00:00
Stefan Csomor
d9d488cf1b UniChar being platform endian
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 23:34:05 +00:00
Włodzimierz Skiba
902725eefe Source cleaning inspired by and included in patch '[ 1215450 ] cleanup: unreachable code.'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 16:47:04 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Stefan Csomor
22e3c5bd85 adding OS level Window Menu by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 05:19:38 +00:00
Julian Smart
19fc48c61d Applied patch for bug [ 1206181 ] Option-key decodes are wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 16:52:56 +00:00
Stefan Csomor
699b6af4f4 applied Maximize patches (1203976)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 05:48:47 +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
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