Commit Graph

39608 Commits

Author SHA1 Message Date
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
Stefan Csomor
3dccf96eab cleaning up problems after string changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:33:10 +00:00
Stefan Csomor
e6893d5d28 cleaning up problems after string changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:24:02 +00:00
Vadim Zeitlin
3b6c95eb5f even controls with transparent background should draw it if they have an explicitly set background colour, so handle this at wxWindowUniv level instead of adding hacks to individual controls, such as wxStaticText, to deal with this (replaces patch 1700004)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 01:15:53 +00:00
Vadim Zeitlin
b5a3a81b9c fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (patch 1700000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:36:42 +00:00
Vadim Zeitlin
223b7504a2 implement support for right-aligned/centered items owner-drawn items (patch 1699415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:32:52 +00:00
Vadim Zeitlin
26822b76fa removed documentation for wxStartTimer() and wxGetElapsedTime() which are only kept for backwards compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:26:47 +00:00
Robert Roebling
456e5c2107 Correctly handle ENTER for cell activation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 16:27:08 +00:00
Vadim Zeitlin
620c9408b8 rebaked after wxUSE_EXTENDED_RTTI and wx/flags.h addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 12:06:21 +00:00
Vadim Zeitlin
9d1eeb0bf2 removed contrib files from the scripts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 02:13:41 +00:00
Vadim Zeitlin
dcf6360308 removing unnecessary makefiles, there is nothing left here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 02:02:24 +00:00
Vadim Zeitlin
3b861ac783 removing obsolete and not working tool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 02:00:14 +00:00
Vadim Zeitlin
335d3a472a clarifications to the ctor documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 01:27:57 +00:00
Václav Slavík
817270659e initial version of UTF-8 strings representation (still converting to wchar_t* a lot); it has to be explicitly enabled with --enable-utf8 for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 21:15:07 +00:00
Václav Slavík
5b077ec744 moved vararg handling code in wxMessageOutput to single method and added simple Output(wxString) virtual method instead of DoPrintf(format,...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 21:13:05 +00:00
Robin Dunn
7e173fdcef Forward declare new wxPy classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 19:51:09 +00:00
Václav Slavík
fee043161b removed unneeded wxChar* cast, we already have wxString one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 17:47:26 +00:00
Vadim Zeitlin
a2e4a628ee removed the code to manually send wxNavigationEvents, it's not needed any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 15:00:56 +00:00
Vadim Zeitlin
0d5f4ba3b0 avoid code duplication by using helper functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 14:57:41 +00:00
Vadim Zeitlin
33c6e437f5 modify the listbox item in place instead of deleting and inserting it back in SetString(), this gets rid of confusing listbox selection events for invalid item when SetString() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 14:28:36 +00:00
Robin Dunn
8c3a71838a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-12 00:56:21 +00:00