Commit Graph

894 Commits

Author SHA1 Message Date
Vadim Zeitlin
315ed474f2 fix crash in wxSetEnv(var, NULL) (#9585)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:22:52 +00:00
Stefan Neis
bfeb1a5c06 Added missing #include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:28:05 +00:00
Stefan Neis
3cf88bbd74 Ensure that wxApp::Yield is always processing pending event by creating a
temporary event loop if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 15:21:40 +00:00
Stefan Neis
df5e687a53 Added IMPLEMENT_DYNAMIC_CLASS for wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-09 21:25:28 +00:00
Stefan Neis
0ed66b8299 Applied patch #1875242 - fixing more bugs related to using OS/2's DevQueryCaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-19 14:10:36 +00:00
Stefan Neis
e5a898b54d Fixed errors in OS/2's wxDC::SetMapMode (patch #1871556, needed for Filezilla).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-18 21:38:26 +00:00
Julian Smart
89639ecdba Corrected wxRTTI for wxNotebook so dynamic casting to wxBookCtrlBase works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 10:51:33 +00:00
Stefan Neis
1ebca144e6 Fixed obvious error (no idea why it apparently used to compile before...).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-02 21:09:21 +00:00
Julian Smart
fb9c1ff9cb Binary compatible API fixes for menu label retrieval with and without
mnemonics/accelerators.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:07:01 +00:00
Stefan Neis
32e3e93e6e Backported bugfix (comparision vs. assignment).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:19:21 +00:00
Stefan Neis
4f6eaf5ee2 Extended wxGetHostName implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 14:07:02 +00:00
Stefan Neis
783388d5d9 Added wxGetDiskSpace implementation (patch #1625514).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 13:52:22 +00:00
Vadim Zeitlin
16d17da6ca explicitly call OnExit() in the ports which don't use wxEventLoopManual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-06 23:28:44 +00:00
Václav Slavík
68c957045a don't expose M_FONTDATA in public header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:21:08 +00:00
Václav Slavík
873fd4af5f don't expose M_FONTDATA in public header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-20 16:14:01 +00:00
Stefan Neis
fd29f9ad65 Wrong version checked in last time, this time we really:
- avoid problems when calling lxlite on unix style filenames (starting /).
- rely on default compression options when calling lxlite.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:00:54 +00:00
Stefan Neis
be8f1469e2 Avoid problems when calling lxlite on absolute unix style filenames (starting /)
Rely on default compression options when calling lxlite.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 17:57:06 +00:00
Stefan Neis
9ffdd8cf3c Applied toolbar patch for wxTB_RIGHT support (patch #1595081).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 16:06:07 +00:00
Włodzimierz Skiba
ec02a2f7de stub for wxOS2 region ctor from points.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-10 20:35:39 +00:00
Stefan Neis
0415c02d23 Allow passing file names with path to dllnames.sh.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-05 14:47:14 +00:00
Stefan Neis
a4e15a8d05 Added deep copy of bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:52:56 +00:00
Stefan Neis
cd7ff8087b Dummy implementation for copying bitmaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:01:32 +00:00
Stefan Neis
a19063065b Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 23:50:32 +00:00
Stefan Neis
823189ee50 Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 20:46:35 +00:00
Vadim Zeitlin
7aa920b5a5 blind compilation fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 12:02:36 +00:00
Robin Dunn
170acdc90e GetBestFittingSize --> GetEffectiveMinSize
SetBestFittingSize --> SetInitialSize
SetBestSize  --> SetInitialSize
SetInitialBestSize --> SetInitialSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 08:50:17 +00:00
Vadim Zeitlin
fea35690f1 Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Julian Smart
f415cab9ef Robert Lang's patch [ 1583183 ] Fixes printing/print preview inconsistencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:07:40 +00:00
Włodzimierz Skiba
17b1d76b4a Correct 'markup' for GetResourceHandle after recent change in wx/gdiobj.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 11:58:28 +00:00
Stefan Neis
3b0e208f3f Reverted font breakage caused by changes in version 1.30.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:59:15 +00:00
Stefan Neis
90a6ac27c7 Applied patch #1582212 (completed/fixed toolbar's wxTB_BOTTOM implementation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:52:20 +00:00
Robin Dunn
432efcb004 wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
calling SelectObject itself if a valid bitmap is passed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:48:36 +00:00
Vadim Zeitlin
b7cacb43db add IsOk() to all classes having Ok() method (patch 1570985)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Stefan Neis
28206ce84e Use system colours for ownerdrawn highlighting (patch #1555426).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:30:36 +00:00
Vadim Zeitlin
f6519b40fe added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Vadim Zeitlin
1d6fcbcc70 added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Paul Cornett
452418c4b0 Move some things to wxBitmapBase to avoid much duplication.
Use proper const for XPM data, and const void* for arbitary bitmap data.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 08:04:49 +00:00
Włodzimierz Skiba
566177181a Corrections after The Great wxRegion Refactoring.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 16:17:12 +00:00
Vadim Zeitlin
8a16d7370e The Great wxRegion Refactoring:
1. added wxRegionBase class and derive all wxRegions from it
2. also added wxRegionWithCombine for the ports providing Combine() method
   (MSW, OS2 and Mac) to reduce code duplication further
3. made sure region comparison works the same way in all ports (except those
   not implementing it) and added IsEqual() method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:47:23 +00:00
Julian Smart
cf1aac89dd Fixed LoadFile typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 07:11:59 +00:00
Julian Smart
3306aec124 Added DoLoadFile, DoSaveFile to wxTextCtrlBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-24 11:40:33 +00:00
Kevin Ollivier
1c36c09cd5 Remove instances where wxGenericImageList is included directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-20 23:33:47 +00:00
Robert Roebling
5b2acc3a4f [ 1550698 ] Bottom aligned toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 11:51:08 +00:00
Kevin Ollivier
e2bc1d6981 Initial commit of native OS X list ctrl support. Compile tested on Win, Mac, FC4/GTK2. Tested samples on Win and OS X. Also, support for co-existance of native and generic list ctrl on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-17 01:20:08 +00:00
Václav Slavík
22a35096a0 renamed wxRect::Inside() to wxRect::Contains(), wxRect::Inside(wxRect) is too confusing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 17:12:25 +00:00
Włodzimierz Skiba
8df950a694 [ 1556353 ] [wxOS2] Change derivation to add wxGauge::Pulse
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:14:26 +00:00
Włodzimierz Skiba
03eefe82a8 Build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 16:06:24 +00:00
Paul Cornett
446e69bee5 don't include generic/statusbr.h directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-13 15:50:26 +00:00
Vadim Zeitlin
ec9f5895ae blind compilation fix for daily builds error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 12:25:54 +00:00
Vadim Zeitlin
aea95b1c3a removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 02:00:24 +00:00