Commit Graph

2197 Commits

Author SHA1 Message Date
Vadim Zeitlin
94a09ea5d3 don't crash on startup (fix for last change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-23 12:09:04 +00:00
Vadim Zeitlin
c1ef87c33d don't allocate system fonts/colours dynamically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-21 23:30:03 +00:00
Vadim Zeitlin
564a150b1f replaced all occurences of wxColourDatabase::FindColour() with Find(); minor code cleanup here and there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 23:51:01 +00:00
Robert Roebling
f9ebac93e7 Further corrections to bitmap and blit code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-18 19:23:19 +00:00
Vadim Zeitlin
4e6b83091a added CreateByName(), use it in wxColourDatabase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 17:39:28 +00:00
Robert Roebling
551b5391ae \
Updated bitmap blitting code as per 2_4


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-17 14:28:52 +00:00
Vadim Zeitlin
5cb4253ec2 update the selection properly after deleting the page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-15 22:59:36 +00:00
Robert Roebling
d90c9596c1 Applied new DoDrawBitmap() and DoBlit() from 2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:03:17 +00:00
Robert Roebling
783da8450c Added wxBitmap::Rescale() from 2_4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-09 20:01:49 +00:00
Robert Roebling
a912c1849d Compilo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 18:43:45 +00:00
Robert Roebling
34b5e560a9 Implemented wxChoice::SetString()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 18:09:20 +00:00
Robert Roebling
0d2bf8bf45 Fixed bitmap problem reported last week.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-06 15:59:54 +00:00
Robin Dunn
bfe3577625 Added a const to be consistent with the generic class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-10-02 16:51:36 +00:00
Vadim Zeitlin
f6bc4102d7 and now it even compiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 22:26:47 +00:00
Vadim Zeitlin
e2380ce157 make Delete() work in presence of client data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-30 22:24:06 +00:00
Vadim Zeitlin
dd435a79ed removed wxApp::Initialized() (replaced with a dummy version in wxApp itself); wxApp in wxGTK now uses wxEvtLoop too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-27 13:47:46 +00:00
Vadim Zeitlin
6bb7cee4e9 fixes to radio button handling (patch 803360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-26 19:43:47 +00:00
Vadim Zeitlin
74b0216f3a compilation fix after GetNativeFontInfo() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 02:08:39 +00:00
Vadim Zeitlin
3bf5a59b5e pointer returned by GetNativeFontInfo() is now const and must not be deleted (replaces patch 810192)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 01:23:37 +00:00
Vadim Zeitlin
e441e1f4e8 made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-24 00:26:40 +00:00
Vadim Zeitlin
3a9fa0d6b5 added wxTextCtrl::MarkDirty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-23 00:09:18 +00:00
Vadim Zeitlin
375fc5a970 fix for crash when using user-dashed lines (patch 801663)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:20:39 +00:00
Jouk Jansen
a63b9404f6 Committing in .
Added src/gtk/evtloop.cpp for compilation on OpenVMS.

 Modified Files:
 	wxWindows/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 12:16:28 +00:00
Chris Elliott
624d506b58 fix for gtk swapped colors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-22 09:44:57 +00:00
Vadim Zeitlin
0b98a2524e memory leak fixes in file dialogs (patch 783812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 23:59:55 +00:00
Vadim Zeitlin
6f6f938f3a derive wxComboBox from wxItemContainer (via wxComboBoxBase) in wxGTK (patch 802882)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-20 16:31:06 +00:00
Robin Dunn
443c834d8d Check wxSIZE_ALLOW_MINUS_ONE for x and y too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-19 22:32:24 +00:00
Vadim Zeitlin
71aba8333c fix text scrolling in GTK2 (patch 703988)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-18 23:48:22 +00:00
Robert Roebling
9abbd4a017 Left in some debug code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-16 21:58:02 +00:00
Vadim Zeitlin
1bf77ee556 use wxEventLoop in wxApp under wxMSW; factored out common code from wxX11/wxMotif/wxMGL to wxAppBase; changed wxApp::Dispatch() return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 19:48:16 +00:00
Vadim Zeitlin
8e35ab96f6 call RemoveChild() in ~wxWindowBase instead of doing it in each ~wxWindow for each port
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-15 11:45:08 +00:00
Robert Roebling
8b8a8e0e5f Filter out triple click events entirely.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-11 18:39:15 +00:00
Robert Roebling
863136dea6 Test if G_threads already are initialized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-10 14:28:29 +00:00
Robert Roebling
a1696b86f8 Upported a number of patches to HEAD.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-09 18:04:57 +00:00
Jouk Jansen
1cc4f822d3 Committing in .
Update OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/generic/notebook.cpp
 	wxWindows/src/gtk/notebook.cpp wxWindows/src/univ/descrip.mms
 	wxWindows/src/univ/notebook.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-09-01 14:47:00 +00:00
Vadim Zeitlin
2a68b7a07d compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 23:11:46 +00:00
Vadim Zeitlin
708c45a6ce return the index of the inserted/appended item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-30 23:03:07 +00:00
Stefan Neis
189d1ae7a0 Use "Base" version of wxBell on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-24 20:11:54 +00:00
Robin Dunn
d2c0a964e7 Initialize default values for the tool button size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-23 01:44:09 +00:00
Mattia Barbon
789d0a3dd9 wxGTK compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-21 12:44:52 +00:00
Julian Smart
a61bbf8767 Applied patch2 of [ 703990 ] attrib support in wxGTK2 textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-15 08:17:03 +00:00
Václav Slavík
0aa1258a1b GTK2 compilation fix for Vadim's compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 19:24:59 +00:00
Jouk Jansen
40f2773111 Committing in .
OpenVMS compile support updated

 Modified Files:
 	wxWindows/src/generic/descrip.mms
 	wxWindows/src/gtk/descrip.mms
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-14 06:33:43 +00:00
Vadim Zeitlin
596f1d1160 renamed wxWindow::Clear() to ClearBackground() for wxGTK as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 16:47:43 +00:00
Jouk Jansen
f3858bf561 Committing in .
Updating/repairing OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/src/common/descrip.mms
 	wxWindows/src/gtk/app.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-13 08:48:47 +00:00
Vadim Zeitlin
395470d965 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 01:22:51 +00:00
Vadim Zeitlin
be5b2f9f38 initialize the font fields properly when it corresponds to a native font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-11 01:14:34 +00:00
Václav Slavík
14f355c2b5 added support for gcc precompiled headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Robin Dunn
5b87f8bf2e Fix for wxTextCtrl::GetSelection for singel line controls in GTK2 mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-08 03:57:35 +00:00
Václav Slavík
38bb138f09 fixed wxBase and GUI separation for sockets code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-07 12:26:17 +00:00