Vadim Zeitlin
1f464296de
fixed centering of top level windows on secondary displays (replaces patch 1267173)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:02:06 +00:00
Mart Raudsepp
df311d21f5
Update copyright year in ctrl+alt+mclick dialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-19 01:05:57 +00:00
Vadim Zeitlin
143e2719f5
corrected DoGetVirtualSize() to return at least our real size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-17 19:19:45 +00:00
Vadim Zeitlin
dddd1f21c1
added helper for visual sizers debugging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-26 13:09:23 +00:00
Dimitri Schoolwerth
412e0d47c0
applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Mart Raudsepp
90e572f1e5
Spelling fixes from Andreas Mohr (patch #1360064 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-19 01:07:56 +00:00
Mart Raudsepp
c1da50582e
Typo fix in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 19:51:45 +00:00
Mart Raudsepp
0118b60be6
Might aswell show the compile- and runtime versions of GTK+ in the ctrl+alt+mclick dialog in case of wxGTK.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-13 19:44:15 +00:00
Włodzimierz Skiba
7ec698211d
Various source cleanings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 20:14:39 +00:00
Vadim Zeitlin
74205969dd
fixed Fit() to call SetClientSize() and not SetSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-17 22:41:52 +00:00
Vadim Zeitlin
ee146bca1b
added GetWindowSizeForVirtualSize() virtual hook for wxScrolledWindow (cuts down on code duplication in its DoGetBestSize())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-10 18:15:34 +00:00
Vadim Zeitlin
3e8adad7d7
fix icc warning about printf() format mismatch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-25 23:30:08 +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
9240613a8d
fix handling of partially-specified min size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-21 11:14:20 +00:00
Vadim Zeitlin
5bd98e9354
add information for Palm/CE ports (patch 1256409)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-20 15:47:13 +00:00
Vadim Zeitlin
e0cf37456b
added include wx/toolbar.h neededfor mingw32 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 11:19:51 +00:00
Robert Roebling
4871079576
Revert Ron's removal of the reserved functions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-26 15:46:12 +00:00
Ron Lee
847379b00c
Put a humane end to the pathetic flailing over whether this can
...
work or not. It obviously never can if you understand the rules
for binary compatibility of a userspace library and the mechanisms
to manage it -- no matter how clever we get in the future.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-24 16:44:20 +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
Vadim Zeitlin
c0bb586f50
if we return GetSize() from DoGetBestSize(), remember it as min size as well to prevent out best size from changing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 12:40:53 +00:00
Robin Dunn
561a367d40
No longer using the reserved pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-19 22:16:02 +00:00
Robin Dunn
da78f3b10c
A slightly modified version of Patch #1197468 . Keeps track of pending
...
size/position changes in case there is more than one adjustment for a
window in a single DeferWindowPos set then the pending values can be
used for defaults instead of current values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-09 16:54:11 +00:00
Julian Smart
45a2f9494e
Added some reserved functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 15:49:27 +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
Vadim Zeitlin
c20ab85b60
GetVirtualSize() returns client size values for the m_virtualSize components which are not set (i.e. allow setting only one component of m_virtualSize instead of either none or both)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:29:20 +00:00
Ryan Norton
6a7dd4b3ab
wxDisplay::GetFromWindow is only on msw evidently
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:18:30 +00:00
Ryan Norton
ce29e4fbe5
partially fix bug [ wxwindows-Bugs-1145813 ] Centre() Doesn't Work With Dual Monitors , and note other part of bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 02:25:33 +00:00
Vadim Zeitlin
ed1288c1d5
better compatibility with old wxList in wxUSE_STL==1 mode (patch 1075432)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:40:39 +00:00
Dimitri Schoolwerth
28d90b8963
minor textual fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 01:54:32 +00:00
Włodzimierz Skiba
c47addef10
wxPoint/Size/Rect() causes the same code with (0,0) initialization and is incomparably more readable and clear.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-16 20:34:34 +00:00
Robert Roebling
878ddad57a
Reapplied patch to change the two scrolled window implementations
...
to no longer clip the last bits as a rounding error. I had to
change GetVirtualSize() as per my mail to devs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 23:44:24 +00:00
Włodzimierz Skiba
2997ca30d6
Use default constructors for wxSize/Point/Rect.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 21:33:56 +00:00
Robin Dunn
08a19f6407
Include the size of any window borders (size vs. clientsize
...
differences) in the window's bestsize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 22:11:43 +00:00
Włodzimierz Skiba
525d858363
Last .empty() string source cleaning before 2.5.4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-02 13:57:02 +00:00
Włodzimierz Skiba
a152561c76
Native wxStaticText. Cleaning of wxRadioBox code before native implementation. Events for wxButton, wxCheckBox, wxToggleButton, wxRadioButton sended from within wxTLW. Internal improvements in structure of wxControl. Pass full palm event to handlers (instead of ID only). Last palm control ID with value which allow portable IDs with wxMSW (according to comment in msw code).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 08:04:44 +00:00
Włodzimierz Skiba
ba88951339
Get/SetValue() and other improvements to the native PalmOS controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 11:01:06 +00:00
Kevin Hock
687706f5e7
Use event modifiers and accessors rather than m_ variables directly, which are now protected rather than public with 2.4 compatibility disabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:08:15 +00:00
Vadim Zeitlin
6b73af793f
made FindWindow() member functions const (this makes it possible to use XRCCTRL() in const methods)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 23:51:04 +00:00
Vadim Zeitlin
eb96212b6c
do not inherit background colour in InheritAttributes() as it totally breaks themed backgrounds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 19:55:01 +00:00
David Elliott
0bba37f51d
Fix centering of top-level children of wxMDIParentFrame on Mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:10:53 +00:00
Vadim Zeitlin
17bcd9a6b5
set background style to wxBG_STYLE_COLOUR in SetBackgroundColour()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 22:32:52 +00:00
Włodzimierz Skiba
4200d1f416
__WXDEBUG__ is defined/undefined, not 0/1!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 16:28:20 +00:00
Vadim Zeitlin
ef6816ef25
fixed fatal bug when moving the control after itself in tab order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 01:47:22 +00:00
Ron Lee
b1433926f2
Bump copyright date and indicate debug builds too in 'easter egg' dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-15 07:25:40 +00:00
Václav Slavík
992b2ec476
propagate invalidated best size upstream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-08 21:52:52 +00:00
Václav Slavík
f3d618fdde
fixed broken DoUpdateWindowUI: event.SetChecked doesn't have to be used together with SetText
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:49:40 +00:00
Václav Slavík
9c52a42951
blind compilation fix for MSVC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 21:52:39 +00:00
Václav Slavík
024f89f972
moved wxWindow::GetBestSize implementation into DoGetBestSize to make it easier to support both prototypes in derived classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 16:33:36 +00:00
Václav Slavík
0fe0275981
changes to make wxWindow::FindFocus work as expected with composite controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +00:00
Włodzimierz Skiba
cab1a6053d
Source cleaning: whitespaces, tabs, -1/wxID_ANY/wxNOT_FOUND/wxDefaultCoord, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 14:32:35 +00:00