Commit Graph

11611 Commits

Author SHA1 Message Date
Francesco Montorsi
6ffb03bec3 fix wxMSW build after wxBrush changes: return wxBRUSHSTYLE_MAX instead of zero; fix include loop in MSW headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 17:00:39 +00:00
Francesco Montorsi
3e6858cdcb introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 16:47:57 +00:00
Vadim Zeitlin
f286f23b70 don't use generic process callback for wxGTK/Motif/MGL which have their own versions of it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 02:22:42 +00:00
Vadim Zeitlin
936f635341 rename fobr95.{cpp,h} files to foobar.{cpp,h}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 16:53:06 +00:00
Vadim Zeitlin
9243700fb2 add support for asynchronous execution in wxBase (patch 1906889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 16:46:38 +00:00
Václav Slavík
e2cf30aa1c wxMSW: generate wxClipboardTextEvent from wxTextCtrl with wxTE_RICH style too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 12:28:03 +00:00
Vadim Zeitlin
03d4194d6b implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the text control part (slightly modified patch 1914190)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 04:10:43 +00:00
Vadim Zeitlin
f96233d53e protect access to ms_aTraceMasks with a critical section (replaces patch 1911172)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:42:48 +00:00
Vadim Zeitlin
d038247519 call OnNativeDestroyed() if the native window is destroyed independently from us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:36:15 +00:00
Vadim Zeitlin
2f74c9c6b5 use less expensive GetLastPosition() instead of GetValue() to implement IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:05:28 +00:00
Vadim Zeitlin
e072113323 don't call GetLastPosition() unnecessarily in SelectAll(), all platforms should support SetSelection(-1, -1) according to the docs (but wxGTK didn't, so fix it to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:04:09 +00:00
Vadim Zeitlin
5a25f8581a refactored code reused in several different places in wxTextEntry::RemoveSelection() (patch 1910166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:58:54 +00:00
Vadim Zeitlin
1ac140d2a1 initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:38:43 +00:00
Vadim Zeitlin
b1859b1a1b added support for double arguments to wxCmdLineParser (patch 1907289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:33:25 +00:00
Vadim Zeitlin
779288b486 make wxCmdLineParser:Usage() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 17:14:55 +00:00
Václav Slavík
bd2e08d065 simplified and cleaned up wxGTK's focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 01:10:43 +00:00
Václav Slavík
fe828a03f4 reverted Julian's r44600, it broke help window behavior so that it prevented apps from closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:58:32 +00:00
Václav Slavík
664d172947 fixed crash in wxHtmlHelpController if the help window is still open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:42:57 +00:00
Vadim Zeitlin
2aee749cb1 delete wxNativeContainerWindow when the native window is destroyed, even if this means leaking memory in GTK case -- still better than getting X errors and crashing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-11 00:03:46 +00:00
Vadim Zeitlin
dfba244cbf added wxNativeContainerWindow and implemented it for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-10 15:50:48 +00:00
Francesco Montorsi
7cec3a32a4 use wxAcceleratorEntryFlags as wxACCEL_* enum name so it's easier to refer to it in wxDocs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 17:42:07 +00:00
Vadim Zeitlin
1fee6e2577 remove wxTextAttr::CreateFont(); return wxNullFont from GetFont() if we have no font attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 13:14:58 +00:00
Stefan Csomor
0b9eac66cc xcode_config moved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:44:06 +00:00
Stefan Csomor
7e55b761e1 adding Aspen (iPhone)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:41:41 +00:00
Stefan Csomor
4bc554971c moving out of 'carbon' dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:31:21 +00:00
Stefan Csomor
b068adad76 moving out of 'carbon' dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:30:59 +00:00
Stefan Csomor
a22420e8ad adding DLOPEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:29:47 +00:00
Václav Slavík
3be25921be fixed syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 12:59:58 +00:00
Václav Slavík
520746acb5 deprecated wxWindow::SetHelpTextForId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 19:28:51 +00:00
Václav Slavík
43c5fff8a8 use 6px as the default wxSizer border in wxGTK to be a little bit closer to GNOME HIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 10:12:03 +00:00
Vadim Zeitlin
2c20f44d70 remove wxFindFocusedChild() declaration too as g++ gets upset if an extern function is redefined as static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 23:12:13 +00:00
Stefan Csomor
1796d3849c merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:10:39 +00:00
Vadim Zeitlin
8ca2ebc8f1 disable wxHAS_TEXT_WINDOW_STREAM for the old MSVC iostream.h library; don't disable it for DLL builds (why?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 12:39:59 +00:00
Vadim Zeitlin
dbf2bd150d include wx/artprov.h to define wxArtID used in this header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 12:27:21 +00:00
Vadim Zeitlin
396197cb56 set wxUSE_IOSTREAMH to 0 by default, we're in 2008, not 1988
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 12:16:33 +00:00
Vadim Zeitlin
41aeb94eec VC6 doesn't have wostream when using old iostream.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 12:06:07 +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
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
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
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
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
Vadim Zeitlin
77c950fdad fix WPARAM typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:03:42 +00:00
Václav Slavík
82d3ae4b8f header files are not executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 11:00:52 +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
f0d3a2cc93 define wxConfig where the header implementing it is defined; also define it for wxPalm and wxOS2 (confmove.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:14:16 +00:00
Vadim Zeitlin
abd0503cf7 predefine wxUSE_LIBMSPACK as 0 for Palm (chkconf.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:08:52 +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
624697a448 declare file-related APIs missing under Palm (pflib-missing.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:55:46 +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
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
Vadim Zeitlin
82d1a19568 correct WinCE compilation after last change: can't use global scope with GlobalLock/Unlock() there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 02:52:26 +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
Vadim Zeitlin
18caa1e963 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 00:22:02 +00:00
Vadim Zeitlin
7005cf4407 fix wxWeakRef<> for Borland C++ (slightly modified patch 1902415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:12:29 +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
34dc0674f1 fixes for __WINCE_NET__ build (slightly modified patch 1892654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:35:13 +00:00
Vadim Zeitlin
81bed90ee4 only define wxAuiFloatingFrameBaseClass as wxMiniFrame if wxUSE_MINIFRAME==1 (and do it under all platforms, why not?) (replaces part of patch 1892654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:29:54 +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
Julian Smart
c2a4fabb14 Made wxRichTextCtrl cursors accessible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:54:55 +00:00
Vadim Zeitlin
2a8c8b35f8 no changes, just a couple of typo fixes in comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 02:01:02 +00:00
Julian Smart
6c0ea5130f Don't take the previous paragraph style when deleting paragraph marker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:59:06 +00:00
Vadim Zeitlin
194727706f fixes for MSVC compilation with /Wp64 (used by new _vc7 project files): define wxUIntPtr as size_t, not ulong; suppress warning about size_t to int conversion as there are simply too many of them to be fixed now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:42:20 +00:00
Vadim Zeitlin
f954984155 check whether the grid is fully created in Refresh() (fixes a crash under Mac); refactored members initialization into a new InitVars() method to avoid duplication and ensure that they're always initialized (slightly modified patch 1901366)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:17:28 +00:00
Julian Smart
ab44f4bf4e Fixed [ 1720130 ] A minor 'bug' or 'annoyance' with header file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:05:11 +00:00
Paul Cornett
81b0235f13 update GTK size hints when window decorations change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 06:14:32 +00:00
Vadim Zeitlin
6b4296f7fb always return 471 from wxApp::GetComCtl32Version() under CE as its commctrl.dll includes all comctl32.dll v4.71 functionality (replaces patch 1890933)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:28:43 +00:00
Vadim Zeitlin
4798fbc7d1 don't forcefully disable regex and tiff, they build fine with VC8 (and not eVC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:24:22 +00:00
Vadim Zeitlin
2036bdd303 don't define, nor use, LVS_EX_LABELTIP under WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:20:27 +00:00
Vadim Zeitlin
025f7d775c don't include wx/msw/dc.h from wx/msw/private.h, this results in circular inclusion of wx/stream.h from wx/filefn.h before wxFileOffset is defined which results in compilation errors under WinCE and is bad/confusing anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 22:32:23 +00:00
Václav Slavík
5c66d7f7a4 wxMac's wxListBox was missing GetDefaultAttributes() to accompany its GetClassDefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 17:00:35 +00:00
Vadim Zeitlin
21bf81db6f revert r51647 change as it broke the code overriding AcceptsFocusFromKeyboard() to prevent the user from tabbing into a window; simply override it at wxControlContainer too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 13:58:38 +00:00
Vadim Zeitlin
841e47cfd7 remove MacIsReallyShown() as we now have public IsShownOnScreen() doing exactly the same thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 00:19:18 +00:00
Robin Dunn
975bcfda0d Add MacHideApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:37:43 +00:00
Václav Slavík
6fba6c78a4 fixed wxBitmapButton to use focus and hover bitmaps correctly; also fixed tons of misnomers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:59:36 +00:00
Julian Smart
b41f2bbc49 Fixed IsShownOnScreen() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 14:12:34 +00:00
Václav Slavík
bbd92d1dbe moved win_gtk.h header to wx/gtk/private, it's for internal use only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 13:24:05 +00:00
Vadim Zeitlin
2261baf7a4 restore generic DrawEllipticArc() used by CE which was lost during the great wxDC refactoring somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:13:39 +00:00
Vadim Zeitlin
ab63f9985f VC8 doesn't have xlocale support under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:11:37 +00:00
Václav Slavík
61d34c10ea removed now-unused wxSizer::GetMax/MinWindowSize helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 14:07:04 +00:00
Vadim Zeitlin
345264343a implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
Vadim Zeitlin
4decd6afa5 make IsOk() virtual to allow it to be overridden in e.g. wxEnhMetaFile (replaces patch 1896222)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:58:09 +00:00
Vadim Zeitlin
8949ba7d74 reverted r51340: don't use wxWeakRef in the library code as long as not all supported compilers (notably all versions of Borland C++) can compile it; reapply r51340 once wxWeakRef is supported everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:47:50 +00:00
David Elliott
83135a2c28 Don't include dlfcn.h from wx/dynlib.h on Darwin. We might be using our own
internal replacement functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 22:53:38 +00:00
David Elliott
c86ec17bcd Limit wxListBox best size to 100x100. Particularly important on trunk where
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:51:29 +00:00
David Elliott
861b3043ca Revert the 2.8 hacks from r51892 on the trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:26:51 +00:00
David Elliott
580cc1eb85 Ensure that the NSTableColumn width is that of its largest item to enable
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:13:58 +00:00
David Elliott
83259e23a4 Add a new macro to the Objective-C uniquifying support that allows a
uniquified class to be a subclasses of another uniquified class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 20:36:16 +00:00
Vadim Zeitlin
9eaadb1b8c tell user to define _USE_OLD_RW_STL for BC5.6 instead of refusing to compile with it entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 13:44:55 +00:00
Vadim Zeitlin
b5e2a45022 add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 20:11:17 +00:00
Vadim Zeitlin
bb445ba732 turn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:40:13 +00:00
Vadim Zeitlin
2fda1fe5fd fix redundant storage of current date both in wxCalendarCtrl (which was itself redundantly stored as both wxDatePickerCtrl::m_cal and m_popup) and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:39:06 +00:00
Vadim Zeitlin
40e01f4bfa compilation fix for bcc 5.82: don't use enum for value definition, Borland doesn't use the value correctly when the template is used later then
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 14:16:32 +00:00
David Elliott
19253261f5 Move wxWindowCocoaScrollView class into its own header.
(Equivalent of r51796 on the 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 21:08:44 +00:00