Commit Graph

44967 Commits

Author SHA1 Message Date
Vadim Zeitlin
d050da45f8 make SetValidator() symmetric with GetValidator() (#9793)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:12:58 +00:00
Vadim Zeitlin
c1baf4b58b update for wxSHUTDOWN_LOGOFF/FORCE, should have been part of r54949
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:59:30 +00:00
Vadim Zeitlin
118a41d993 added wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_FORCE is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:56:05 +00:00
Vadim Zeitlin
19c0043f74 compilation fix for PCH-less build after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:54:33 +00:00
Vadim Zeitlin
9423680617 store palette information from XPM in wxImage (#9763)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:31:07 +00:00
Benjamin Williams
d19390718e fix segfault when Update() is called inbetween mouse-up and mouse-down
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:09:43 +00:00
Vadim Zeitlin
4c0ce682d8 don't keep the transparent palette colour from the previous frame for the next one which may not have any transparency at all (#9747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:36:52 +00:00
Vadim Zeitlin
ef5571c62a no real changes, just some cleanup: use wxON_BLOCK_EXIT instead of littering the code with delete[] statements; don't use identifiers starting with underscore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:32:12 +00:00
Vadim Zeitlin
55a35cb0c1 add support for reading alpha channel from BMP images (#9741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:23:38 +00:00
Vadim Zeitlin
59e601677a compilation after last commit: semicolon after wxDELETE() is now required; also removed some other extra semicolons and other minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 00:10:06 +00:00
Vadim Zeitlin
604fba2d34 made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared (#9685)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:49:01 +00:00
Vadim Zeitlin
1c2b921a1c don't use our custom WM_PAINT handler with composited window as this results in an endless repaint loop (#9666); also don't even define HandlePaint() under CE as it's never used there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:34:37 +00:00
Vadim Zeitlin
75e8e6dc29 return true from IsDoubleBuffered() if our TLW parent is a composited window; the old version returned false in this case which probably was unintentional as it doesn't seem to make sense (see #9666)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:33:08 +00:00
Vadim Zeitlin
d66d050088 add wxGet/Set/HasWindowExStyle() helpers and use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:30:05 +00:00
Vadim Zeitlin
65751a0ee7 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:24:15 +00:00
Vadim Zeitlin
85f818733c copy both alpha and mask in Paste() (#9658)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:00:53 +00:00
Vadim Zeitlin
e8759560f8 add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:51:22 +00:00
Vadim Zeitlin
979a73474c added trivial wxLaunchDefaultApplication() implementation for wxMac; added a test for it to the exec sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:49:06 +00:00
Vadim Zeitlin
9d1c7e8474 add wxImage::SetType() and use it in animation decoders (#9639)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 20:13:41 +00:00
Vadim Zeitlin
ff3050e17a document "clear" parameter of ctor/Create() properly (part of #9639)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 20:00:50 +00:00
Vadim Zeitlin
05d31b3aca fix keyboard navigation in radio boxes containing hidden or disabled items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 19:45:23 +00:00
Vadim Zeitlin
8758875e0b added enabled and hidden attributes to radio box items in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 18:21:38 +00:00
Vadim Zeitlin
8a18ea3f03 improve best size calculation; notably account for wxDP_ALLOWNONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 17:50:16 +00:00
Vadim Zeitlin
ad63992e0f ensure that one of wxRA_SPECIFY_{COLS,ROWS} is set in the radiobox style, otherwise layout code doesn't work correctly and this can easily happen if the radiobox is created from an XRC file not specifying its style at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:59:13 +00:00
Vadim Zeitlin
f06832c1b6 implement wxLaunchDefaultApplication() for MSW and document it (#9810)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:31:38 +00:00
Vadim Zeitlin
ec585c30ec PCH-less build fix after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 15:20:27 +00:00
Vadim Zeitlin
aaa0312528 extract parts of wxXRC depending on wxAdv in a separate file to allow statically linking with wxXRC but without wxAdv; note that rebaked project/make files also contain ustring.cpp/h now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 14:15:22 +00:00
Robert Roebling
8e69bf8e84 Support NOR logical function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 14:14:17 +00:00
Robert Roebling
0c339e7c64 Minor formating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 14:10:54 +00:00
Vadim Zeitlin
707d9f4047 VC6 compilation warning fix for non-defined template class copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 13:10:33 +00:00
Stefan Csomor
1011fbebdb guarding all text methods against unset font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 06:40:21 +00:00
Stefan Csomor
da712b51d4 guarding preproc variable against undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 04:47:39 +00:00
Vadim Zeitlin
328fafa1db capitalize the application name in GetAppDisplayName() by default; this results in logging message appearance consistent with wx 2.8 and generally looks better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:47:22 +00:00
Vadim Zeitlin
0c7db140c5 add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:39:11 +00:00
Benjamin Williams
4b7d829b21 added a number of NULL ptr asserts (#4145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 21:04:31 +00:00
Benjamin Williams
b27fdc3832 fix for defect #4827
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:59:21 +00:00
Benjamin Williams
c015463a1e fix for ticket #4505, Floatable(false) wasn't working in all cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:35:34 +00:00
Stefan Csomor
68a514e71b adding info about opaque classes, making sure refs are displayed correctly in pdf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 18:24:53 +00:00
Stefan Csomor
1bd9252b5b adding logo on frontpage of pdflatex output
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 17:24:14 +00:00
Benjamin Williams
944975221d floating pane now respects IsFixed pane status; indirect fix for #4044
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 16:08:35 +00:00
Vadim Zeitlin
6b1eedc1bb add more stock items (#9799)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:38:02 +00:00
Vadim Zeitlin
77cfdec054 removed a cast to WPARAM which was unnecessary and provoked a warning (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:31:00 +00:00
Vadim Zeitlin
87d4e2710b inherit wx_error_mgr from jpeg_error_mgr instead of embedding the latter in the former (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:29:33 +00:00
Vadim Zeitlin
b97d1013cf remove wxSETranslator() entirely from wxUSE_ON_FATAL_EXCEPTION==0 build (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:22:42 +00:00
Vadim Zeitlin
76de2296f1 fix warning about possible uninitialized variable with VC9 (part of #9803)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:19:22 +00:00
Vadim Zeitlin
795b5a8bf6 no real changes, just some minor cleanup to fix a few compile- and run-time warnings (#9805)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:12:09 +00:00
Vadim Zeitlin
49ad157e30 implement support for wxOR and wxCLEAR in wxCairoContext::SetLogicalFunction() (#9808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:03:17 +00:00
Vadim Zeitlin
4c7b2d367e build fix for wxGTK/Univ build (#9706)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:53:05 +00:00
Vadim Zeitlin
3e97a90518 use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:46:46 +00:00
Stefan Csomor
10f41d50ff activating ustring again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:43:53 +00:00