Commit Graph

1064 Commits

Author SHA1 Message Date
Vadim Zeitlin
6a8158088f added wxTB_FLAT to default style in wxFrame::CreateToolbar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-28 22:28:25 +00:00
Guilhem Lavaux
3b4183d82b * Fixed some "memory leak"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-28 18:36:47 +00:00
Julian Smart
4fabb57533 wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
wxScrollBar::Set/GetPosition changed to Set/GetThumbPosition to avoid clash;
various other portability changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-28 13:38:40 +00:00
Unknown (UG)
f2b0391116 no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-28 06:26:22 +00:00
Unknown (UG)
a1ee9ea29c no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-27 16:51:03 +00:00
Vadim Zeitlin
db9504c504 wxStringList::copy ctor and assignment operator added (very inefficient
because they don't take advantage of wxString ref counting)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-27 16:31:27 +00:00
Karsten Ballüder
1805077dc2 handle sizeof(int) correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-27 14:19:39 +00:00
Karsten Ballüder
f0a7cb422e made operator definition dependent on sizeof(int), not __UNIX__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-27 11:55:54 +00:00
Karsten Ballüder
1b56e2b447 removed duplicate fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 20:52:30 +00:00
Karsten Ballüder
f780dc8642 trying to resolve string problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 20:47:40 +00:00
Vadim Zeitlin
ff5bf2590f wxTreeCtrl::Delete() bug corrected, sample expanded to test it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 19:10:01 +00:00
Robert Roebling
8a0a092b3c Build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 18:15:09 +00:00
Vadim Zeitlin
8ea6ab33e5 accidentally removed IMPLEMENT_DYNAMIC_CLASS added back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 17:07:39 +00:00
Robert Roebling
76ed8f8d9c Flicker war won.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 16:11:46 +00:00
Mart Raudsepp
e3ca08dd12 insert member funcs PositionToXY and XYToPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 16:05:23 +00:00
Vadim Zeitlin
7aa88ac4af vsprintf() is ANSI so there is normally no need to test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 15:30:26 +00:00
Vadim Zeitlin
53c6e7ccd2 some sprintf()s replaced with wxString::Printf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 15:21:12 +00:00
Vadim Zeitlin
ff528365c8 wxList::Insert() bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 14:08:16 +00:00
Karsten Ballüder
225526039b trying with only an operator[] (int) and not (size_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 11:38:02 +00:00
Julian Smart
74e34480fb Fixed Dialog Editor compilation and window sizing bug. Various warning-related
fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 09:56:02 +00:00
Robert Roebling
a802c3a1f6 Fixes for wxlist
improvements for DnD :-)
  moer dialog and frame fine tuning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-26 07:11:24 +00:00
Julian Smart
7fe7d506b1 Various wxMotif changes including size optimisation and debugging operator fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 21:42:56 +00:00
Robert Roebling
7be4c5946c Resize fine tuning
thread_list no longer keyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 19:42:48 +00:00
Robert Roebling
031b2a7b8d Fixed module code
Fixed printing and preview
  Grid: event handlers MUST NOT BE VIRTUAL
  Corrected init code for all DCs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 17:55:08 +00:00
Karsten Ballüder
6e7a2c38f2 use unsigned for wxString [] operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 16:28:55 +00:00
Karsten Ballüder
55c1b531a5 another i.c.e.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 15:16:19 +00:00
Karsten Ballüder
7ba2eb4272 fixed internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 15:15:24 +00:00
Karsten Ballüder
59043ba230 fixed internal compiler error and proper translation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 15:10:45 +00:00
Karsten Ballüder
b9fc7b7fdd made operator[](int n) const #ifdef _WXMSW__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 14:34:16 +00:00
Karsten Ballüder
6bc5e910c4 fixed the internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 12:36:28 +00:00
Karsten Ballüder
a38b83c353 fixed the vsprintf() problem once and for all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 12:13:54 +00:00
Julian Smart
6164d85e89 Various fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 12:01:23 +00:00
Karsten Ballüder
35c9d9582b Added test for sprintf and vsnprintf to fix string.cpp for non-GNU systems.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 11:41:56 +00:00
Unknown (UG)
f033eb0a6c no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 09:58:29 +00:00
Robin Dunn
b639c3c5ef Added wxPalette, wxRegion, wxRegionIterator, wxTaskbarIcon
Added events for wxGrid
Other various fixes and additions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 08:47:28 +00:00
Robert Roebling
7f985bd39a wxFrame size bug
build fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 08:41:17 +00:00
Robin Dunn
1f481e6a25 Converted the virtual-methods-callbacks into real events, leaving the
original virtuals intact so as to not break any existing code.  Needed
for wxPython.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 08:17:50 +00:00
Robin Dunn
8a111b2978 Enabled the wxUSE_VC_CRTDBG to be optional even if it would otherwise
be used since I couldn't get it to work here.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 08:15:38 +00:00
Robin Dunn
1f01991fad Fixed an issue related to the new wxList.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 08:13:00 +00:00
Robert Roebling
ba4e365239 Improvements for notebooks on various versions of GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 07:42:11 +00:00
Vadim Zeitlin
3bef6c4cf3 added untyped Sort() for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 00:30:06 +00:00
Vadim Zeitlin
2600d8ee0c LISTs renamed to OBJARRAYs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 23:53:19 +00:00
Vadim Zeitlin
0297f5c677 renamed old listimpl.cpp (because now there is a "real" listimpl.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 23:34:24 +00:00
Vadim Zeitlin
fd3f686c27 1. new wxList code
2. fixes to allow compilation at -W4 with VisualC++ 6.0


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 23:30:50 +00:00
Julian Smart
621793f45e 2nd attempt at MDI in wxMotif, using wxNotebook this time (still some probs).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 21:55:10 +00:00
Guilhem Lavaux
6773ae198f * Fixed a memory leak in wxThread
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 19:01:20 +00:00
Vadim Zeitlin
7be07660b4 1. Empty() now doesn't free memory - Clear() does
2. operator<<(int), (float) and (double) added
3. vsnprintf() is used if available instead of vprintf() (buffer overflows...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 16:08:06 +00:00
Robert Roebling
38c7b3d369 Big fix for GTK 1.1.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 15:34:41 +00:00
Robert Roebling
fed46e722a GTK's dnd is broken, not mine
Added notebook::removepage (not tested)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 13:29:09 +00:00
Robert Roebling
33a5bc5299 Corrected wxCHECK calls in bitmap.cpp
Added drop side of new DnD for GTK 1.1.3 without success
  Streamlined DnD
  Corrected frame resize for GTK 1.06


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-23 22:54:15 +00:00