Commit Graph

39525 Commits

Author SHA1 Message Date
Václav Slavík
75b16a30bd reverted previous commit and added a comment explaining why CByteArrayFormat should be kept
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 19:32:48 +00:00
Václav Slavík
05f32fc39e don't crash if (char*)c_str() is used twice in a row on the same string and both pointers are used at the same time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 19:13:52 +00:00
Vadim Zeitlin
dc3065a56f Big wxGL classes refactoring/cleanup:
1. Provide the same API, especially, but not limited to, wxGLCanvas and
   wxCLContext ctors (which were completely different in all ports)
2. Extracted common parts into wxGLCanvas/ContextBase classes
3. Deprecate the old API using implicitly created wxGLContext


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 17:38:55 +00:00
Vadim Zeitlin
1f602af615 rename the menu to avoid conflict with a standard Mac menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 16:51:52 +00:00
Stefan Csomor
25fab0dca9 don't change the case of extensions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 16:09:30 +00:00
Václav Slavík
e7b54c0721 fixed typo: _T(), not _()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 14:55:02 +00:00
Vadim Zeitlin
f70f1f25da add GetOwner() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 14:35:34 +00:00
Václav Slavík
0cdb0b9666 removed unused CByteArrayFormat function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 13:37:27 +00:00
Stefan Csomor
9f9a581228 accomodating to new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 13:25:13 +00:00
Stefan Csomor
a3a08bd84e using info plist above, debug on native arch only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 12:49:24 +00:00
Stefan Csomor
4afa6df339 needs threads...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 12:35:29 +00:00
Stefan Csomor
8116a0c55e correcting include style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 12:23:44 +00:00
Stefan Csomor
75c25a8219 fixing refcounting for embedded native controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 11:23:51 +00:00
Robert Roebling
06354b5621 Document wxWindow::Navigate() instead of generation
of a navigation event in the text on wxWANTS_CHARS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 08:03:39 +00:00
Vadim Zeitlin
346d8899f3 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 01:29:16 +00:00
Vadim Zeitlin
264f22613c refresh GL canvas itself, not the frame, when the GL context changes, otherwise it doesn't redraw under wxGTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 00:02:15 +00:00
Vadim Zeitlin
173ca738fd reverted patch 1325857 (rev 1.561): it might have fixed handling of CJK keys but broke handling of the normal keys without IM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 23:42:34 +00:00
Vadim Zeitlin
b94d29a7a1 fix the sample to work under X11 (where a context can't be made current before the window is realized)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 23:03:54 +00:00
Vadim Zeitlin
43c742d005 1. switched to new wxGLCanvas API (not using the implicit context)
2. pruned everything not related to OpenGL, making the remaining code much
   more readable
3. show using the same wxGLContext with multiple wxGLCanvases


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 22:54:40 +00:00
Vadim Zeitlin
bbe645133b last version was broken and died when trying to create config.status, regenerated a working one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 22:32:30 +00:00
Vadim Zeitlin
34a0dc614e truncate the static box label to fit the control size (patch 1695228)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:39:09 +00:00
Vadim Zeitlin
28117f2426 make Enter/Return activate the default button (second version of patch 1696563)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:28:27 +00:00
Vadim Zeitlin
63ab3daed9 don't use Pango hack for drawing underlined text when using new enough version of Pango (patch 1697040)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:21:44 +00:00
Vadim Zeitlin
5440a04fa8 don't return the next line text from GetLineText() for empty lines (patch 1697208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:17:09 +00:00
Václav Slavík
7dd1ae1114 added wxgl pseudotarget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 20:33:57 +00:00
Mattia Barbon
eafd76b02c Replace direct calls to ProcessEvent() with
GetEventHandler()->ProcessEvent().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:43:23 +00:00
Vadim Zeitlin
e9793aef3c escape &
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:09:20 +00:00
Vadim Zeitlin
7f580b6380 fix --with-opengl formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:04:03 +00:00
Vadim Zeitlin
6859e6fcca don't overwrite the buffer if extending it failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:52:27 +00:00
Vadim Zeitlin
6b5a8c7d98 replaced deprecated wxMULTIPLE with wxFD_MULTIPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:50:25 +00:00
Vadim Zeitlin
14eacdd46a compilation fixes: remove unneeded c_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:46:34 +00:00
Vadim Zeitlin
e273c962f8 added wx/image.h to fix compilation without PCH after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 13:51:43 +00:00
Vadim Zeitlin
9daaea2854 undid signed/unsigned warning fix of rev 1.73 as the type of wxString::iterator::operator-() is now signed again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 12:21:51 +00:00
Vadim Zeitlin
ebc0b15552 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 12:19:12 +00:00
Vadim Zeitlin
32a2c06eed fix unused parameter warning introduced by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 12:13:54 +00:00
Vadim Zeitlin
79b83ef085 make wxVarVScrollLegacyAdaptor::OnGetLineHeight() non-pure virtual to fix compilation with WXWIN_COMPATIBILITY_2_8==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 11:37:04 +00:00
Vadim Zeitlin
b7276b44ce compilation fixes after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 11:18:54 +00:00
Václav Slavík
89360a8c87 string iterator's operator- should return difference_type, not size_t or unsigned
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 08:18:33 +00:00
Václav Slavík
1bb592b878 removed spurious semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 06:50:28 +00:00
Václav Slavík
1918a4c47f compilation fix: needs wx/string.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 06:47:51 +00:00
Vadim Zeitlin
bafddbe882 added missing membersection for CreateIconBundle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 00:19:13 +00:00
Vadim Zeitlin
ccc20afae9 fix a fatal crash due to using wxHSCROLL presence in m_windowStyle as indicator of whether we wrap lines or not: this didn't work because wxHSCROLL was temporarily reset in wxWindow::Create() and so we used wxTextWrappedData when we only had created wxTextMultiLineData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 23:25:36 +00:00
Vadim Zeitlin
2e9c0c010a don't skip the scroll position validity check in CalcScrollInc() if m_[xy]ScrollPixelsPerLine is NULL, this resulted in problems mentioned in patch 1696082
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 23:06:42 +00:00
Vadim Zeitlin
600b3983e9 pass 0, not NULL, to SendMsg() which takes long to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:42:45 +00:00
Vadim Zeitlin
2cdb6fdb13 added mouse wheel support (patch 1696082)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:28:42 +00:00
Vadim Zeitlin
75722dbab8 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:26:53 +00:00
Vadim Zeitlin
94aff5ff86 Call wxTLW::SetDefaultItem() from wxButtonBase::SetDefault() instead of doing
it in wxButton implementations in (almost) all ports; changed its return type
to "wxWindow *" from "void" to accommodate the ports needing the old default
item (replaces part of patch 1696563)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:18:35 +00:00
Vadim Zeitlin
a78a8f7fd5 make test_for_selected_wxbuild target optional (patch 1696363)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 21:45:11 +00:00
Vadim Zeitlin
4609ee2ef8 fix the problem with parsing HTML comments (closes bug 1116708; based on patch 1168583)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 21:02:03 +00:00
Václav Slavík
132276cf0d fix crash in ~wxString with global wxString objects: temporarily move conversion buffers from a hash to wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 17:52:00 +00:00