Robin Dunn
a55e4e4260
Fix DLL compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:04:56 +00:00
Robin Dunn
7d36c6a8eb
Patch from FN that fixes bug in RefreshItem on an item that has no
...
corresponding node in the tree yet (because its parent isn't expanded
yet) triggered an exception.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:59:00 +00:00
Vadim Zeitlin
3a41827a6d
call gtk_file_chooser_set_current_folder even if the default file name is empty (but default directory isn't) (bug 1701682)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:21:46 +00:00
Vadim Zeitlin
831faf970a
corrected the direction of comparisons between wxString and char/wxChar strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 14:56:51 +00:00
Vadim Zeitlin
178d7ec235
removed superfluos semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 14:20:42 +00:00
Robert Roebling
99d471a5db
Rewritten in-place editing for generic wxDataViewCtrl
...
moving the code (partly) to the renderer and away
from the wxDataViewCtrl class. Adding new in-plae
editors (wxChoice) should be much simpler now.
Also implemented using Validate() before committing
a change to the data model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 12:45:25 +00:00
Václav Slavík
8060b0be0e
added wxMBConv argument to char_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 11:04:35 +00:00
Václav Slavík
681e441286
added wxCStrData::As[W]CharBuf() that doesn't keep converted string in memory for longer than needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 06:59:04 +00:00
Vadim Zeitlin
ff0d9d83cd
more native look for wxCheckListBox (especially under XP) (modified patch 1690068)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:26:13 +00:00
Vadim Zeitlin
8a46124968
added new wxCONTROL_FLAT bit (see discussion of patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:22:46 +00:00
Vadim Zeitlin
d4adf63ba3
use wxRenderer::DrawCheckBox() instead of doing it manually
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 00:53:05 +00:00
Vadim Zeitlin
59ee63e934
implement DrawCheckBox() in class Win32 renderer (modified patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 00:51:31 +00:00
Vadim Zeitlin
15b239c0eb
don't erase background in GL canvases to reduce flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:29:45 +00:00
Vadim Zeitlin
dc2819335f
added #ifdef __X__ forgotten in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:21:56 +00:00
Vadim Zeitlin
0ce4fad6ae
use IsShownOnScreen() in OnSize() to ensure that the window is realized (important for X11-based ports) before trying to create an associated context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:09:46 +00:00
Vadim Zeitlin
010eb424bb
fix handling of stock menu items (creating a stock item without label left its label empty)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:08:19 +00:00
Vadim Zeitlin
498ace9e1f
Refactor all code common to X11 OpenGL implementations into glx11.h/.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:06:45 +00:00
Vadim Zeitlin
e4e83f385a
added wxGetX11Display() returning the pointer of the correct type, unlike the old wxGetDisplay()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 22:54:36 +00:00
Václav Slavík
cf9a878b54
removed implicit conversion from wxString::iterator to wxStringImpl::iterator (fixes VC6 compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 19:02:38 +00:00
Václav Slavík
8a7afe4dfe
compilation fix for VC6 with wxUSE_STL=1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 18:47:19 +00:00
Vadim Zeitlin
a81a4db388
removed unnecessary return in a void function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 16:43:37 +00:00
Vadim Zeitlin
e559e76ed9
added back SetCurrent() call accidentally removed in one of recent commits
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 15:23:05 +00:00
Vadim Zeitlin
bc521497d3
use slightly more light
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 15:21:25 +00:00
Vadim Zeitlin
378a3872eb
use textures in the shared context to test how this works when using multiple windows with the same context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 15:13:49 +00:00
Mattia Barbon
644cb5372c
Make wxClassInfo attributes private. Replace
...
direct access to sm_classTable with a (const) iterator
interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 11:43:37 +00:00
Václav Slavík
a4a44612a6
implement wxString:IsXXX() methods using iterators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 10:07:40 +00:00
Vadim Zeitlin
50f5d508a8
reorganized the code to put the logic in wxGLContext-derived class but keep the state in the window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 00:54:32 +00:00
Vadim Zeitlin
43c05cf8e1
adjust the window coordinates for parent client area origin when in Create() too and not only in DoSetSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 00:28:05 +00:00
Vadim Zeitlin
6285e36ba0
added wxRTTI macros to stream classes (patch 1687073)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 23:35:13 +00:00
Vadim Zeitlin
67cff9dc2f
added overloads of ctor/insert/assign/append taking a pair of wxCStrData objects to allow compilation of expression like wxString(s.c_str()+1, s.c_str()+2) (fixes wxUniv compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 23:15:57 +00:00
Václav Slavík
b1b592ad75
don't compile Scintilla sources with -Wall
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 19:05:45 +00:00
Václav Slavík
819d77af7c
fixed the order of aboutdlg.h file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 18:27:03 +00:00
Robert Roebling
47c9446614
Add test for Validate()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 17:59:56 +00:00
Robert Roebling
01705e98c1
Text alignment is for GTK 2.10 and above only.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 17:58:49 +00:00
Paul Cornett
76a93e31dd
fix assert on gtk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 17:39:48 +00:00
Václav Slavík
486a594182
added ability to create 'non-owned' buffers that aren't freed by wxCharBuffer dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 16:58:48 +00:00
Václav Slavík
8237a1c052
VC6 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 16:06:50 +00:00
Chris Elliott
9be4fc3cea
add svg in new location
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 15:52:07 +00:00
Chris Elliott
741f81ac6f
remove outdated makefiles and .cvsignore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:31:09 +00:00
Chris Elliott
29263adce4
add back stc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:26:29 +00:00
Chris Elliott
3393bed9b4
stc src and includes added back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:24:38 +00:00
Chris Elliott
343ce358df
stc sample added back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 14:20:44 +00:00
Vadim Zeitlin
aa0f7b67fd
added wxAPPLY and wxCLOSE flags to CreateStdDialogButtonSizer() (Marcin Wojdyr)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 13:22:31 +00:00
Vadim Zeitlin
57d7f9888e
added wxAPPLY and wxCLOSE flags to CreateStdDialogButtonSizer() (Marcin Wojdyr)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 13:17:06 +00:00
Stefan Csomor
db56793066
fixing non core graphcis build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:17:54 +00:00
Stefan Csomor
c97c00543b
fixing assert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:16:36 +00:00
Václav Slavík
a4c1cdc9dc
don't use the VC6 workaround in wxList with newer versions of VC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 11:04:30 +00:00
Václav Slavík
bc5443ba07
fixed wxUniCharRef::IsAscii() definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 10:45:58 +00:00
Stefan Csomor
9154a136d5
fixing the shrinking embedded controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 10:19:26 +00:00
Václav Slavík
47b378bd88
removed extra semicolons (patch #1700459 ; fixes compilation with gcc's -pedantic flag)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00