Commit Graph

11456 Commits

Author SHA1 Message Date
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
Václav Slavík
7ca735413a corrected VC++ version check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 19:50:34 +00:00
Vadim Zeitlin
986d59e27e fix compilation with VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 18:37:38 +00:00
Robin Dunn
ccc998cc5c use import/export macro on wxTrackable to avoid warnings on derived classes in DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 17:41:10 +00:00
Václav Slavík
d05b30e400 VC5 didn't support partial specialization either, check for VC>=7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 17:38:04 +00:00
Václav Slavík
4d2df97f6c wx*DCImpl PCH-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 14:09:56 +00:00
Václav Slavík
a38c9b4337 added wxCHECK_VISUALC_VERSION macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 12:22:13 +00:00
Václav Slavík
28f0592cd9 compilation fix for VC6, it doesn't support partial template specialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:26:30 +00:00
Vadim Zeitlin
6b9c622a2e define __VISUALCn__ for n=5,6,7,8,9 and not only 8 (should have been part of r51353)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:14:51 +00:00
Vadim Zeitlin
d57b71603f significantly simplify this file by using token pasting in #incoude and #pragma comment(lib) instead of repeating them 4 or 8 times
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 11:11:15 +00:00
Paul Cornett
d968078adb Remove unnecessary IsRadioButton().
Replace m_blockEvent with g_signal_handlers_block().
Remove wxRadioButton::DoGetBestSize(), it just calls the base.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 04:02:33 +00:00
Paul Cornett
e0749635a5 HP aC++ 3.80 can't handle parenthesized string literal in an initializer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-28 04:15:11 +00:00
Václav Slavík
84d2877f32 UTF-8 build fixes for appending, setting or searching for NUL characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 16:29:52 +00:00
Vadim Zeitlin
1894e49f51 add wxCONCAT[345]() helper macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 14:10:53 +00:00
Vadim Zeitlin
c058cafa56 don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 13:21:39 +00:00
Vadim Zeitlin
75aea0d824 define (empty) SetIcon() method in wxGenericMDIChildFrame for compatibility with MSW implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:43:46 +00:00
Vadim Zeitlin
04d24675d3 set listview extended styles after switching to report view and not only when creating it (blind fix for bug 1874996)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-26 22:54:47 +00:00
Vadim Zeitlin
855b9ce000 include wx/stopwatch.h to get wxMilliClock_t and wxGetLocalTimeMillis() declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 21:51:42 +00:00
Julian Smart
6470ffba45 Fixed a bug in HasAlignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 09:15:26 +00:00
Vadim Zeitlin
aa709c269a compilation fix after r51188: only define operator<<() overloads for wxLongLong_t for VC6, next VC versions (and presumably all other compilers as we hadn't had problems with them before) define them in their standard library already
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 23:32:12 +00:00
Bryan Petty
704e631016 Reverted wxAuiFloatingFrame dtor crash fix (r51324) in favor of wxWeakRef implementation, thanks Robert.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-23 07:53:03 +00:00
Vadim Zeitlin
3056dddc54 remove the unnecessary non-const GetPage() overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 19:31:10 +00:00
Václav Slavík
6712283cf1 fixed wxVector<T> to work with non-POD types again; added optimization to keep using (much faster) realloc with types that are movable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 11:29:21 +00:00
Julian Smart
97f3b1e939 Added event handler macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:23:31 +00:00
Bryan Petty
601398b9b1 Fixed a rare wxAuiFloatingFrame dtor crash on MSW using a registration mechanism in wxAuiManager.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:20:18 +00:00
Václav Slavík
760be3f7cb wxGrid focus handling fixes:
- don't allow focus in helper labels subwindows
- draw selection in different colour when not focused
- hide cursor/highlight when not focused



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 17:11:49 +00:00
Václav Slavík
7f35e5eeca prefix implementation methods of wxBitmapButton with 'GTK' to prevent shadowing of HasFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 15:03:10 +00:00
Václav Slavík
3358af0f87 added wxWindow::HasFocus() for more convenient way of determining if a (possibly composite) window has focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 13:30:24 +00:00
Václav Slavík
4f927337cc use full path to headers in header guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 11:56:15 +00:00
Václav Slavík
7df6b37a50 reverted last commit, it was wrong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 08:45:19 +00:00
Václav Slavík
17c4163028 utils.h is not needed by wxVector, removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 08:42:56 +00:00
Vadim Zeitlin
c699b4583b no changes, just come cleanup and more comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-20 22:55:16 +00:00
Vadim Zeitlin
22de6a4083 add wxDatePickerCtrl support in wxGenericValidator (patch 1870174)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-20 22:40:14 +00:00
Vadim Zeitlin
728bcab0b8 correct misleading OnSize() comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-17 18:31:04 +00:00
Paul Cornett
ccd96bfe8e check for vswscanf(), AIX 5.1 and HP-UX 11.11 don't have it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-17 05:17:24 +00:00
Vadim Zeitlin
0273787aba restored wxEnhMetaFileDC::Close() lost in wxDC reorganization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-17 00:31:33 +00:00
Václav Slavík
f86f607c99 include VC++ version in build compatibility string
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 12:49:19 +00:00
Vadim Zeitlin
42d9ad7949 removed unneeded wxWeakRefDynamic::AssignCopy() (last part of patch 1870445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 02:09:00 +00:00