Stefan Csomor
|
1cc7d13a08
|
graphics context additions and merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-05 21:11:44 +00:00 |
|
Václav Slavík
|
c1f615bf14
|
made wxFindFocusedChild static, the comment wasn't telling truth anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-05 15:31:09 +00:00 |
|
Vadim Zeitlin
|
e70b1175fb
|
check that parent is non-NULL in CreateWindowFromHWND() instead of just crashing if it is; don't call SetEventHandler() unnecessarily; inherit the id from HWND in AdoptAttributesFromHWND()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-05 15:18:59 +00:00 |
|
Vadim Zeitlin
|
e322e3b6cc
|
call SetHWND(hWnd) from SubclassWin(), this is consistent with calling SetHWND(0) from UnsubclassWin()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-05 15:16:50 +00:00 |
|
Václav Slavík
|
a575238f87
|
added wxRESERVE_SPACE_EVEN_IF_HIDDEN support to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-05 15:14:00 +00:00 |
|
Václav Slavík
|
78a11854a0
|
format strings with no real text don't need translating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 22:18:57 +00:00 |
|
Vadim Zeitlin
|
b0bcc78732
|
remove leading dots from .ini/.conf in AddConfFileExtIfNeeded() as this results in double dots in the resulting file name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 12:14:40 +00:00 |
|
Vadim Zeitlin
|
9d272435b8
|
remove duplicate end iterator declaration from Destroy()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 12:06:40 +00:00 |
|
Václav Slavík
|
df44dcedaa
|
added macros for checking for conflicts between flags values; use it in wxSizer code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 12:03:02 +00:00 |
|
Václav Slavík
|
0ba6faaeee
|
added wxRESERVE_SPACE_EVEN_IF_HIDDEN sizer flag that prevents the sizer from changing size if a window is hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 12:01:36 +00:00 |
|
Václav Slavík
|
ad1c5f459b
|
fixed wxGenericTreeCtrl::DoThaw to call base class' method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 10:06:05 +00:00 |
|
Václav Slavík
|
03138b2753
|
removed IsFrozen() from paint handler, no need for it there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 10:05:40 +00:00 |
|
Václav Slavík
|
5f346ddc0a
|
implemented Freeze/Thaw in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 10:03:01 +00:00 |
|
Vadim Zeitlin
|
5ae69f626a
|
use the selection background colour set using SetSelectionBackground() in GetSelectedTextBgColour() by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-03 23:33:38 +00:00 |
|
Václav Slavík
|
1c8e5c51f8
|
made Freeze/Thaw recursively (un)freeze child windows too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-03 11:30:07 +00:00 |
|
Vadim Zeitlin
|
95d3881fed
|
position help windows shown when Shift-F1 is pressed near the window and not at the mouse position unless the mouse is over the window (this avoids showing the tooltip in the opposite corner of the screen)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-03 01:58:39 +00:00 |
|
Vadim Zeitlin
|
0fb0db5c95
|
always draw toolbar background ourselves under XP as it isn't drawn correctly with some themes (e.g. Zune one) otherwise (replaces patch 1783181)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 23:28:54 +00:00 |
|
Václav Slavík
|
e5722ef11d
|
there's no such thing as LANG_VALENCIAN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 23:19:03 +00:00 |
|
Vadim Zeitlin
|
c848185a6e
|
use custom selection colours in wxHtmlListBox again (restores functionality broken by patch 1650804 in r44640)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 23:05:35 +00:00 |
|
Vadim Zeitlin
|
fdb47e62b9
|
decouple item index from string value (patch 1905702)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 14:55:43 +00:00 |
|
Vadim Zeitlin
|
1a18f241bd
|
don't post WM_NULL if there is already a WM_NULL in the queue to avoid overflowing it (patch 1904771)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 14:45:41 +00:00 |
|
Vadim Zeitlin
|
8ce68f7fc0
|
add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 14:33:47 +00:00 |
|
Václav Slavík
|
80d72f726d
|
wxMac: Fixed wxListCtrl to respect items' non-default fonts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 10:59:58 +00:00 |
|
Václav Slavík
|
34a3ed019b
|
don't set m_font upfront in wxMac, let the GetDefaultAttributes mechanism used by other ports pick the right font if m_font is wxNullFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 10:52:33 +00:00 |
|
Václav Slavík
|
4bff335abe
|
added Get(Class)DefaultAttributes implementation for all controls using DataBrowser native control; fixed wxListBox's to return correct font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 10:50:16 +00:00 |
|
Vadim Zeitlin
|
a85ad1db05
|
use generic dialogs under Palm (generic.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 01:20:08 +00:00 |
|
Vadim Zeitlin
|
fcb9fb91ff
|
workarounds for Palm compiler errors (pacc-error.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 01:16:14 +00:00 |
|
Vadim Zeitlin
|
027fe16c35
|
add platform info for Palm (add-wxpalm-info.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 01:02:07 +00:00 |
|
Vadim Zeitlin
|
6afc1b4665
|
compilation fixes for PalmOS and implementations of missing standard functions (pflib.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 00:53:32 +00:00 |
|
Vadim Zeitlin
|
9b4da62701
|
PalmOS compilation fixes (wx-trunk-out.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 00:43:06 +00:00 |
|
Robert Roebling
|
d613be55db
|
Implemented wxURLDataObject for wxGTK using text/x-moz-url
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-01 17:22:31 +00:00 |
|
Vadim Zeitlin
|
0016bb3b1c
|
no real changes, just refactor/simplify the code to remove duplication and unnecessary casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-01 12:23:04 +00:00 |
|
Julian Smart
|
49b7574928
|
Image size fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-01 11:23:52 +00:00 |
|
Robert Roebling
|
f210b1b521
|
Patch for context menu event for generic/Windows code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-01 10:25:45 +00:00 |
|
Vadim Zeitlin
|
27f213184e
|
really use the position passed to ShowHelpAtPoint() when using CHM help controller (we always used the mouse position instead)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-29 23:54:16 +00:00 |
|
Václav Slavík
|
d18d8bdaf4
|
fixed ~wxWindowBase to remove associated context help from wxHelpProvider -- otherwise wrong help text could be reused by other controls later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-29 21:11:21 +00:00 |
|
Stefan Csomor
|
6a8cbe1b92
|
adjusting to changed ownership (font is only created in the GetFont call of wxTextAttr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-29 20:47:07 +00:00 |
|
Václav Slavík
|
f1edd54c39
|
clear statusbar 'Connecting...' message on failure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-28 22:50:03 +00:00 |
|
Paul Cornett
|
593354ca47
|
revert updating GTK size hints when window decorations change, it messes up min size set by a sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-28 06:34:43 +00:00 |
|
Paul Cornett
|
8fb09a08c7
|
forward Show() to base, not wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-28 06:34:01 +00:00 |
|
Vadim Zeitlin
|
c73e37e26b
|
added DFCS_CHECKED to DrawCheckMark() (part of patch 1890974)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-28 02:48:51 +00:00 |
|
Vadim Zeitlin
|
dca0f65178
|
more /Wp64 warning fixes: mostly use UINT_PTR instead of UINT and define our WX[WL]PARAM with __w64 if available to avoid hundreds of warnings when casting LPARAMs to pointers/handles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-28 02:22:52 +00:00 |
|
Vadim Zeitlin
|
2d2b68baa3
|
use GlobalPtrLock (modified to allow not initializing it if the ptr is NULL) in wxGetPrinterDC() to avoid /Wp64 warnings and also make code safer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-28 00:41:38 +00:00 |
|
Julian Smart
|
3dce337969
|
Take into account explorer associations and CurVer when finding the command to execute.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 18:07:30 +00:00 |
|
Vadim Zeitlin
|
7c9f643a85
|
don't attempt to create 0*0 bitmaps in GetBuffer() (patch 1899643)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 18:03:12 +00:00 |
|
Vadim Zeitlin
|
f9f37ee220
|
clip the text in report mode to prevent it from overflowing into the next column (patch 1898914)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 18:00:30 +00:00 |
|
Vadim Zeitlin
|
886274c6f9
|
don't track handlers connected to this object itself (patch 1899730)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 17:54:44 +00:00 |
|
Vadim Zeitlin
|
c50c6fb23b
|
add SetNativeTheme() (slightly modified patch 1884553)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 17:46:14 +00:00 |
|
Vadim Zeitlin
|
28dd9a9d03
|
translate "Copy URL" string in the popup menu (feature request 1803958) (should have been part of r52131 but somehow wasn't committed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 17:45:15 +00:00 |
|
Vadim Zeitlin
|
1edce33f7e
|
override SetDropTarget() in wxGrid to associate it with wxGridWindow as this is what things tend to be dropped on (patch 1903103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 17:19:42 +00:00 |
|