Vadim Zeitlin
|
e2d4ce7d36
|
don't load comctl32.dll, just get the handle of the already loaded instance of it instead, this avoids accidentally loading 2 different versions of this DLL in the same process (see #10203)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 16:45:45 +00:00 |
|
Vadim Zeitlin
|
59730a00a6
|
fix gcc 3.3 warning about possibly uninitialized (but in reality initialized) variable after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 15:06:36 +00:00 |
|
Vadim Zeitlin
|
e227438f24
|
change Has/SetFlag() to take int instead of unsigned as the latter provokes VC7 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 13:13:27 +00:00 |
|
Václav Slavík
|
2b9eec41f9
|
don't assert on unsupported metric in wxSystemSettingsNative::GetMetric()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 12:28:08 +00:00 |
|
Jaakko Salli
|
591df136d6
|
When calling DrawIconEx(), do not use DI_COMPAT or DI_DEFAULTSIZE on WinCE (fixes ticket #10200)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-19 16:29:47 +00:00 |
|
Jaakko Salli
|
15096961f9
|
For clarity, moved includes to the top of the file. Also added #include wx/dialog.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-19 16:24:07 +00:00 |
|
Vadim Zeitlin
|
e196e5232a
|
store the value to be set inside wxON_BLOCK_EXIT_SET(), this allows to use temporaries with it and also fixes the test failure when built with icc and optimizations on (not sure if it is a compiler bug or not but in any case it seems better to fix it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-19 12:06:17 +00:00 |
|
Vadim Zeitlin
|
a779d8091c
|
fix comparison in Normalize() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-19 11:52:04 +00:00 |
|
Vadim Zeitlin
|
e18865ecd7
|
add WX_ASSERT_EQUAL_MESSAGE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-19 11:51:21 +00:00 |
|
Vadim Zeitlin
|
93a800a95e
|
minor icc warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-19 09:55:27 +00:00 |
|
Vadim Zeitlin
|
2c2944d6aa
|
Slovenian translation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-19 09:54:17 +00:00 |
|
Jaakko Salli
|
3c5c6707de
|
Allow wxPropertyGridInterface::ClearSelection() to be called with NULL state (fixes defect #10195)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-18 18:46:30 +00:00 |
|
Vadim Zeitlin
|
6d9407fec4
|
fix compilation with cppunit 1.9 (which doesn't have stdCOut()) and some harmless warnings (which probably were fixed in newer cppunit version too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-18 15:51:09 +00:00 |
|
Vadim Zeitlin
|
7105649b88
|
add header required for PCH-less mingw32 compilation (closes #10196)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-18 14:41:45 +00:00 |
|
Vadim Zeitlin
|
05622061c9
|
port updates for newer Intel compiler support from bakefile svn and rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 22:29:05 +00:00 |
|
Vadim Zeitlin
|
fe7f0a591d
|
use GetResolutionFromOptions() to honour wxIMAGE_OPTION_RESOLUTION and not just wxIMAGE_OPTION_RESOLUTION[XY]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 14:32:10 +00:00 |
|
Vadim Zeitlin
|
0d81b3cd93
|
fix bad typo in the code: wxIMAGE_OPTION_RESOLUTION option was used where wxIMAGE_OPTION_RESOLUTIONUNIT was meant (reviewing documentation is useful for finding bugs too...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 14:27:35 +00:00 |
|
Vadim Zeitlin
|
09b898e0fb
|
document all currently defined image options and their values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 14:26:05 +00:00 |
|
Vadim Zeitlin
|
d3960469fc
|
implement const rbegin/rend() versions (closes #3866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 14:07:51 +00:00 |
|
Vadim Zeitlin
|
36abe9d421
|
added the possibility to rescale the image during loading, especially useful with JPEGs (#8390) (change to the sample accidentally committed as r56820)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 13:54:42 +00:00 |
|
Vadim Zeitlin
|
95706ac162
|
ignore files produced by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 13:52:34 +00:00 |
|
Vadim Zeitlin
|
01f3d2752a
|
minor optimization: create wxTCPEventHandler only when/if we really need it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 11:24:16 +00:00 |
|
Vadim Zeitlin
|
ea22bf815f
|
fix assert failure if NULL size pointer was passed to Request() (as happened in the sample...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 11:12:34 +00:00 |
|
Vadim Zeitlin
|
d730bd8a68
|
stricter reply code checking: verify that we get the expected reply, not just that we don't get IPC_FAIL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 11:08:38 +00:00 |
|
Vadim Zeitlin
|
e536b75069
|
really ensure that the pointer returned from MyConnection::OnRequest() remains valid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 11:00:32 +00:00 |
|
Vadim Zeitlin
|
48c90c6e1e
|
preliminary documentation of wxEventLoop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-17 09:59:33 +00:00 |
|
Paul Cornett
|
6739d2d24c
|
remove obsolete macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-16 18:40:44 +00:00 |
|
Paul Cornett
|
75f661bbc8
|
simplify wxPizza a bit by always drawing the border on parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-16 18:31:19 +00:00 |
|
Paul Cornett
|
b7bc9d806b
|
cleanup: unreachable code, unused variables, indentation, etc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-16 18:20:46 +00:00 |
|
Paul Cornett
|
470f357fd2
|
make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-16 18:20:21 +00:00 |
|
Paul Cornett
|
a09307abba
|
check for self assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-16 18:03:08 +00:00 |
|
Vadim Zeitlin
|
5c69ef61f3
|
fix some of icc 11.0 warnings and disable a few others
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-16 14:24:13 +00:00 |
|
Vadim Zeitlin
|
5bd57a7e4f
|
fix restoration of the old font size in DoGetTextExtent() (thanks icc for a nice warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-16 14:22:09 +00:00 |
|
Francesco Montorsi
|
ebd75440d5
|
removed redundant wxClassName:: prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-15 11:49:24 +00:00 |
|
Francesco Montorsi
|
4ccf056633
|
interface fixes; removed many functions which were deprecated in past and have already been removed from wx; renamed others wrongly named; added some @onlyfor tags to avoid false warnings in ifacecheck logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-15 11:37:43 +00:00 |
|
Francesco Montorsi
|
6e6b083df2
|
avoid false warnings for wxThread and wxIPAddress
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-15 11:29:21 +00:00 |
|
Francesco Montorsi
|
6d52ca536a
|
make GetPaperRect() and GetResolution() const functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-15 11:10:34 +00:00 |
|
Jaakko Salli
|
e9cc4973ff
|
Fixed various NULL reference issues. Also cleaned up wxPGComboBox code overall a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-15 10:34:36 +00:00 |
|
Jaakko Salli
|
77db639d44
|
Fixed wxPropertyGridPage::DoSetSplitterPosition() infinite recursion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-15 10:11:52 +00:00 |
|
Vadim Zeitlin
|
4311ac1ef6
|
do override SetSplitterPosition() in wxPropertyGridPage: this was clearly meant to happen but wasn't because of signature mismatch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:44:59 +00:00 |
|
Vadim Zeitlin
|
85b6f1c431
|
remove unused static wxColourFromPGLong function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:32:20 +00:00 |
|
Vadim Zeitlin
|
9e996d8c43
|
remove useless comparison of unsigned value with 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:31:37 +00:00 |
|
Vadim Zeitlin
|
a22895511a
|
make code dealing with wxUSE_IDLEMENUUPDATES a bit more clear and avoid warning due to use of this constant in logical boolean expression
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:26:55 +00:00 |
|
Vadim Zeitlin
|
7d6d76d093
|
CanPaste() should be const too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:23:16 +00:00 |
|
Vadim Zeitlin
|
e4513a5eae
|
disable warning about possible misaligned access given by HP aCC as we can't do anything about it because it's triggered by all GTK+ cast macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:22:26 +00:00 |
|
Vadim Zeitlin
|
e81ea1070d
|
assigning line marker to itself shouldn't invalidate it, add self-assignment check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:18:39 +00:00 |
|
Vadim Zeitlin
|
557946748f
|
consistently use wxAuiPaneInfo::Has/SetFlag() instead of using bit operations on its state field directly (this results in a warning about implicit sign change from HP aCC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:12:59 +00:00 |
|
Vadim Zeitlin
|
62891c875f
|
comparison of wxBitmapType with -1 is useless as it can never be true; assume wxBITMAP_TYPE_INVALID was meant here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 23:09:04 +00:00 |
|
Vadim Zeitlin
|
a343fe63e8
|
move the check for msgids matching the current language in front of everything else in AddCatalog(): why bother loading catalogs uselessly?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 19:10:10 +00:00 |
|
Vadim Zeitlin
|
6f0114437c
|
assert in AddCatalog() if Init() hadn't been called and also check that we have a valid language spec in wxMsgCatalogFile::Load() to ensure we don't form invalid paths there; call Init() before AddCatalog() in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 19:06:59 +00:00 |
|