Vadim Zeitlin
|
2190f6aa15
|
don't test sei.hInstApp in DoLaunchDefaultBrowser(), just look at ShellExecuteEx() return value (#10190)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 18:30:50 +00:00 |
|
Vadim Zeitlin
|
9c39f4f538
|
fix substr() calls broken by r56215 (#10198)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 18:19:17 +00:00 |
|
Vadim Zeitlin
|
5513d18ba7
|
don't log an error if the directory can't be opened at all for compatibility with MSW (#10194)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 18:12:43 +00:00 |
|
Vadim Zeitlin
|
8108518603
|
add missing Detach() after r56863 changes (thanks troelsk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-20 17:59:42 +00:00 |
|
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 |
|
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
|
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
|
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
|
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
|
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 |
|
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 |
|
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
|
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
|
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 |
|
Vadim Zeitlin
|
f6ba36e464
|
consistently use ExtractLang() everywhere instead of Left/Mid wxString methods; added ExtractCountry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 18:58:12 +00:00 |
|
Robert Roebling
|
e9e767f1d9
|
#10183: patch to add wxOSX print job name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-14 08:18:05 +00:00 |
|
Václav Slavík
|
4f24cbbd3d
|
implement wxWindow::DragAcceptFiles() on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-13 22:30:40 +00:00 |
|
Robert Roebling
|
c0b659709c
|
#10181: wxOSX: patch for proper wxPrintData to/from native data exchange
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-13 15:25:02 +00:00 |
|
Vadim Zeitlin
|
0b7dce5480
|
fix warnings about hiding virtual wxGraphicsContext::DrawText() overloads by using different names for the implementation functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-13 12:16:39 +00:00 |
|
Vadim Zeitlin
|
caa42c43d0
|
no changes, just deTABbed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-13 12:04:17 +00:00 |
|
Vadim Zeitlin
|
83666e9909
|
added check for self-assignment to wxPrintData::operator=() (thanks HP aCC for a genuinely useful warning) and also changed it return type to the standard one instead of void
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-12 14:34:40 +00:00 |
|
Vadim Zeitlin
|
d31d30d791
|
there is no sqrt(int) in standard C++ (although glibc seems to provide it); select sqrt(double) explicitly to fix HP-UX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-12 14:32:28 +00:00 |
|
Vadim Zeitlin
|
5a2c086adf
|
compilation fix after wxFont changes (closes #10152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-10 14:30:41 +00:00 |
|
Robert Roebling
|
7448d67c49
|
Added wxChoice renderer to wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-10 14:08:38 +00:00 |
|
Francesco Montorsi
|
c9c1faa490
|
use wxEventType coherently with the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-09 16:44:56 +00:00 |
|
Francesco Montorsi
|
46f83c8e8f
|
another wxFont OS2 blind build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-09 11:33:12 +00:00 |
|
Vadim Zeitlin
|
a715b99070
|
fix race condition which could result in assert failures in debug builds and infinite loops in release (#9094)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-08 22:41:10 +00:00 |
|
Francesco Montorsi
|
98ecc3aa68
|
blind fix based on buildbot logs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-08 12:56:32 +00:00 |
|
Vadim Zeitlin
|
e882d28829
|
release the mouse in wxGrid dtor to avoid asserts when the grid is destroyed during e.g. a cell selection operation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-08 00:06:34 +00:00 |
|
Francesco Montorsi
|
0951e4266e
|
fix build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-07 19:07:33 +00:00 |
|
Bryan Petty
|
d90dcdb784
|
Prevent activation of the AUI hint window (mini frame) on Mac.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-07 00:47:35 +00:00 |
|
Vadim Zeitlin
|
442e842ee7
|
check for NULL pointer in IsExtensionInList()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-11-06 23:31:26 +00:00 |
|