Francesco Montorsi
82cddbd97a
fix also wxPen to use wxPenStyle,wxPenJoin,wxPenCap enums instead of plain int; remove from wxBrushStyle the styles wxPen-specific; add backward-compatible ctor to wxPen; don't include brush.h and pen.h from gdicmn.h, rather move wxPenList,wxBrushList,wxFontList in the relative headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 21:11:12 +00:00
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
Václav Slavík
3b96ea1ac5
added wxWindow::Set/GetMin/MaxClientSize convenience functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:40:47 +00:00
Vadim Zeitlin
1b96afaa92
don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:39:32 +00:00
Václav Slavík
32013b47d6
split wxSizer::Fit() into ComputeFittingWindow/ClientSize() that only does computations and Fit() that applies the result to the window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 21:32:11 +00:00
Julian Smart
c025e094f4
Further fixes, for selected text display and new paragraph insertion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:49 +00:00
Vadim Zeitlin
6621957fe2
use platform-specific styles in xTR_DEFAULT_STYLE but don't impose them forcefully in wxGenericTreeCtrl ctor as this prevents people from using them even if they explicitly want to do it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 23:06:09 +00:00
Václav Slavík
f029f1d15b
added wxWindow::HandleAsNavigationKey() helper for handling (not only) TAB key in custom controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 20:13:22 +00:00
Václav Slavík
301d7a0da6
added wxWindow::ClientToWindowSize and WindowToClientSize helpers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 15:49:22 +00:00
Vadim Zeitlin
86d62b51c0
add wxLanguageInfo::GetLocaleName(), this simplifies the current code and will be used with wxXLocale
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:40:03 +00:00
Vadim Zeitlin
ea65760d5c
avoid duplication in the code by refactoring LCID creation from wxLanguageInfo::WinLang and WinSublang in a member function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:23:10 +00:00
Vadim Zeitlin
5a0c7d664e
use correct WXDLLIMPEXP_FWD_CORE instead of WXDLLIMPEXP_FWD_BASE for wxWindow forward declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 20:51:24 +00:00
Vadim Zeitlin
0d29a4828e
implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
68b1c87866
make wxGenericCollapsiblePane a wxControlContainer to allow keyboard navigation to and inside it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 01:24:19 +00:00
Vadim Zeitlin
ab431d9e3d
cast char values to unsigned char before passing them to CRT functions as MSVC CRT asserts if passed a negative value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:43:43 +00:00
Vadim Zeitlin
a4e53d4658
return int, not wxUniChar, from wxTo{upp,low}er_l() for consistency with the standard tow{upp,low}er()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:16:31 +00:00
Vadim Zeitlin
149e70e123
add check for wxUSE_XLOCALE (and also wxUSE_INTL which wasn't checked for some reason)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:08:44 +00:00
Vadim Zeitlin
6e4ae332ac
add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and extended patch 1874287)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:03:23 +00:00
David Elliott
7234425be1
Add wxCocoa to the list of ports which don't need wxColour to derive from wxGDIObject.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 07:20:29 +00:00
Vadim Zeitlin
6dfbea27b9
added wxDebugContext::SetShutdownNotifyFunction() (patch 1887210)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:57:41 +00:00
Vadim Zeitlin
55ae15512c
add GetMDIParent() and use it to reduce the number of casts in the MDI code (patch 1885462)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:37:07 +00:00
Vadim Zeitlin
4db3720881
use generic file picker in wxFLP_SAVE case as the native one doesn't allow to select non-existent files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:30:47 +00:00
Vadim Zeitlin
5de69dd366
don't lose the contents of the combobox if it was set to a value not in a list and a popup has been opened and closed (patch 1883474)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:22:15 +00:00
Vadim Zeitlin
4732e2dca9
add wxUSE_WEAKREF (modified partially applied patch 1870445)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 14:40:26 +00:00
David Elliott
29fbbf8967
Fix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer that it is in that mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 09:12:04 +00:00
Vadim Zeitlin
a131b460ac
don't redeclare wxYield() if it had been already declared to fix g++ warnings with -Wredundant-decls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:17:41 +00:00
David Elliott
7a71aa1402
Reword the comment again. I forgot to save before committing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:06:26 +00:00
David Elliott
74b57569a3
Change the __NEXT_RUNTIME__ test to __OBJC_GC__ which is what I really meant
...
but I had to look up which preprocessor define was emitted by -fobjc-gc.
Also improve the comments a bit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:04:46 +00:00
David Elliott
49bd8fd291
Avoid warnings in the Objective-C uniquifying code when running in GC mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 04:24:35 +00:00
David Elliott
6ecc2922da
Instead of using wxCFRetain/wxCFRelease directly for Objective-C objects add
...
new wxGCSafeRetain/wxGCSafeRelease functions which are specific to Objective-C
objects and can be compile-time switched to standard retain/release without
breaking wxCFRetain/wxCFRelease for CF objects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 23:37:30 +00:00
Václav Slavík
5d2788a3e2
removed unused SYMBOL_WXRICHTEXT.*_TITLE values that were only polluting translation files with untranslatable "titles" such as "wxRichTextBulletsPage"
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 12:33:00 +00:00
David Elliott
ddfdef64fa
Fix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease in wxObjcAutoRef.
...
Actually use wxObjcAutoRef for the wxNSViewNotificationObserver singleton to keep it from being finalized.
Copyright 2008 Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 20:10:07 +00:00
Vadim Zeitlin
1c2697717a
implement (trivially) wxGLApp ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 00:25:43 +00:00
Václav Slavík
a9efc294a9
call Show(false) from ~wxDialog to call EndModal if the dialog is still modal consistently in all ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 19:13:26 +00:00
Vadim Zeitlin
3fc69ebc38
wxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData in wxGenericColourButton where it was copied from) (patch 1883375)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 21:32:11 +00:00
Vadim Zeitlin
5ffd2ea09e
no real changes, just added 2 virtual keywords to (already virtual) functions (significant part of the patch 1881093)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:56:06 +00:00
Vadim Zeitlin
3f20f7d8a3
added wxGLCanvas::IsDisplaySupported() (patch 1879906)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:55:05 +00:00
Vadim Zeitlin
a0bcd61bbc
compilation fix for wchar_t-based builds after ParseISOXXX() additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:38:11 +00:00
Vadim Zeitlin
85ee624151
make wxIdleEventHandler available in console applications too (patch 1878258)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:08:01 +00:00
Vadim Zeitlin
f3f2e255b4
added wxDateTime::FormatISOCombined() and ParseISODate/Time/Combined()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 13:04:56 +00:00
Vadim Zeitlin
3b7c589c55
generate include/wx/univ/setup0.h from setup_inc.h too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 12:20:06 +00:00
Paul Cornett
16487a6fde
remove unused wxMenuBar::m_style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 02:43:48 +00:00
Paul Cornett
7f85af8223
Enable best size caching, remove unnecessary GetLabel() and SetForegroundColour(),
...
remove hack for non-left alignment, it does not seem to be needed anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-02 21:33:51 +00:00
Julian Smart
cd8ba0d9e4
Added a reset-buffer event to give an opportunity to set the default initial style
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:14:44 +00:00
Paul Cornett
144ae5bbbf
remove unnecessary m_glWidget, fix return types for realize and map callbacks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 04:51:34 +00:00
Vadim Zeitlin
1f526a8c79
avoid implicitly converting a wxWindow* to wxGLCanvas
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 18:27:50 +00:00
Vadim Zeitlin
0c73d13351
no changes, just fix a typo in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 17:21:41 +00:00
Václav Slavík
c9faa9e9a2
Fixed compilation of wxVector<T> with VC6:
...
* reverted VC6 hack in wxIf<>, using helper struct instead of typedef
didn't fix compilation, only caused the compiler to crash instead
of emitting semi-useful errors
* changed wxVector to use typedef for Ops class instead of privately
deriving from wxIf<...>::value; this is enough to make VC6 happy
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-31 11:26:52 +00:00
Václav Slavík
04e5392a8d
do the VC6 hacks only when compiling with VC6
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-30 08:49:42 +00:00
Vadim Zeitlin
e6649f2d55
more VC6 fixes: nested value must be real classes, not typedefs; skeleton declaration must contain value as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 23:31:04 +00:00
Vadim Zeitlin
52e5cc357e
corrected comment: wxSingleInstance is not for Win32 only since about 10 years
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 23:11:55 +00:00