From: Vadim Zeitlin Date: Wed, 24 Dec 2008 01:28:55 +0000 (+0000) Subject: reorganize scroll sample to make it possible to understand what it does both when... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6a5a7fba9daa003bb416fd8b7dff57a93eecf8d0 reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/configure b/configure index 589b96cacb..96fc43521e 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 57209 2008-12-08 23:19:37Z FM . +# From configure.in Id: configure.in 57498 2008-12-22 14:03:09Z RR . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0. # @@ -45691,6 +45691,10 @@ if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd" fi +if test "$wxUSE_CLIPBOARD" = "yes"; then + SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard" +fi + if test "$wxUSE_SPLINES" = "yes" ; then cat >>confdefs.h <<\_ACEOF #define wxUSE_SPLINES 1 @@ -46031,7 +46035,7 @@ if test "$wxUSE_SCROLLBAR" = "yes"; then _ACEOF USES_CONTROLS=1 - SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub" + SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll" fi if test "$wxUSE_SEARCHCTRL" = "yes"; then diff --git a/configure.in b/configure.in index 760039af55..09f4c0c348 100644 --- a/configure.in +++ b/configure.in @@ -6728,7 +6728,7 @@ fi if test "$wxUSE_SCROLLBAR" = "yes"; then AC_DEFINE(wxUSE_SCROLLBAR) USES_CONTROLS=1 - SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub" + SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll" fi if test "$wxUSE_SEARCHCTRL" = "yes"; then diff --git a/distrib/msw/cw.rsp b/distrib/msw/cw.rsp index a8e40fd78b..d3f3ac1096 100644 --- a/distrib/msw/cw.rsp +++ b/distrib/msw/cw.rsp @@ -71,7 +71,6 @@ samples/regtest/*W7.xml samples/rotate/*W7.xml samples/sashtest/*W7.xml samples/scroll/*W7.xml -samples/scrollsub/*W7.xml samples/shaped/*W7.xml samples/sockets/*W7.xml samples/splitter/*W7.xml diff --git a/distrib/msw/cw_mac.rsp b/distrib/msw/cw_mac.rsp index 6cedd7abbd..4d9260ee90 100644 --- a/distrib/msw/cw_mac.rsp +++ b/distrib/msw/cw_mac.rsp @@ -138,8 +138,6 @@ samples/sashtest/*M?.xml samples/sashtest/*.mcp samples/scroll/*M?.xml samples/scroll/*.mcp -samples/scrollsub/*M?.xml -samples/scrollsub/*.mcp samples/shaped/*M?.xml samples/shaped/*.mcp samples/sockets/*M?.xml diff --git a/distrib/msw/dmc.rsp b/distrib/msw/dmc.rsp index 0134d2c7e8..9e743536c4 100644 --- a/distrib/msw/dmc.rsp +++ b/distrib/msw/dmc.rsp @@ -113,7 +113,6 @@ samples/richedit/makefile.dm? samples/rotate/makefile.dm? samples/sashtest/makefile.dm? samples/scroll/makefile.dm? -samples/scrollsub/makefile.dm? samples/shaped/makefile.dm? samples/sockets/makefile.dm? samples/sound/makefile.dm? diff --git a/distrib/msw/generic.rsp b/distrib/msw/generic.rsp index 75a3d0be61..95a42f2962 100644 --- a/distrib/msw/generic.rsp +++ b/distrib/msw/generic.rsp @@ -1076,19 +1076,6 @@ samples/scroll/*.txt samples/scroll/*.pro samples/scroll/*.bkl -samples/scrollsub/*.cpp -samples/scrollsub/*.h -samples/scrollsub/makefile* -samples/scrollsub/*.rc -samples/scrollsub/*.bmp -samples/scrollsub/*.xpm -samples/scrollsub/*.xbm -samples/scrollsub/*.png -samples/scrollsub/*.ico -samples/scrollsub/*.txt -samples/scrollsub/*.pro -samples/scrollsub/*.bkl - samples/shaped/*.cpp samples/shaped/*.h samples/shaped/makefile* diff --git a/distrib/msw/makefile.rsp b/distrib/msw/makefile.rsp index 55fa88a60f..322c81640b 100644 --- a/distrib/msw/makefile.rsp +++ b/distrib/msw/makefile.rsp @@ -73,7 +73,6 @@ samples/richtext/Makefile.in samples/rotate/Makefile.in samples/sashtest/Makefile.in samples/scroll/Makefile.in -samples/scrollsub/Makefile.in samples/shaped/Makefile.in samples/sound/Makefile.in samples/sockets/Makefile.in diff --git a/distrib/msw/vc.rsp b/distrib/msw/vc.rsp index bb2c48d200..a4596a2596 100644 --- a/distrib/msw/vc.rsp +++ b/distrib/msw/vc.rsp @@ -167,8 +167,6 @@ samples/sashtest/sashtest.dsp samples/scroll/scroll.dsp -samples/scrollsub/scrollsub.dsp - samples/shaped/shaped.dsp samples/sockets/sockets_client.dsp diff --git a/distrib/msw/wince.rsp b/distrib/msw/wince.rsp index a9fa4092b2..fd8534c63b 100644 --- a/distrib/msw/wince.rsp +++ b/distrib/msw/wince.rsp @@ -209,9 +209,6 @@ samples/sashtest/sashtest.vcw samples/scroll/scroll.vcp samples/scroll/scroll.vcw -samples/scrollsub/scrollsub.vcp -samples/scrollsub/scrollsub.vcw - samples/shaped/shaped.vcp samples/shaped/shaped.vcw diff --git a/distrib/scripts/manifests/dmc.rsp b/distrib/scripts/manifests/dmc.rsp index 974e2a7c8e..8debf41ebe 100644 --- a/distrib/scripts/manifests/dmc.rsp +++ b/distrib/scripts/manifests/dmc.rsp @@ -176,8 +176,6 @@ samples/sashtest/makefile.dmc samples/sashtest/makefile.dms samples/scroll/makefile.dmc samples/scroll/makefile.dms -samples/scrollsub/makefile.dmc -samples/scrollsub/makefile.dms samples/shaped/makefile.dmc samples/shaped/makefile.dms samples/sockets/makefile.dmc diff --git a/distrib/scripts/manifests/generic_samples.rsp b/distrib/scripts/manifests/generic_samples.rsp index d6c551f5d0..92927b5dab 100644 --- a/distrib/scripts/manifests/generic_samples.rsp +++ b/distrib/scripts/manifests/generic_samples.rsp @@ -1097,17 +1097,6 @@ samples/scroll/makefile.unx samples/scroll/makefile.wat samples/scroll/makefile.vc samples/scroll/scroll.cpp -samples/scrollsub/scrollsub.bkl -samples/scrollsub/scrollsub.rc -samples/scrollsub/scrollsubM5.xml -samples/scrollsub/scrollsub.dsp -samples/scrollsub/Makefile.in -samples/scrollsub/makefile.bcc -samples/scrollsub/makefile.gcc -samples/scrollsub/makefile.unx -samples/scrollsub/makefile.wat -samples/scrollsub/makefile.vc -samples/scrollsub/scrollsub.cpp samples/shaped/descrip.mms samples/shaped/shaped.bkl samples/shaped/shaped.rc diff --git a/distrib/scripts/manifests/makefile.rsp b/distrib/scripts/manifests/makefile.rsp index ae02497cc0..1477de465c 100644 --- a/distrib/scripts/manifests/makefile.rsp +++ b/distrib/scripts/manifests/makefile.rsp @@ -87,7 +87,6 @@ samples/richtext/Makefile.in samples/rotate/Makefile.in samples/sashtest/Makefile.in samples/scroll/Makefile.in -samples/scrollsub/Makefile.in samples/shaped/Makefile.in samples/sockets/Makefile.in samples/sound/Makefile.in diff --git a/distrib/scripts/manifests/vc.rsp b/distrib/scripts/manifests/vc.rsp index 11e70b8c50..b9dbe72544 100644 --- a/distrib/scripts/manifests/vc.rsp +++ b/distrib/scripts/manifests/vc.rsp @@ -188,8 +188,6 @@ samples/sashtest/sashtest.dsp samples/sashtest/sashtest.dsw samples/scroll/scroll.dsp samples/scroll/scroll.dsw -samples/scrollsub/scrollsub.dsp -samples/scrollsub/scrollsub.dsw samples/shaped/shaped.dsp samples/shaped/shaped.dsw samples/sockets/sockets_client.dsp diff --git a/distrib/scripts/manifests/wince.rsp b/distrib/scripts/manifests/wince.rsp index ada885d884..2118d23a33 100644 --- a/distrib/scripts/manifests/wince.rsp +++ b/distrib/scripts/manifests/wince.rsp @@ -167,8 +167,6 @@ samples/sashtest/sashtest.vcp samples/sashtest/sashtest.vcw samples/scroll/scroll.vcp samples/scroll/scroll.vcw -samples/scrollsub/scrollsub.vcp -samples/scrollsub/scrollsub.vcw samples/shaped/shaped.vcp samples/shaped/shaped.vcw samples/sockets/sockets_client.vcp diff --git a/docs/doxygen/mainpages/samples.h b/docs/doxygen/mainpages/samples.h index 46ad61ac03..90f8776afb 100644 --- a/docs/doxygen/mainpages/samples.h +++ b/docs/doxygen/mainpages/samples.h @@ -113,7 +113,6 @@ TODO: Organize them in a more human-readable way. @li @sample{richtext} @li @sample{sashtest} @li @sample{scroll} -@li @sample{scrollsub} @li @sample{shaped} @li @sample{sockets} @li @sample{sound} @@ -729,23 +728,17 @@ renderer and also how to write a shared library @sampleabout{wxScrolledWindow} -@see @sample{scrollsub} - -@sampledir{scroll} - -@section page_samples_scrollsub Scroll Subwindow Sample - This sample demonstrates use of the ::wxScrolledWindow -class including placing subwindows into it and drawing simple graphics. It uses the -SetTargetWindow method and thus the effect -of scrolling does not show in the scrolled window itself, but in one of its subwindows. +class including placing subwindows into it and drawing simple graphics. It uses +the SetTargetWindow method and thus the effect of scrolling does not show in +the scrolled window itself, but in one of its subwindows. -Additionally, this samples demonstrates how to optimize drawing operations in wxWidgets, -in particular using the wxWindow::IsExposed() method with -the aim to prevent unnecessary drawing in the window and thus reducing or removing -flicker on screen. +Additionally, this samples demonstrates how to optimize drawing operations in +wxWidgets, in particular using the wxWindow::IsExposed() method with the aim to +prevent unnecessary drawing in the window and thus reducing or removing flicker +on screen. -@sampledir{scrollsub} +@sampledir{scroll} @section page_samples_shaped Shaped Window Sample diff --git a/samples/makefile.bcc b/samples/makefile.bcc index abae067529..f4c678c2e2 100644 --- a/samples/makefile.bcc +++ b/samples/makefile.bcc @@ -44,7 +44,7 @@ MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \ ### Targets: ### -all: access animate artprov aui calendar caret clipboard collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer +all: access animate artprov aui calendar caret clipboard collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer clean: -if exist .\*.obj del .\*.obj @@ -266,10 +266,6 @@ clean: @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>scroll.bat call scroll.bat @del scroll.bat - @echo cd scrollsub >scrollsub.bat - @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>scrollsub.bat - call scrollsub.bat - @del scrollsub.bat @echo cd shaped >shaped.bat @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>shaped.bat call shaped.bat @@ -675,12 +671,6 @@ scroll: call scroll.bat @del scroll.bat -scrollsub: - @echo cd scrollsub >scrollsub.bat - @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>scrollsub.bat - call scrollsub.bat - @del scrollsub.bat - shaped: @echo cd shaped >shaped.bat @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>shaped.bat diff --git a/samples/makefile.gcc b/samples/makefile.gcc index 24f0d6c4c3..0bb1fba107 100644 --- a/samples/makefile.gcc +++ b/samples/makefile.gcc @@ -35,7 +35,7 @@ MAKEARGS = LINK_DLL_FLAGS="$(LINK_DLL_FLAGS)" \ ### Targets: ### -all: access animate artprov aui calendar caret clipboard collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer +all: access animate artprov aui calendar caret clipboard collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer clean: -if exist .\*.o del .\*.o @@ -94,7 +94,6 @@ clean: $(MAKE) -C richtext -f makefile.gcc $(MAKEARGS) clean $(MAKE) -C sashtest -f makefile.gcc $(MAKEARGS) clean $(MAKE) -C scroll -f makefile.gcc $(MAKEARGS) clean - $(MAKE) -C scrollsub -f makefile.gcc $(MAKEARGS) clean $(MAKE) -C shaped -f makefile.gcc $(MAKEARGS) clean $(MAKE) -C sockets -f makefile.gcc $(MAKEARGS) clean $(MAKE) -C sound -f makefile.gcc $(MAKEARGS) clean @@ -278,9 +277,6 @@ sashtest: scroll: $(MAKE) -C scroll -f makefile.gcc $(MAKEARGS) all -scrollsub: - $(MAKE) -C scrollsub -f makefile.gcc $(MAKEARGS) all - shaped: $(MAKE) -C shaped -f makefile.gcc $(MAKEARGS) all @@ -346,9 +342,8 @@ memcheck: drawing erase event exec except font grid help htlbox html image internat ipc joytest \ keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook \ oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest \ - scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text \ - thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer mfc \ - memcheck + scroll shaped sockets sound splash splitter statbar stc taskbar text thread toolbar \ + treectrl typetest validate vscroll widgets wizard wrapsizer mfc memcheck SHELL := $(COMSPEC) diff --git a/samples/makefile.vc b/samples/makefile.vc index ae9104bbee..64afb64cd6 100644 --- a/samples/makefile.vc +++ b/samples/makefile.vc @@ -34,7 +34,7 @@ MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ ### Targets: ### -all: sub_access sub_animate sub_artprov sub_aui sub_calendar sub_caret sub_clipboard sub_collpane sub_config sub_combo sub_console sub_controls sub_dataview sub_dialogs sub_dialup sub_display sub_dnd sub_docview sub_dragimag sub_drawing sub_erase sub_event sub_exec sub_except sub_font sub_grid sub_help sub_htlbox sub_html sub_image sub_internat sub_ipc sub_joytest sub_keyboard sub_layout sub_listctrl sub_mdi sub_mediaplayer sub_menu sub_minimal sub_mobile sub_nativdlg sub_notebook sub_oleauto sub_opengl sub_ownerdrw sub_popup sub_printing sub_propgrid sub_regtest sub_render sub_richtext sub_sashtest sub_scroll sub_scrollsub sub_shaped sub_sockets sub_sound sub_splash sub_splitter sub_statbar sub_stc sub_taskbar sub_text sub_thread sub_toolbar sub_treectrl sub_typetest sub_validate sub_vscroll sub_widgets sub_wizard sub_wrapsizer +all: sub_access sub_animate sub_artprov sub_aui sub_calendar sub_caret sub_clipboard sub_collpane sub_config sub_combo sub_console sub_controls sub_dataview sub_dialogs sub_dialup sub_display sub_dnd sub_docview sub_dragimag sub_drawing sub_erase sub_event sub_exec sub_except sub_font sub_grid sub_help sub_htlbox sub_html sub_image sub_internat sub_ipc sub_joytest sub_keyboard sub_layout sub_listctrl sub_mdi sub_mediaplayer sub_menu sub_minimal sub_mobile sub_nativdlg sub_notebook sub_oleauto sub_opengl sub_ownerdrw sub_popup sub_printing sub_propgrid sub_regtest sub_render sub_richtext sub_sashtest sub_scroll sub_shaped sub_sockets sub_sound sub_splash sub_splitter sub_statbar sub_stc sub_taskbar sub_text sub_thread sub_toolbar sub_treectrl sub_typetest sub_validate sub_vscroll sub_widgets sub_wizard sub_wrapsizer clean: -if exist .\*.obj del .\*.obj @@ -202,9 +202,6 @@ clean: cd scroll $(MAKE) -f makefile.vc $(MAKEARGS) clean cd "$(MAKEDIR)" - cd scrollsub - $(MAKE) -f makefile.vc $(MAKEARGS) clean - cd "$(MAKEDIR)" cd shaped $(MAKE) -f makefile.vc $(MAKEARGS) clean cd "$(MAKEDIR)" @@ -536,11 +533,6 @@ sub_scroll: $(MAKE) -f makefile.vc $(MAKEARGS) all cd "$(MAKEDIR)" -sub_scrollsub: - cd scrollsub - $(MAKE) -f makefile.vc $(MAKEARGS) all - cd "$(MAKEDIR)" - sub_shaped: cd shaped $(MAKE) -f makefile.vc $(MAKEARGS) all diff --git a/samples/makefile.wat b/samples/makefile.wat index 50e692b84e..fe36a2aa72 100644 --- a/samples/makefile.wat +++ b/samples/makefile.wat @@ -48,7 +48,7 @@ MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & ### Targets: ### -all : .SYMBOLIC access animate artprov aui calendar caret clipboard collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll scrollsub shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer +all : .SYMBOLIC access animate artprov aui calendar caret clipboard collpane config combo console controls dataview dialogs dialup display dnd docview dragimag drawing erase event exec except font grid help htlbox html image internat ipc joytest keyboard layout listctrl mdi mediaplayer menu minimal mobile nativdlg notebook oleauto opengl ownerdrw popup printing propgrid regtest render richtext sashtest scroll shaped sockets sound splash splitter statbar stc taskbar text thread toolbar treectrl typetest validate vscroll widgets wizard wrapsizer clean : .SYMBOLIC -if exist .\*.obj del .\*.obj @@ -218,9 +218,6 @@ clean : .SYMBOLIC cd scroll wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean cd $(WATCOM_CWD) - cd scrollsub - wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean - cd $(WATCOM_CWD) cd shaped wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean cd $(WATCOM_CWD) @@ -552,11 +549,6 @@ scroll : .SYMBOLIC wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all cd $(WATCOM_CWD) -scrollsub : .SYMBOLIC - cd scrollsub - wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all - cd $(WATCOM_CWD) - shaped : .SYMBOLIC cd shaped wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all diff --git a/samples/samples.bkl b/samples/samples.bkl index 56761e2048..558f1feb4e 100644 --- a/samples/samples.bkl +++ b/samples/samples.bkl @@ -67,7 +67,6 @@ - diff --git a/samples/samples.dsw b/samples/samples.dsw index 502372d2ad..b64347d497 100644 --- a/samples/samples.dsw +++ b/samples/samples.dsw @@ -675,18 +675,6 @@ Package=<4> ############################################################################### -Project: "scrollsub"=.\scrollsub\scrollsub.dsp - Package Owner=<4> - -Package=<5> -{{{ -}}} - -Package=<4> -{{{ -}}} - -############################################################################### - Project: "socketclient"=.\sockets\sockets_client.dsp - Package Owner=<4> Package=<5> diff --git a/samples/scroll/scroll.cpp b/samples/scroll/scroll.cpp index a22c23e2a9..6cc25e7a4b 100644 --- a/samples/scroll/scroll.cpp +++ b/samples/scroll/scroll.cpp @@ -2,178 +2,444 @@ // Name: scroll.cpp // Purpose: wxScrolledWindow sample // Author: Robert Roebling -// Modified by: -// Created: // RCS-ID: $Id$ // Copyright: (C) 1998 Robert Roebling, 2002 Ron Lee, 2003 Matt Gregory +// (C) 2008 Vadim Zeitlin // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -// For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif #ifndef WX_PRECOMP -#include "wx/wx.h" + #include "wx/wx.h" #endif -#include "wx/image.h" -#include "wx/listctrl.h" #include "wx/sizer.h" #include "wx/log.h" -const long ID_QUIT = wxID_EXIT; -const long ID_ABOUT = wxID_ABOUT; -const long ID_DELETE_ALL = 100; -const long ID_INSERT_NEW = 101; - -// ---------------------------------------------------------------------- +// ---------------------------------------------------------------------------- // a trivial example -// ---------------------------------------------------------------------- +// ---------------------------------------------------------------------------- // MySimpleCanvas: a scrolled window which draws a simple rectangle -class MySimpleCanvas: public wxScrolledWindow +class MySimpleCanvas : public wxScrolledWindow { public: - MySimpleCanvas() { } - MySimpleCanvas(wxWindow *parent); - -private: - void OnPaint(wxPaintEvent& event); - enum { - CANVAS_WIDTH = 292, - CANVAS_HEIGHT = 297 + // these numbers are not multiple of 10 (our scroll step) to test for + // the absence of rounding errors (e.g. we should have one more page + // than WIDTH/10 to show the right side of the rectangle) + WIDTH = 292, + HEIGHT = 297 }; - DECLARE_DYNAMIC_CLASS(MyCanvas) - DECLARE_EVENT_TABLE() -}; + MySimpleCanvas(wxWindow *parent) + : wxScrolledWindow(parent, wxID_ANY) + { + SetScrollRate( 10, 10 ); + SetVirtualSize( WIDTH, HEIGHT ); + SetBackgroundColour( *wxWHITE ); -IMPLEMENT_DYNAMIC_CLASS(MySimpleCanvas, wxScrolledWindow) + Connect(wxEVT_PAINT, wxPaintEventHandler(MySimpleCanvas::OnPaint)); + } -BEGIN_EVENT_TABLE(MySimpleCanvas, wxScrolledWindow) - EVT_PAINT( MySimpleCanvas::OnPaint) -END_EVENT_TABLE() +private: + void OnPaint(wxPaintEvent& WXUNUSED(event)) + { + wxPaintDC dc(this); -MySimpleCanvas::MySimpleCanvas(wxWindow *parent) - : wxScrolledWindow(parent, wxID_ANY, - wxDefaultPosition, - wxDefaultSize, - wxSUNKEN_BORDER) -{ - SetScrollRate( 10, 10 ); - SetVirtualSize( CANVAS_WIDTH, CANVAS_HEIGHT ); - SetBackgroundColour( *wxWHITE ); -} + // this call is vital: it adjusts the dc to account for the current + // scroll offset + PrepareDC(dc); -void MySimpleCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) -{ - wxPaintDC dc(this); - PrepareDC( dc ); + dc.SetPen( *wxRED_PEN ); + dc.SetBrush( *wxTRANSPARENT_BRUSH ); + dc.DrawRectangle( 0, 0, WIDTH, HEIGHT ); + } +}; - dc.SetPen( *wxRED_PEN ); - dc.SetBrush( *wxTRANSPARENT_BRUSH ); - dc.DrawRectangle( 0, 0, CANVAS_WIDTH, CANVAS_HEIGHT ); -} // MySimpleFrame: a frame which contains a MySimpleCanvas -class MySimpleFrame: public wxFrame +class MySimpleFrame : public wxFrame { public: - MySimpleFrame(); + MySimpleFrame(wxWindow *parent) + : wxFrame(parent, wxID_ANY, "MySimpleCanvas") + { + new MySimpleCanvas(this); -private: - void OnClose(wxCommandEvent& WXUNUSED(event)) { Close(true); } + // ensure that we have scrollbars initially + SetClientSize(MySimpleCanvas::WIDTH/2, MySimpleCanvas::HEIGHT/2); - DECLARE_DYNAMIC_CLASS(MySimpleFrame) - DECLARE_EVENT_TABLE() + Show(); + } }; +// ---------------------------------------------------------------------- +// a more complex example +// ---------------------------------------------------------------------- + +// MyCanvas +class MyCanvas : public wxScrolledWindow +{ +public: + MyCanvas(wxWindow *parent); -IMPLEMENT_DYNAMIC_CLASS( MySimpleFrame, wxFrame ) +private: + void OnPaint(wxPaintEvent& event); + void OnQueryPosition(wxCommandEvent& event); + void OnAddButton(wxCommandEvent& event); + void OnDeleteButton(wxCommandEvent& event); + void OnMoveButton(wxCommandEvent& event); + void OnScrollWin(wxCommandEvent& event); + void OnMouseRightDown(wxMouseEvent& event); + void OnMouseWheel(wxMouseEvent& event); -BEGIN_EVENT_TABLE(MySimpleFrame,wxFrame) - EVT_MENU(wxID_CLOSE, MySimpleFrame::OnClose) -END_EVENT_TABLE() + wxButton *m_button; -MySimpleFrame::MySimpleFrame() - : wxFrame(NULL, wxID_ANY, _T("wxScrolledWindow sample"), - wxDefaultPosition, wxSize(200, 200)) + DECLARE_EVENT_TABLE() +}; + +class MyCanvasFrame : public wxFrame { - wxMenu *file_menu = new wxMenu(); - file_menu->Append(wxID_CLOSE); +public: + MyCanvasFrame(wxWindow *parent) + : wxFrame(parent, wxID_ANY, "MyCanvas") + { + m_canvas = new MyCanvas(this); - wxMenuBar *menu_bar = new wxMenuBar(); - menu_bar->Append(file_menu, _T("&File")); + wxMenu *menuFile = new wxMenu(); + menuFile->Append(wxID_DELETE, "&Delete all"); + menuFile->Append(wxID_NEW, "Insert &new"); - SetMenuBar( menu_bar ); + wxMenuBar *mbar = new wxMenuBar(); + mbar->Append(menuFile, "&File"); + SetMenuBar( mbar ); - new MySimpleCanvas(this); -} + Connect(wxID_DELETE, wxEVT_COMMAND_MENU_SELECTED, + wxCommandEventHandler(MyCanvasFrame::OnDeleteAll)); + Connect(wxID_NEW, wxEVT_COMMAND_MENU_SELECTED, + wxCommandEventHandler(MyCanvasFrame::OnInsertNew)); -// ---------------------------------------------------------------------- -// a complex example -// ---------------------------------------------------------------------- + Show(); + } -// derived classes +private: + void OnDeleteAll(wxCommandEvent& WXUNUSED(event)) + { + m_canvas->DestroyChildren(); + } -class MyFrame; -class MyApp; + void OnInsertNew(wxCommandEvent& WXUNUSED(event)) + { + (void)new wxButton(m_canvas, wxID_ANY, "Hello", wxPoint(100,100)); + } -// MyCanvas + MyCanvas *m_canvas; +}; + +// ---------------------------------------------------------------------------- +// example using sizers with wxScrolledWindow +// ---------------------------------------------------------------------------- -class MyCanvas: public wxScrolledWindow +const wxSize SMALL_BUTTON( 100, 50 ); +const wxSize LARGE_BUTTON( 300, 200 ); + +class MySizerScrolledWindow : public wxScrolledWindow { public: - MyCanvas() {} - MyCanvas( wxWindow *parent, wxWindowID, const wxPoint &pos, const wxSize &size ); - ~MyCanvas(){}; - void OnPaint( wxPaintEvent &event ); - void OnQueryPosition( wxCommandEvent &event ); - void OnAddButton( wxCommandEvent &event ); - void OnDeleteButton( wxCommandEvent &event ); - void OnMoveButton( wxCommandEvent &event ); - void OnScrollWin( wxCommandEvent &event ); - void OnMouseRightDown( wxMouseEvent &event ); - void OnMouseWheel( wxMouseEvent &event ); + MySizerScrolledWindow(wxWindow *parent); +private: + // this button can be clicked to change its own size in the handler below, + // the window size will be automatically adjusted to fit the button wxButton *m_button; - DECLARE_DYNAMIC_CLASS(MyCanvas) - DECLARE_EVENT_TABLE() + void OnResizeClick(wxCommandEvent& event); }; +class MySizerFrame : public wxFrame +{ +public: + MySizerFrame(wxWindow *parent) + : wxFrame(parent, wxID_ANY, "MySizerScrolledWindow") + { + new MySizerScrolledWindow(this); + + // ensure that the scrollbars appear when the button becomes large + SetClientSize(LARGE_BUTTON/2); + Show(); + } +}; // ---------------------------------------------------------------------------- -// Autoscrolling example. +// example showing scrolling only part of the window // ---------------------------------------------------------------------------- -// this class uses the 'virtual' size attribute along with an internal -// sizer to automatically set up scrollbars as needed +// this window consists of an empty space in its corner, column labels window +// along its top, row labels window along its left hand side and a canvas in +// the remaining space -class MyAutoScrollWindow : public wxScrolledWindow +class MySubColLabels : public wxWindow { +public: + MySubColLabels(wxScrolledWindow *parent) + : wxWindow(parent, wxID_ANY) + { + m_owner = parent; + + Connect(wxEVT_PAINT, wxPaintEventHandler(MySubColLabels::OnPaint)); + } + private: + void OnPaint(wxPaintEvent& WXUNUSED(event)) + { + wxPaintDC dc(this); + + // This is wrong.. it will translate both x and y if the + // window is scrolled, the label windows are active in one + // direction only. Do the action below instead -- RL. + //m_owner->PrepareDC( dc ); + + int xScrollUnits, xOrigin; - wxButton *m_button; + m_owner->GetViewStart( &xOrigin, 0 ); + m_owner->GetScrollPixelsPerUnit( &xScrollUnits, 0 ); + dc.SetDeviceOrigin( -xOrigin * xScrollUnits, 0 ); + dc.DrawText("Column 1", 5, 5); + dc.DrawText("Column 2", 105, 5); + dc.DrawText("Column 3", 205, 5); + } + + wxScrolledWindow *m_owner; +}; + +class MySubRowLabels : public wxWindow +{ public: + MySubRowLabels(wxScrolledWindow *parent) + : wxWindow(parent, wxID_ANY) + { + m_owner = parent; - MyAutoScrollWindow( wxWindow *parent ); + Connect(wxEVT_PAINT, wxPaintEventHandler(MySubRowLabels::OnPaint)); + } - void OnResizeClick( wxCommandEvent &WXUNUSED( event ) ); +private: + void OnPaint(wxPaintEvent& WXUNUSED(event)) + { + wxPaintDC dc(this); - DECLARE_EVENT_TABLE() + // This is wrong.. it will translate both x and y if the + // window is scrolled, the label windows are active in one + // direction only. Do the action below instead -- RL. + //m_owner->PrepareDC( dc ); + + int yScrollUnits, yOrigin; + + m_owner->GetViewStart( 0, &yOrigin ); + m_owner->GetScrollPixelsPerUnit( 0, &yScrollUnits ); + dc.SetDeviceOrigin( 0, -yOrigin * yScrollUnits ); + + dc.DrawText("Row 1", 5, 5); + dc.DrawText("Row 2", 5, 30); + dc.DrawText("Row 3", 5, 55); + dc.DrawText("Row 4", 5, 80); + dc.DrawText("Row 5", 5, 105); + dc.DrawText("Row 6", 5, 130); + } + + wxScrolledWindow *m_owner; +}; + +class MySubCanvas : public wxPanel +{ +public: + MySubCanvas(wxScrolledWindow *parent, wxWindow *cols, wxWindow *rows) + : wxPanel(parent, wxID_ANY) + { + m_owner = parent; + m_colLabels = cols; + m_rowLabels = rows; + + (void)new wxButton(this, wxID_ANY, "Hallo I", + wxPoint(0,50), wxSize(100,25) ); + (void)new wxButton(this, wxID_ANY, "Hallo II", + wxPoint(200,50), wxSize(100,25) ); + + (void)new wxTextCtrl(this, wxID_ANY, "Text I", + wxPoint(0,100), wxSize(100,25) ); + (void)new wxTextCtrl(this, wxID_ANY, "Text II", + wxPoint(200,100), wxSize(100,25) ); + + (void)new wxComboBox(this, wxID_ANY, "ComboBox I", + wxPoint(0,150), wxSize(100,25)); + (void)new wxComboBox(this, wxID_ANY, "ComboBox II", + wxPoint(200,150), wxSize(100,25)); + + SetBackgroundColour("WHEAT"); + + Connect(wxEVT_PAINT, wxPaintEventHandler(MySubCanvas::OnPaint)); + } + + // override the base class function so that when this window is scrolled, + // the labels are scrolled in sync + virtual void ScrollWindow(int dx, int dy, const wxRect *rect) + { + wxPanel::ScrollWindow( dx, dy, rect ); + m_colLabels->ScrollWindow( dx, 0, rect ); + m_rowLabels->ScrollWindow( 0, dy, rect ); + } + +private: + void OnPaint(wxPaintEvent& WXUNUSED(event)) + { + wxPaintDC dc( this ); + m_owner->PrepareDC( dc ); + + dc.SetPen( *wxBLACK_PEN ); + + // OK, let's assume we are a grid control and we have two + // grid cells. Here in OnPaint we want to know which cell + // to redraw so that we prevent redrawing cells that don't + // need to get redrawn. We have one cell at (0,0) and one + // more at (200,0), both having a size of (100,25). + + // We can query how much the window has been scrolled + // by calling CalcUnscrolledPosition() + + int scroll_x = 0; + int scroll_y = 0; + m_owner->CalcUnscrolledPosition( scroll_x, scroll_y, &scroll_x, &scroll_y ); + + // We also need to know the size of the window to see which + // cells are completely hidden and not get redrawn + + int size_x = 0; + int size_y = 0; + GetClientSize( &size_x, &size_y ); + + // First cell: (0,0)(100,25) + // It it on screen? + if ((0+100-scroll_x > 0) && (0+25-scroll_y > 0) && + (0-scroll_x < size_x) && (0-scroll_y < size_y)) + { + // Has the region on screen been exposed? + if (IsExposed(0,0,100,25)) + { + dc.DrawRectangle( 0, 0, 100, 25 ); + dc.DrawText("First Cell", 5, 5); + } + } + + + // Second cell: (0,200)(100,25) + // It it on screen? + if ((200+100-scroll_x > 0) && (0+25-scroll_y > 0) && + (200-scroll_x < size_x) && (0-scroll_y < size_y)) + { + // Has the region on screen been exposed? + if (IsExposed(200,0,100,25)) + { + dc.DrawRectangle( 200, 0, 100, 25 ); + dc.DrawText("Second Cell", 205, 5); + } + } + } + + wxScrolledWindow *m_owner; + wxWindow *m_colLabels, + *m_rowLabels; +}; + +class MySubScrolledWindow : public wxScrolledWindow +{ +public: + enum + { + CORNER_WIDTH = 60, + CORNER_HEIGHT = 25 + }; + + MySubScrolledWindow(wxWindow *parent) + : wxScrolledWindow(parent, wxID_ANY) + { + // create the children + MySubColLabels *cols = new MySubColLabels(this); + MySubRowLabels *rows = new MySubRowLabels(this); + + m_canvas = new MySubCanvas(this, cols, rows); + + // lay them out + wxFlexGridSizer *sizer = new wxFlexGridSizer(2, 2, 10, 10); + sizer->Add(CORNER_WIDTH, CORNER_HEIGHT); // just a spacer + sizer->Add(cols, wxSizerFlags().Expand()); + sizer->Add(rows, wxSizerFlags().Expand()); + sizer->Add(m_canvas, wxSizerFlags().Expand()); + sizer->AddGrowableRow(1); + sizer->AddGrowableCol(1); + SetSizer(sizer); + + // this is the key call: it means that only m_canvas will be scrolled + // and not this window itself + SetTargetWindow(m_canvas); + + SetScrollbars(10, 10, 50, 50); + + Connect(wxEVT_SIZE, wxSizeEventHandler(MySubScrolledWindow::OnSize)); + } + +protected: + // scrolled windows which use scroll target different from the window + // itself must override this virtual method + virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size) + { + // decrease the total size by the size of the non-scrollable parts + // above/to the left of the canvas + wxSize sizeCanvas(size); + sizeCanvas.x -= 60; + sizeCanvas.y -= 25; + return sizeCanvas; + } + +private: + void OnSize(wxSizeEvent& WXUNUSED(event)) + { + // We need to override OnSize so that our scrolled + // window a) does call Layout() to use sizers for + // positioning the controls but b) does not query + // the sizer for their size and use that for setting + // the scrollable area as set that ourselves by + // calling SetScrollbar() further down. + + Layout(); + + AdjustScrollbars(); + } + + MySubCanvas *m_canvas; }; +class MySubFrame : public wxFrame +{ +public: + MySubFrame(wxWindow *parent) + : wxFrame(parent, wxID_ANY, "MySubScrolledWindow") + { + new MySubScrolledWindow(this); + + Show(); + } +}; // ---------------------------------------------------------------------------- -// MyScrolledWindow classes: examples of wxScrolledWindow usage +// more simple examples of wxScrolledWindow usage // ---------------------------------------------------------------------------- // base class for both of them @@ -181,16 +447,18 @@ class MyScrolledWindowBase : public wxScrolledWindow { public: MyScrolledWindowBase(wxWindow *parent) - : wxScrolledWindow(parent) - , m_nLines( 100 ) + : wxScrolledWindow(parent, wxID_ANY, + wxDefaultPosition, wxDefaultSize, + wxBORDER_SUNKEN), + m_nLines( 100 ) { wxClientDC dc(this); - dc.GetTextExtent(_T("Line 17"), NULL, &m_hLine); + dc.GetTextExtent("Line 17", NULL, &m_hLine); } protected: // the height of one line on screen - wxCoord m_hLine; + int m_hLine; // the number of lines we draw size_t m_nLines; @@ -231,28 +499,14 @@ public: }; // ---------------------------------------------------------------------------- -// MyAutoTimedScrollingWindow: implements a text viewer with simple blocksize -// selection to test auto-scrolling functionality +// implements a text viewer with simple block selection to test auto-scrolling +// functionality // ---------------------------------------------------------------------------- -class MyAutoTimedScrollingWindow : public wxScrolledWindow +class MyAutoScrollingWindow : public wxScrolledWindow { -protected: // member data - // test data variables - static const wxChar* sm_testData; - static const int sm_lineCnt; // line count - static const int sm_lineLen; // line length in characters - // sizes for graphical data - wxCoord m_fontH, m_fontW; - // selection tracking - wxPoint m_selStart; // beginning of blockwise selection - wxPoint m_cursor; // end of blockwise selection (mouse position) - -protected: // gui stuff - wxFont m_font; - -public: // interface - MyAutoTimedScrollingWindow( wxWindow* parent ); +public: + MyAutoScrollingWindow( wxWindow* parent ); wxRect DeviceCoordsToGraphicalChars(wxRect updRect) const; wxPoint DeviceCoordsToGraphicalChars(wxPoint pos) const; wxPoint GraphicalCharToDeviceCoords(wxPoint pos) const; @@ -262,9 +516,10 @@ public: // interface void MyRefresh(); bool IsSelected(int chX, int chY) const; static bool IsInside(int k, int bound1, int bound2); - static wxRect DCNormalize(wxCoord x, wxCoord y, wxCoord w, wxCoord h); + static wxRect DCNormalize(int x, int y, int w, int h); -protected: // event stuff +private: + // event handlers void OnDraw(wxDC& dc); void OnMouseLeftDown(wxMouseEvent& event); void OnMouseLeftUp(wxMouseEvent& event); @@ -272,11 +527,38 @@ protected: // event stuff void OnMouseCaptureLost(wxMouseCaptureLostEvent& event); void OnScroll(wxScrollWinEvent& event); + // test data variables + static const char* sm_testData; + static const int sm_lineCnt; // line count + static const int sm_lineLen; // line length in characters + // sizes for graphical data + int m_fontH, m_fontW; + // selection tracking + wxPoint m_selStart; // beginning of blockwise selection + wxPoint m_cursor; // end of blockwise selection (mouse position) + + // gui stuff + wxFont m_font; + + DECLARE_EVENT_TABLE() }; +class MyAutoFrame : public wxFrame +{ +public: + MyAutoFrame(wxWindow *parent) + : wxFrame(parent, wxID_ANY, "MyAutoScrollingWindow") + { + new MyAutoScrollingWindow(this); + + Show(); + } +}; + + // ---------------------------------------------------------------------------- -// MyFrame +// MyFrame: the main application frame showing all the classes above // ---------------------------------------------------------------------------- class MyFrame: public wxFrame @@ -284,15 +566,16 @@ class MyFrame: public wxFrame public: MyFrame(); - void OnAbout( wxCommandEvent &event ); - void OnQuit( wxCommandEvent &event ); - void OnDeleteAll( wxCommandEvent &event ); - void OnInsertNew( wxCommandEvent &event ); +private: + void OnAbout(wxCommandEvent& event); + void OnQuit(wxCommandEvent& event); - MyCanvas *m_canvas; - wxTextCtrl *m_log; + void OnTestSimple(wxCommandEvent& WXUNUSED(event)) { new MySimpleFrame(this); } + void OnTestCanvas(wxCommandEvent& WXUNUSED(event)) { new MyCanvasFrame(this); } + void OnTestSizer(wxCommandEvent& WXUNUSED(event)) { new MySizerFrame(this); } + void OnTestSub(wxCommandEvent& WXUNUSED(event)) { new MySubFrame(this); } + void OnTestAuto(wxCommandEvent& WXUNUSED(event)) { new MyAutoFrame(this); } - DECLARE_DYNAMIC_CLASS(MyFrame) DECLARE_EVENT_TABLE() }; @@ -300,124 +583,63 @@ public: // MyApp // ---------------------------------------------------------------------------- -class MyApp: public wxApp +class MyApp : public wxApp { public: virtual bool OnInit(); }; -// ---------------------------------------------------------------------------- -// main program -// ---------------------------------------------------------------------------- - -IMPLEMENT_APP(MyApp) - -// ids - -const long ID_ADDBUTTON = wxNewId(); -const long ID_DELBUTTON = wxNewId(); -const long ID_MOVEBUTTON = wxNewId(); -const long ID_SCROLLWIN = wxNewId(); -const long ID_QUERYPOS = wxNewId(); - -const long ID_NEWBUTTON = wxNewId(); +// ============================================================================ +// implementation +// ============================================================================ // ---------------------------------------------------------------------------- // MyCanvas // ---------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(MyCanvas, wxScrolledWindow) +const wxWindowID ID_ADDBUTTON = wxWindow::NewControlId(); +const wxWindowID ID_DELBUTTON = wxWindow::NewControlId(); +const wxWindowID ID_MOVEBUTTON = wxWindow::NewControlId(); +const wxWindowID ID_SCROLLWIN = wxWindow::NewControlId(); +const wxWindowID ID_QUERYPOS = wxWindow::NewControlId(); + +const wxWindowID ID_NEWBUTTON = wxWindow::NewControlId(); BEGIN_EVENT_TABLE(MyCanvas, wxScrolledWindow) - EVT_PAINT( MyCanvas::OnPaint) - EVT_RIGHT_DOWN( MyCanvas::OnMouseRightDown) - EVT_MOUSEWHEEL( MyCanvas::OnMouseWheel) - EVT_BUTTON( ID_QUERYPOS, MyCanvas::OnQueryPosition) - EVT_BUTTON( ID_ADDBUTTON, MyCanvas::OnAddButton) - EVT_BUTTON( ID_DELBUTTON, MyCanvas::OnDeleteButton) - EVT_BUTTON( ID_MOVEBUTTON, MyCanvas::OnMoveButton) - EVT_BUTTON( ID_SCROLLWIN, MyCanvas::OnScrollWin) + EVT_PAINT( MyCanvas::OnPaint) + EVT_RIGHT_DOWN( MyCanvas::OnMouseRightDown) + EVT_MOUSEWHEEL( MyCanvas::OnMouseWheel) + EVT_BUTTON( ID_QUERYPOS, MyCanvas::OnQueryPosition) + EVT_BUTTON( ID_ADDBUTTON, MyCanvas::OnAddButton) + EVT_BUTTON( ID_DELBUTTON, MyCanvas::OnDeleteButton) + EVT_BUTTON( ID_MOVEBUTTON, MyCanvas::OnMoveButton) + EVT_BUTTON( ID_SCROLLWIN, MyCanvas::OnScrollWin) END_EVENT_TABLE() -MyCanvas::MyCanvas( wxWindow *parent, wxWindowID id, - const wxPoint &pos, const wxSize &size ) - : wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER | wxTAB_TRAVERSAL, _T("test canvas") ) +MyCanvas::MyCanvas(wxWindow *parent) + : wxScrolledWindow(parent, wxID_ANY, + wxDefaultPosition, wxDefaultSize, + wxSUNKEN_BORDER | wxTAB_TRAVERSAL) { + // you can use either a single SetScrollbars() call or these 2 functions, + // usually using them is better because you normally won't need to change + // the scroll rate in the future and the sizer can be used to update the + // virtual size automatically SetScrollRate( 10, 10 ); SetVirtualSize( 500, 1000 ); - (void) new wxButton( this, ID_ADDBUTTON, _T("add button"), wxPoint(10,10) ); - (void) new wxButton( this, ID_DELBUTTON, _T("del button"), wxPoint(10,40) ); - (void) new wxButton( this, ID_MOVEBUTTON, _T("move button"), wxPoint(150,10) ); - (void) new wxButton( this, ID_SCROLLWIN, _T("scroll win"), wxPoint(250,10) ); - -#if 0 - - wxString choices[] = - { - "This", - "is one of my", - "really", - "wonderful", - "examples." - }; - - m_button = new wxButton( this, ID_QUERYPOS, "Query position", wxPoint(10,110) ); - - (void) new wxTextCtrl( this, wxID_ANY, "wxTextCtrl", wxPoint(10,150), wxSize(80,wxDefaultCoord) ); - - (void) new wxRadioButton( this, wxID_ANY, "Disable", wxPoint(10,190) ); - - (void) new wxComboBox( this, wxID_ANY, "This", wxPoint(10,230), wxDefaultSize, 5, choices ); - - (void) new wxRadioBox( this, wxID_ANY, "This", wxPoint(10,310), wxDefaultSize, 5, choices, 2, wxRA_SPECIFY_COLS ); - - (void) new wxRadioBox( this, wxID_ANY, "This", wxPoint(10,440), wxDefaultSize, 5, choices, 2, wxRA_SPECIFY_ROWS ); - - wxListCtrl *m_listCtrl = new wxListCtrl( - this, wxID_ANY, wxPoint(200, 110), wxSize(180, 120), - wxLC_REPORT | wxSIMPLE_BORDER | wxLC_SINGLE_SEL ); - - m_listCtrl->InsertColumn(0, "First", wxLIST_FORMAT_LEFT, 90); - m_listCtrl->InsertColumn(1, "Last", wxLIST_FORMAT_LEFT, 90); - - for ( int i=0; i < 30; i++) - { - char buf[20]; - sprintf(buf, "Item %d", i); - m_listCtrl->InsertItem(i, buf); - } - m_listCtrl->SetItemState( 3, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED ); - - (void) new wxListBox( this, wxID_ANY, wxPoint(260,280), wxSize(120,120), 5, choices, wxLB_ALWAYS_SB ); - -#endif - - wxPanel *test = new wxPanel( this, wxID_ANY, wxPoint(10, 110), wxSize(130,50), wxSIMPLE_BORDER | wxTAB_TRAVERSAL ); - test->SetBackgroundColour( wxT("WHEAT") ); - -#if 0 - - wxButton *test2 = new wxButton( test, wxID_ANY, "Hallo", wxPoint(10,10) ); - - test = new wxPanel( this, wxID_ANY, wxPoint(160, 530), wxSize(130,120), wxSUNKEN_BORDER | wxTAB_TRAVERSAL ); - test->SetBackgroundColour( wxT("WHEAT") ); - test->SetCursor( wxCursor( wxCURSOR_NO_ENTRY ) ); - test2 = new wxButton( test, wxID_ANY, "Hallo", wxPoint(10,10) ); - test2->SetCursor( wxCursor( wxCURSOR_PENCIL ) ); + (void) new wxButton( this, ID_ADDBUTTON, "add button", wxPoint(10,10) ); + (void) new wxButton( this, ID_DELBUTTON, "del button", wxPoint(10,40) ); + (void) new wxButton( this, ID_MOVEBUTTON, "move button", wxPoint(150,10) ); + (void) new wxButton( this, ID_SCROLLWIN, "scroll win", wxPoint(250,10) ); - test = new wxPanel( this, wxID_ANY, wxPoint(310, 530), wxSize(130,120), wxRAISED_BORDER | wxTAB_TRAVERSAL ); - test->SetBackgroundColour( wxT("WHEAT") ); - test->SetCursor( wxCursor( wxCURSOR_PENCIL ) ); - test2 = new wxButton( test, wxID_ANY, "Hallo", wxPoint(10,10) ); - test2->SetCursor( wxCursor( wxCURSOR_NO_ENTRY ) ); + wxPanel *test = new wxPanel( this, wxID_ANY, + wxPoint(10, 110), wxSize(130,50), + wxSIMPLE_BORDER | wxTAB_TRAVERSAL ); + test->SetBackgroundColour( "WHEAT" ); -#endif - - SetBackgroundColour( wxT("BLUE") ); - - SetCursor( wxCursor( wxCURSOR_IBEAM ) ); + SetBackgroundColour( "BLUE" ); } void MyCanvas::OnMouseRightDown( wxMouseEvent &event ) @@ -425,7 +647,8 @@ void MyCanvas::OnMouseRightDown( wxMouseEvent &event ) wxPoint pt( event.GetPosition() ); int x,y; CalcUnscrolledPosition( pt.x, pt.y, &x, &y ); - wxLogMessage( wxT("Mouse down event at: %d %d, scrolled: %d %d"), pt.x, pt.y, x, y ); + wxLogMessage("Mouse down event at: %d %d, scrolled: %d %d", + pt.x, pt.y, x, y); } void MyCanvas::OnMouseWheel( wxMouseEvent &event ) @@ -433,8 +656,8 @@ void MyCanvas::OnMouseWheel( wxMouseEvent &event ) wxPoint pt( event.GetPosition() ); int x,y; CalcUnscrolledPosition( pt.x, pt.y, &x, &y ); - wxLogMessage( wxT("Mouse wheel event at: %d %d, scrolled: %d %d\n") - wxT("Rotation: %d, delta = %d"), + wxLogMessage( "Mouse wheel event at: %d %d, scrolled: %d %d\n" + "Rotation: %d, delta = %d", pt.x, pt.y, x, y, event.GetWheelRotation(), event.GetWheelDelta() ); @@ -446,9 +669,9 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) wxPaintDC dc( this ); PrepareDC( dc ); - dc.DrawText( _T("Press mouse button to test calculations!"), 160, 50 ); + dc.DrawText( "Press right mouse button to test calculations!", 160, 50 ); - dc.DrawText( _T("Some text"), 140, 140 ); + dc.DrawText( "Some text", 140, 140 ); dc.DrawRectangle( 100, 160, 200, 200 ); } @@ -456,118 +679,100 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) void MyCanvas::OnQueryPosition( wxCommandEvent &WXUNUSED(event) ) { wxPoint pt( m_button->GetPosition() ); - wxLogMessage( wxT("Position of \"Query position\" is %d %d"), pt.x, pt.y ); + wxLogMessage( "Position of \"Query position\" is %d %d", pt.x, pt.y ); pt = ClientToScreen( pt ); - wxLogMessage( wxT("Position of \"Query position\" on screen is %d %d"), pt.x, pt.y ); + wxLogMessage("Position of \"Query position\" on screen is %d %d", + pt.x, pt.y); } void MyCanvas::OnAddButton( wxCommandEvent &WXUNUSED(event) ) { - wxLogMessage( wxT("Inserting button at position 10,70...") ); - wxButton *button = new wxButton( this, ID_NEWBUTTON, wxT("new button"), wxPoint(10,70), wxSize(80,25) ); + wxLogMessage( "Inserting button at position 10,70..." ); + wxButton *button = new wxButton( this, ID_NEWBUTTON, "new button", + wxPoint(10,70), wxSize(80,25) ); wxPoint pt( button->GetPosition() ); - wxLogMessage( wxT("-> Position after inserting %d %d"), pt.x, pt.y ); + wxLogMessage( "-> Position after inserting %d %d", pt.x, pt.y ); } void MyCanvas::OnDeleteButton( wxCommandEvent &WXUNUSED(event) ) { - wxLogMessage( wxT("Deleting button inserted with \"Add button\"...") ); + wxLogMessage( "Deleting button inserted with \"Add button\"..." ); wxWindow *win = FindWindow( ID_NEWBUTTON ); if (win) win->Destroy(); else - wxLogMessage( wxT("-> No window with id = ID_NEWBUTTON found.") ); + wxLogMessage( "-> No window with id = ID_NEWBUTTON found." ); } void MyCanvas::OnMoveButton( wxCommandEvent &event ) { - wxLogMessage( wxT("Moving button 10 pixels downward..") ); + wxLogMessage( "Moving button 10 pixels downward.." ); wxWindow *win = FindWindow( event.GetId() ); wxPoint pt( win->GetPosition() ); - wxLogMessage( wxT("-> Position before move is %d %d"), pt.x, pt.y ); + wxLogMessage( "-> Position before move is %d %d", pt.x, pt.y ); win->Move( wxDefaultCoord, pt.y + 10 ); pt = win->GetPosition(); - wxLogMessage( wxT("-> Position after move is %d %d"), pt.x, pt.y ); + wxLogMessage( "-> Position after move is %d %d", pt.x, pt.y ); } void MyCanvas::OnScrollWin( wxCommandEvent &WXUNUSED(event) ) { - wxLogMessage( wxT("Scrolling 2 units up.\nThe white square and the controls should move equally!") ); + wxLogMessage("Scrolling 2 units up.\n" + "The white square and the controls should move equally!"); int x,y; GetViewStart( &x, &y ); Scroll( wxDefaultCoord, y+2 ); } // ---------------------------------------------------------------------------- -// MyAutoScrollWindow +// MySizerScrolledWindow // ---------------------------------------------------------------------------- -const long ID_RESIZEBUTTON = wxNewId(); -const wxSize SMALL_BUTTON( 100, 50 ); -const wxSize LARGE_BUTTON( 300, 100 ); - -BEGIN_EVENT_TABLE( MyAutoScrollWindow, wxScrolledWindow) - EVT_BUTTON( ID_RESIZEBUTTON, MyAutoScrollWindow::OnResizeClick) -END_EVENT_TABLE() - -MyAutoScrollWindow::MyAutoScrollWindow( wxWindow *parent ) - : wxScrolledWindow( parent, -1, wxDefaultPosition, wxDefaultSize, - wxSUNKEN_BORDER|wxScrolledWindowStyle ) +MySizerScrolledWindow::MySizerScrolledWindow(wxWindow *parent) + : wxScrolledWindow(parent) { - SetBackgroundColour( wxT("GREEN") ); + SetBackgroundColour( "GREEN" ); // Set the rate we'd like for scrolling. SetScrollRate( 5, 5 ); - // Populate a sizer with a 'resizing' button and some - // other static decoration - - wxFlexGridSizer *innersizer = new wxFlexGridSizer( 2, 2 ); + // Populate a sizer with a 'resizing' button and some other static + // decoration - m_button = new wxButton( this, - ID_RESIZEBUTTON, - _T("Press me"), - wxDefaultPosition, - SMALL_BUTTON ); + wxFlexGridSizer *sizer = new wxFlexGridSizer(2); - m_button->SetSizeHints( SMALL_BUTTON.GetWidth(), SMALL_BUTTON.GetHeight() ); + m_button = new wxButton( this, wxID_RESIZE_FRAME, "Press me", + wxDefaultPosition, SMALL_BUTTON ); - innersizer->Add( m_button, - 0, - wxALIGN_CENTER | wxALL, - 20 ); - - innersizer->Add( new wxStaticText( this, wxID_ANY, _T("This is just") ), - 0, - wxALIGN_CENTER ); - - innersizer->Add( new wxStaticText( this, wxID_ANY, _T("some decoration") ), - 0, - wxALIGN_CENTER ); - - innersizer->Add( new wxStaticText( this, wxID_ANY, _T("for you to scroll...") ), - 0, - wxALIGN_CENTER ); + sizer->Add(m_button, wxSizerFlags().Centre().Border(20)); + sizer->Add(new wxStaticText(this, wxID_ANY, "This is just"), + wxSizerFlags().Centre()); + sizer->Add(new wxStaticText(this, wxID_ANY, "some decoration"), + wxSizerFlags().Centre()); + sizer->Add(new wxStaticText(this, wxID_ANY, "for you to scroll..."), + wxSizerFlags().Centre()); // Then use the sizer to set the scrolled region size. - SetSizer( innersizer ); + SetSizer( sizer ); + + Connect(wxID_RESIZE_FRAME, wxEVT_COMMAND_BUTTON_CLICKED, + wxCommandEventHandler(MySizerScrolledWindow::OnResizeClick)); } -void MyAutoScrollWindow::OnResizeClick( wxCommandEvent &WXUNUSED( event ) ) +void MySizerScrolledWindow::OnResizeClick(wxCommandEvent &WXUNUSED(event)) { // Arbitrarily resize the button to change the minimum size of // the (scrolled) sizer. - if( m_button->GetSize() == SMALL_BUTTON ) - m_button->SetSizeHints( LARGE_BUTTON.GetWidth(), LARGE_BUTTON.GetHeight() ); + if ( m_button->GetSize() == SMALL_BUTTON ) + m_button->SetSizeHints(LARGE_BUTTON); else - m_button->SetSizeHints( SMALL_BUTTON.GetWidth(), SMALL_BUTTON.GetHeight() ); + m_button->SetSizeHints(SMALL_BUTTON); // Force update layout and scrollbars, since nothing we do here // necessarily generates a size event which would do it for us. - FitInside(); } @@ -575,103 +780,105 @@ void MyAutoScrollWindow::OnResizeClick( wxCommandEvent &WXUNUSED( event ) ) // MyFrame // ---------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS( MyFrame, wxFrame ) +const wxWindowID Scroll_Test_Simple = wxWindow::NewControlId(); +const wxWindowID Scroll_Test_Canvas = wxWindow::NewControlId(); +const wxWindowID Scroll_Test_Sizers = wxWindow::NewControlId(); +const wxWindowID Scroll_Test_Sub = wxWindow::NewControlId(); +const wxWindowID Scroll_Test_Auto = wxWindow::NewControlId(); BEGIN_EVENT_TABLE(MyFrame,wxFrame) - EVT_MENU (ID_DELETE_ALL, MyFrame::OnDeleteAll) - EVT_MENU (ID_INSERT_NEW, MyFrame::OnInsertNew) - EVT_MENU (ID_ABOUT, MyFrame::OnAbout) - EVT_MENU (ID_QUIT, MyFrame::OnQuit) + EVT_MENU(wxID_ABOUT, MyFrame::OnAbout) + EVT_MENU(wxID_EXIT, MyFrame::OnQuit) + + EVT_MENU(Scroll_Test_Simple, MyFrame::OnTestSimple) + EVT_MENU(Scroll_Test_Canvas, MyFrame::OnTestCanvas) + EVT_MENU(Scroll_Test_Sizers, MyFrame::OnTestSizer) + EVT_MENU(Scroll_Test_Sub, MyFrame::OnTestSub) + EVT_MENU(Scroll_Test_Auto, MyFrame::OnTestAuto) END_EVENT_TABLE() MyFrame::MyFrame() - : wxFrame( (wxFrame *)NULL, wxID_ANY, _T("wxScrolledWindow sample"), - wxPoint(20,20), wxSize(800,500) ) + : wxFrame(NULL, wxID_ANY, "wxWidgets scroll sample") { - wxMenu *file_menu = new wxMenu(); - file_menu->Append( ID_DELETE_ALL, _T("Delete all")); - file_menu->Append( ID_INSERT_NEW, _T("Insert new")); - file_menu->Append( ID_ABOUT, _T("&About..")); - file_menu->Append( ID_QUIT, _T("E&xit\tAlt-X")); - - wxMenuBar *menu_bar = new wxMenuBar(); - menu_bar->Append(file_menu, _T("&File")); - - SetMenuBar( menu_bar ); - -#if wxUSE_STATUSBAR - CreateStatusBar(2); - int widths[] = { -1, 100 }; - SetStatusWidths( 2, widths ); -#endif // wxUSE_STATUSBAR - - wxBoxSizer *topsizer = new wxBoxSizer( wxHORIZONTAL ); - // subsizer splits topsizer down the middle - wxBoxSizer *subsizer = new wxBoxSizer( wxVERTICAL ); - - // Setting an explicit size here is superfluous, it will be overridden - // by the sizer in any case. - m_canvas = new MyCanvas( this, wxID_ANY, wxPoint(0,0), wxSize(100,100) ); - - // This is done with ScrollRate/VirtualSize in MyCanvas ctor now, - // both should produce identical results. - //m_canvas->SetScrollbars( 10, 10, 50, 100 ); - - subsizer->Add( m_canvas, 1, wxEXPAND ); - subsizer->Add( new MyAutoScrollWindow( this ), 1, wxEXPAND ); + wxMenu *menuFile = new wxMenu; + menuFile->Append(wxID_ABOUT, "&About.."); + menuFile->AppendSeparator(); + menuFile->Append(wxID_EXIT, "E&xit\tAlt-X"); + + wxMenu *menuTest = new wxMenu; + menuTest->Append(Scroll_Test_Simple, "&Simple scroll window\tF1", + "Simplest possible scrolled window test."); + menuTest->Append(Scroll_Test_Canvas, "Scrolled window with &children\tF2", + "Scrolled window with controls on it."); + menuTest->Append(Scroll_Test_Sizers, "Scrolled window with si&zer\tF3", + "Scrolled window with children managed by sizer."); + menuTest->Append(Scroll_Test_Sub, "Scrolled s&ub-window\tF4", + "Window only part of which is scrolled."); + menuTest->Append(Scroll_Test_Auto, "&Auto-scrolled window\tF5", + "Window which scrolls when the mouse is held pressed " + "outside of it."); + + wxMenuBar *mbar = new wxMenuBar; + mbar->Append(menuFile, "&File"); + mbar->Append(menuTest, "&Test"); + + SetMenuBar( mbar ); + + + const wxSizerFlags flagsExpand(wxSizerFlags(1).Expand()); + + wxSizer *topsizer = new wxBoxSizer(wxVERTICAL); + topsizer->Add(new wxStaticText(this, wxID_ANY, + "The windows below should behave in the same way, even though\n" + "they're implemented quite differently, see the code for details.\n" + "\n" + "The lines redrawn during odd/even repaint iterations are drawn in\n" + "red/blue colour to allow seeing immediately how much is repainted,\n" + "don't be surprised by this."), + wxSizerFlags().Centre().Border()); wxSizer *sizerBtm = new wxBoxSizer(wxHORIZONTAL); - sizerBtm->Add( new MyScrolledWindowDumb(this), 1, wxEXPAND ); - sizerBtm->Add( new MyScrolledWindowSmart(this), 1, wxEXPAND ); - subsizer->Add( sizerBtm, 1, wxEXPAND ); + sizerBtm->Add(new MyScrolledWindowDumb(this), flagsExpand); + sizerBtm->Add(new MyScrolledWindowSmart(this), flagsExpand); + topsizer->Add(sizerBtm, flagsExpand); - topsizer->Add( subsizer, 1, wxEXPAND ); - topsizer->Add( new MyAutoTimedScrollingWindow( this ), 1, wxEXPAND ); + SetSizer(topsizer); - SetSizer( topsizer ); -} -void MyFrame::OnDeleteAll( wxCommandEvent &WXUNUSED(event) ) -{ - m_canvas->DestroyChildren(); + Show(); } -void MyFrame::OnInsertNew( wxCommandEvent &WXUNUSED(event) ) +void MyFrame::OnQuit(wxCommandEvent &WXUNUSED(event)) { - (void)new wxButton( m_canvas, wxID_ANY, _T("Hello"), wxPoint(100,100) ); -} - -void MyFrame::OnQuit( wxCommandEvent &WXUNUSED(event) ) -{ - Close( true ); + Close(true); } void MyFrame::OnAbout( wxCommandEvent &WXUNUSED(event) ) { - (void)wxMessageBox( _T("wxScroll demo\n") - _T("Robert Roebling (c) 1998\n") - _T("Autoscrolling examples\n") - _T("Ron Lee (c) 2002\n") - _T("Auto-timed-scrolling example\n") - _T("Matt Gregory (c) 2003\n"), - _T("About wxScroll Demo"), - wxICON_INFORMATION | wxOK ); + (void)wxMessageBox( "wxScrolledWindow sample\n" + "\n" + "Robert Roebling (c) 1998\n" + "Vadim Zeitlin (c) 2008\n" + "Autoscrolling examples\n" + "Ron Lee (c) 2002\n" + "Auto-timed-scrolling example\n" + "Matt Gregory (c) 2003\n", + "About wxWidgets scroll sample", + wxICON_INFORMATION | wxOK ); } -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- // MyApp -//----------------------------------------------------------------------------- +// ---------------------------------------------------------------------------- + +IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { if ( !wxApp::OnInit() ) return false; - wxFrame *frame = new MyFrame(); - frame->Show( true ); - - frame = new MySimpleFrame(); - frame->Show(); + new MyFrame(); return true; } @@ -686,13 +893,13 @@ void MyScrolledWindowDumb::OnDraw(wxDC& dc) static size_t s_redrawCount = 0; dc.SetTextForeground(s_redrawCount++ % 2 ? *wxRED : *wxBLUE); - wxCoord y = 0; + int y = 0; for ( size_t line = 0; line < m_nLines; line++ ) { - wxCoord yPhys; + int yPhys; CalcScrolledPosition(0, y, NULL, &yPhys); - dc.DrawText(wxString::Format(_T("Line %u (logical %d, physical %d)"), + dc.DrawText(wxString::Format("Line %u (logical %d, physical %d)", unsigned(line), y, yPhys), 0, y); y += m_hLine; } @@ -715,48 +922,47 @@ void MyScrolledWindowSmart::OnDraw(wxDC& dc) if ( lineTo > m_nLines - 1) lineTo = m_nLines - 1; - wxCoord y = lineFrom*m_hLine; + int y = lineFrom*m_hLine; for ( size_t line = lineFrom; line <= lineTo; line++ ) { - wxCoord yPhys; + int yPhys; CalcScrolledPosition(0, y, NULL, &yPhys); - dc.DrawText(wxString::Format(_T("Line %u (logical %d, physical %d)"), + dc.DrawText(wxString::Format("Line %u (logical %d, physical %d)", unsigned(line), y, yPhys), 0, y); y += m_hLine; } } // ---------------------------------------------------------------------------- -// MyAutoTimedScrollingWindow +// MyAutoScrollingWindow // ---------------------------------------------------------------------------- -BEGIN_EVENT_TABLE(MyAutoTimedScrollingWindow, wxScrolledWindow) - EVT_LEFT_DOWN(MyAutoTimedScrollingWindow::OnMouseLeftDown) - EVT_LEFT_UP(MyAutoTimedScrollingWindow::OnMouseLeftUp) - EVT_MOTION(MyAutoTimedScrollingWindow::OnMouseMove) - EVT_MOUSE_CAPTURE_LOST(MyAutoTimedScrollingWindow::OnMouseCaptureLost) - EVT_SCROLLWIN(MyAutoTimedScrollingWindow::OnScroll) +BEGIN_EVENT_TABLE(MyAutoScrollingWindow, wxScrolledWindow) + EVT_LEFT_DOWN(MyAutoScrollingWindow::OnMouseLeftDown) + EVT_LEFT_UP(MyAutoScrollingWindow::OnMouseLeftUp) + EVT_MOTION(MyAutoScrollingWindow::OnMouseMove) + EVT_MOUSE_CAPTURE_LOST(MyAutoScrollingWindow::OnMouseCaptureLost) + EVT_SCROLLWIN(MyAutoScrollingWindow::OnScroll) END_EVENT_TABLE() -MyAutoTimedScrollingWindow::MyAutoTimedScrollingWindow(wxWindow* parent) - : wxScrolledWindow(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize - //, wxSUNKEN_BORDER) // can't seem to do it this way - , wxVSCROLL | wxHSCROLL | wxSUNKEN_BORDER) - , m_selStart(-1, -1), m_cursor(-1, -1) - , m_font(9, wxFONTFAMILY_TELETYPE, wxFONTSTYLE_NORMAL - , wxFONTWEIGHT_NORMAL) +MyAutoScrollingWindow::MyAutoScrollingWindow(wxWindow* parent) + : wxScrolledWindow(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, + wxVSCROLL | wxHSCROLL | wxSUNKEN_BORDER), + m_selStart(-1, -1), + m_cursor(-1, -1), + m_font(9, wxFONTFAMILY_TELETYPE, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL) { wxClientDC dc(this); // query dc for text size dc.SetFont(m_font); - dc.GetTextExtent(wxString(_T("A")), &m_fontW, &m_fontH); + dc.GetTextExtent(wxString("A"), &m_fontW, &m_fontH); // set up the virtual window SetScrollbars(m_fontW, m_fontH, sm_lineLen, sm_lineCnt); } -wxRect MyAutoTimedScrollingWindow::DeviceCoordsToGraphicalChars - (wxRect updRect) const +wxRect +MyAutoScrollingWindow::DeviceCoordsToGraphicalChars(wxRect updRect) const { wxPoint pos(updRect.GetPosition()); pos = DeviceCoordsToGraphicalChars(pos); @@ -771,8 +977,8 @@ wxRect MyAutoTimedScrollingWindow::DeviceCoordsToGraphicalChars return updRect; } -wxPoint MyAutoTimedScrollingWindow::DeviceCoordsToGraphicalChars - (wxPoint pos) const +wxPoint +MyAutoScrollingWindow::DeviceCoordsToGraphicalChars(wxPoint pos) const { pos.x /= m_fontW; pos.y /= m_fontH; @@ -783,8 +989,8 @@ wxPoint MyAutoTimedScrollingWindow::DeviceCoordsToGraphicalChars return pos; } -wxPoint MyAutoTimedScrollingWindow::GraphicalCharToDeviceCoords - (wxPoint pos) const +wxPoint +MyAutoScrollingWindow::GraphicalCharToDeviceCoords(wxPoint pos) const { int vX, vY; GetViewStart(&vX, &vY); @@ -795,8 +1001,8 @@ wxPoint MyAutoTimedScrollingWindow::GraphicalCharToDeviceCoords return pos; } -wxRect MyAutoTimedScrollingWindow::LogicalCoordsToGraphicalChars - (wxRect updRect) const +wxRect +MyAutoScrollingWindow::LogicalCoordsToGraphicalChars(wxRect updRect) const { wxPoint pos(updRect.GetPosition()); pos = LogicalCoordsToGraphicalChars(pos); @@ -811,23 +1017,23 @@ wxRect MyAutoTimedScrollingWindow::LogicalCoordsToGraphicalChars return updRect; } -wxPoint MyAutoTimedScrollingWindow::LogicalCoordsToGraphicalChars - (wxPoint pos) const +wxPoint +MyAutoScrollingWindow::LogicalCoordsToGraphicalChars(wxPoint pos) const { pos.x /= m_fontW; pos.y /= m_fontH; return pos; } -wxPoint MyAutoTimedScrollingWindow::GraphicalCharToLogicalCoords - (wxPoint pos) const +wxPoint +MyAutoScrollingWindow::GraphicalCharToLogicalCoords(wxPoint pos) const { pos.x *= m_fontW; pos.y *= m_fontH; return pos; } -void MyAutoTimedScrollingWindow::MyRefresh() +void MyAutoScrollingWindow::MyRefresh() { static wxPoint lastSelStart(-1, -1), lastCursor(-1, -1); // refresh last selected area (to deselect previously selected text) @@ -848,10 +1054,10 @@ void MyAutoTimedScrollingWindow::MyRefresh() updRect.width += m_fontW; // kludge updRect.height += m_fontH; // kludge // find necessary refresh areas - wxCoord rx = lastUpdRect.x; - wxCoord ry = lastUpdRect.y; - wxCoord rw = updRect.x - lastUpdRect.x; - wxCoord rh = lastUpdRect.height; + int rx = lastUpdRect.x; + int ry = lastUpdRect.y; + int rw = updRect.x - lastUpdRect.x; + int rh = lastUpdRect.height; if (rw && rh) { RefreshRect(DCNormalize(rx, ry, rw, rh)); } @@ -881,7 +1087,7 @@ void MyAutoTimedScrollingWindow::MyRefresh() lastCursor = m_cursor; } -bool MyAutoTimedScrollingWindow::IsSelected(int chX, int chY) const +bool MyAutoScrollingWindow::IsSelected(int chX, int chY) const { if (IsInside(chX, m_selStart.x, m_cursor.x) && IsInside(chY, m_selStart.y, m_cursor.y)) { @@ -890,7 +1096,7 @@ bool MyAutoTimedScrollingWindow::IsSelected(int chX, int chY) const return false; } -bool MyAutoTimedScrollingWindow::IsInside(int k, int bound1, int bound2) +bool MyAutoScrollingWindow::IsInside(int k, int bound1, int bound2) { if ((k >= bound1 && k <= bound2) || (k >= bound2 && k <= bound1)) { return true; @@ -898,8 +1104,8 @@ bool MyAutoTimedScrollingWindow::IsInside(int k, int bound1, int bound2) return false; } -wxRect MyAutoTimedScrollingWindow::DCNormalize(wxCoord x, wxCoord y - , wxCoord w, wxCoord h) +wxRect +MyAutoScrollingWindow::DCNormalize(int x, int y, int w, int h) { // this is needed to get rid of the graphical remnants from the selection // I think it's because DrawRectangle() excludes a pixel in either direction @@ -922,7 +1128,7 @@ wxRect MyAutoTimedScrollingWindow::DCNormalize(wxCoord x, wxCoord y return wxRect(x, y, w, h); } -void MyAutoTimedScrollingWindow::OnDraw(wxDC& dc) +void MyAutoScrollingWindow::OnDraw(wxDC& dc) { dc.SetFont(m_font); wxBrush normBrush(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW) @@ -980,7 +1186,7 @@ void MyAutoTimedScrollingWindow::OnDraw(wxDC& dc) } } -void MyAutoTimedScrollingWindow::OnMouseLeftDown(wxMouseEvent& event) +void MyAutoScrollingWindow::OnMouseLeftDown(wxMouseEvent& event) { // initial press of mouse button sets the beginning of the selection m_selStart = DeviceCoordsToGraphicalChars(event.GetPosition()); @@ -990,7 +1196,7 @@ void MyAutoTimedScrollingWindow::OnMouseLeftDown(wxMouseEvent& event) MyRefresh(); } -void MyAutoTimedScrollingWindow::OnMouseLeftUp(wxMouseEvent& WXUNUSED(event)) +void MyAutoScrollingWindow::OnMouseLeftUp(wxMouseEvent& WXUNUSED(event)) { // this test is necessary if (HasCapture()) { @@ -999,7 +1205,7 @@ void MyAutoTimedScrollingWindow::OnMouseLeftUp(wxMouseEvent& WXUNUSED(event)) } } -void MyAutoTimedScrollingWindow::OnMouseMove(wxMouseEvent& event) +void MyAutoScrollingWindow::OnMouseMove(wxMouseEvent& event) { // if user is dragging if (event.Dragging() && event.LeftIsDown()) { @@ -1014,13 +1220,15 @@ void MyAutoTimedScrollingWindow::OnMouseMove(wxMouseEvent& event) } } -void MyAutoTimedScrollingWindow::OnMouseCaptureLost(wxMouseCaptureLostEvent& WXUNUSED(event)) +void +MyAutoScrollingWindow::OnMouseCaptureLost(wxMouseCaptureLostEvent& + WXUNUSED(event)) { // we only capture mouse for timed scrolling, so nothing is needed here // other than making sure to not call event.Skip() } -void MyAutoTimedScrollingWindow::OnScroll(wxScrollWinEvent& event) +void MyAutoScrollingWindow::OnScroll(wxScrollWinEvent& event) { // need to move the cursor when autoscrolling // FIXME: the cursor also moves when the scrollbar arrows are clicked @@ -1043,129 +1251,129 @@ void MyAutoTimedScrollingWindow::OnScroll(wxScrollWinEvent& event) event.Skip(); } -const int MyAutoTimedScrollingWindow::sm_lineCnt = 125; -const int MyAutoTimedScrollingWindow::sm_lineLen = 79; -const wxChar* MyAutoTimedScrollingWindow::sm_testData = -_T("162 Cult of the genius out of vanity. Because we think well of ourselves, but ") -_T("nonetheless never suppose ourselves capable of producing a painting like one of ") -_T("Raphael's or a dramatic scene like one of Shakespeare's, we convince ourselves ") -_T("that the capacity to do so is quite extraordinarily marvelous, a wholly ") -_T("uncommon accident, or, if we are still religiously inclined, a mercy from on ") -_T("high. Thus our vanity, our self-love, promotes the cult of the genius: for only ") -_T("if we think of him as being very remote from us, as a miraculum, does he not ") -_T("aggrieve us (even Goethe, who was without envy, called Shakespeare his star of ") -_T("the most distant heights [\"William! Stern der schonsten Ferne\": from Goethe's, ") -_T("\"Between Two Worlds\"]; in regard to which one might recall the lines: \"the ") -_T("stars, these we do not desire\" [from Goethe's, \"Comfort in Tears\"]). But, aside ") -_T("from these suggestions of our vanity, the activity of the genius seems in no ") -_T("way fundamentally different from the activity of the inventor of machines, the ") -_T("scholar of astronomy or history, the master of tactics. All these activities ") -_T("are explicable if one pictures to oneself people whose thinking is active in ") -_T("one direction, who employ everything as material, who always zealously observe ") -_T("their own inner life and that of others, who perceive everywhere models and ") -_T("incentives, who never tire of combining together the means available to them. ") -_T("Genius too does nothing except learn first how to lay bricks then how to build, ") -_T("except continually seek for material and continually form itself around it. ") -_T("Every activity of man is amazingly complicated, not only that of the genius: ") -_T("but none is a \"miracle.\" Whence, then, the belief that genius exists only in ") -_T("the artist, orator and philosopher? that only they have \"intuition\"? (Whereby ") -_T("they are supposed to possess a kind of miraculous eyeglass with which they can ") -_T("see directly into \"the essence of the thing\"!) It is clear that people speak of ") -_T("genius only where the effects of the great intellect are most pleasant to them ") -_T("and where they have no desire to feel envious. To call someone \"divine\" means: ") -_T("\"here there is no need for us to compete.\" Then, everything finished and ") -_T("complete is regarded with admiration, everything still becoming is undervalued. ") -_T("But no one can see in the work of the artist how it has become; that is its ") -_T("advantage, for wherever one can see the act of becoming one grows somewhat ") -_T("cool. The finished and perfect art of representation repulses all thinking as ") -_T("to how it has become; it tyrannizes as present completeness and perfection. ") -_T("That is why the masters of the art of representation count above all as gifted ") -_T("with genius and why men of science do not. In reality, this evaluation of the ") -_T("former and undervaluation of the latter is only a piece of childishness in the ") -_T("realm of reason. ") -_T("\n\n") -_T("163 The serious workman. Do not talk about giftedness, inborn talents! One can ") -_T("name great men of all kinds who were very little gifted. The acquired ") -_T("greatness, became \"geniuses\" (as we put it), through qualities the lack of ") -_T("which no one who knew what they were would boast of: they all possessed that ") -_T("seriousness of the efficient workman which first learns to construct the parts ") -_T("properly before it ventures to fashion a great whole; they allowed themselves ") -_T("time for it, because they took more pleasure in making the little, secondary ") -_T("things well than in the effect of a dazzling whole. the recipe for becoming a ") -_T("good novelist, for example, is easy to give, but to carry it out presupposes ") -_T("qualities one is accustomed to overlook when one says \"I do not have enough ") -_T("talent.\" One has only to make a hundred or so sketches for novels, none longer ") -_T("than two pages but of such distinctness that every word in them is necessary; ") -_T("one should write down anecdotes each day until one has learned how to give them ") -_T("the most pregnant and effective form; one should be tireless in collecting and ") -_T("describing human types and characters; one should above all relate things to ") -_T("others and listen to others relate, keeping one's eyes and ears open for the ") -_T("effect produced on those present, one should travel like a landscape painter or ") -_T("costume designer; one should excerpt for oneself out of the individual sciences ") -_T("everything that will produce an artistic effect when it is well described, one ") -_T("should, finally, reflect on the motives of human actions, disdain no signpost ") -_T("to instruction about them and be a collector of these things by day and night. ") -_T("One should continue in this many-sided exercise some ten years: what is then ") -_T("created in the workshop, however, will be fit to go out into the world. What, ") -_T("however, do most people do? They begin, not with the parts, but with the whole. ") -_T("Perhaps they chance to strike a right note, excite attention and from then on ") -_T("strike worse and worse notes, for good, natural reasons. Sometimes, when the ") -_T("character and intellect needed to formulate such a life-plan are lacking, fate ") -_T("and need take their place and lead the future master step by step through all ") -_T("the stipulations of his trade. ") -_T("\n\n") -_T("164 Peril and profit in the cult of the genius. The belief in great, superior, ") -_T("fruitful spirits is not necessarily, yet nonetheless is very frequently ") -_T("associated with that religious or semi-religious superstition that these ") -_T("spirits are of supra-human origin and possess certain miraculous abilities by ") -_T("virtue of which they acquire their knowledge by quite other means than the rest ") -_T("of mankind. One ascribes to them, it seems, a direct view of the nature of the ") -_T("world, as it were a hole in the cloak of appearance, and believes that, by ") -_T("virtue of this miraculous seer's vision, they are able to communicate something ") -_T("conclusive and decisive about man and the world without the toil and ") -_T("rigorousness required by science. As long as there continue to be those who ") -_T("believe in the miraculous in the domain of knowledge one can perhaps concede ") -_T("that these people themselves derive some benefit from their belief, inasmuch as ") -_T("through their unconditional subjection to the great spirits they create for ") -_T("their own spirit during its time of development the finest form of discipline ") -_T("and schooling. On the other hand, it is at least questionable whether the ") -_T("superstitious belief in genius, in its privileges and special abilities, is of ") -_T("benefit to the genius himself if it takes root in him. It is in any event a ") -_T("dangerous sign when a man is assailed by awe of himself, whether it be the ") -_T("celebrated Caesar's awe of Caesar or the awe of one's own genius now under ") -_T("consideration; when the sacrificial incense which is properly rendered only to ") -_T("a god penetrates the brain of the genius, so that his head begins to swim and ") -_T("he comes to regard himself as something supra-human. The consequences that ") -_T("slowly result are: the feeling of irresponsibility, of exceptional rights, the ") -_T("belief that he confers a favor by his mere presence, insane rage when anyone ") -_T("attempts even to compare him with others, let alone to rate him beneath them, ") -_T("or to draw attention to lapses in his work. Because he ceases to practice ") -_T("criticism of himself, at last one pinion after the other falls out of his ") -_T("plumage: that superstitious eats at the roots of his powers and perhaps even ") -_T("turns him into a hypocrite after his powers have fled from him. For the great ") -_T("spirits themselves it is therefore probably more beneficial if they acquire an ") -_T("insight into the nature and origin of their powers, if they grasp, that is to ") -_T("say, what purely human qualities have come together in them and what fortunate ") -_T("circumstances attended them: in the first place undiminished energy, resolute ") -_T("application to individual goals, great personal courage, then the good fortune ") -_T("to receive an upbringing which offered in the early years the finest teachers, ") -_T("models and methods. To be sure, when their goal is the production of the ") -_T("greatest possible effect, unclarity with regard to oneself and that ") -_T("semi-insanity superadded to it has always achieved much; for what has been ") -_T("admired and envied at all times has been that power in them by virtue of which ") -_T("they render men will-less and sweep them away into the delusion that the ") -_T("leaders they are following are supra-natural. Indeed, it elevates and inspires ") -_T("men to believe that someone is in possession of supra-natural powers: to this ") -_T("extent Plato was right to say [Plato: Phaedrus, 244a] that madness has brought ") -_T("the greatest of blessings upon mankind. In rare individual cases this portion ") -_T("of madness may, indeed, actually have been the means by which such a nature, ") -_T("excessive in all directions, was held firmly together: in the life of ") -_T("individuals, too, illusions that are in themselves poisons often play the role ") -_T("of healers; yet, in the end, in the case of every \"genius\" who believes in his ") -_T("own divinity the poison shows itself to the same degree as his \"genius\" grows ") -_T("old: one may recall, for example, the case of Napoleon, whose nature certainly ") -_T("grew into the mighty unity that sets him apart from all men of modern times ") -_T("precisely through his belief in himself and his star and through the contempt ") -_T("for men that flowed from it; until in the end, however, this same belief went ") -_T("over into an almost insane fatalism, robbed him of his acuteness and swiftness ") -_T("of perception, and became the cause of his destruction."); +const int MyAutoScrollingWindow::sm_lineCnt = 125; +const int MyAutoScrollingWindow::sm_lineLen = 79; +const char *MyAutoScrollingWindow::sm_testData = +"162 Cult of the genius out of vanity. Because we think well of ourselves, but " +"nonetheless never suppose ourselves capable of producing a painting like one of " +"Raphael's or a dramatic scene like one of Shakespeare's, we convince ourselves " +"that the capacity to do so is quite extraordinarily marvelous, a wholly " +"uncommon accident, or, if we are still religiously inclined, a mercy from on " +"high. Thus our vanity, our self-love, promotes the cult of the genius: for only " +"if we think of him as being very remote from us, as a miraculum, does he not " +"aggrieve us (even Goethe, who was without envy, called Shakespeare his star of " +"the most distant heights [\"William! Stern der schonsten Ferne\": from Goethe's, " +"\"Between Two Worlds\"]; in regard to which one might recall the lines: \"the " +"stars, these we do not desire\" [from Goethe's, \"Comfort in Tears\"]). But, aside " +"from these suggestions of our vanity, the activity of the genius seems in no " +"way fundamentally different from the activity of the inventor of machines, the " +"scholar of astronomy or history, the master of tactics. All these activities " +"are explicable if one pictures to oneself people whose thinking is active in " +"one direction, who employ everything as material, who always zealously observe " +"their own inner life and that of others, who perceive everywhere models and " +"incentives, who never tire of combining together the means available to them. " +"Genius too does nothing except learn first how to lay bricks then how to build, " +"except continually seek for material and continually form itself around it. " +"Every activity of man is amazingly complicated, not only that of the genius: " +"but none is a \"miracle.\" Whence, then, the belief that genius exists only in " +"the artist, orator and philosopher? that only they have \"intuition\"? (Whereby " +"they are supposed to possess a kind of miraculous eyeglass with which they can " +"see directly into \"the essence of the thing\"!) It is clear that people speak of " +"genius only where the effects of the great intellect are most pleasant to them " +"and where they have no desire to feel envious. To call someone \"divine\" means: " +"\"here there is no need for us to compete.\" Then, everything finished and " +"complete is regarded with admiration, everything still becoming is undervalued. " +"But no one can see in the work of the artist how it has become; that is its " +"advantage, for wherever one can see the act of becoming one grows somewhat " +"cool. The finished and perfect art of representation repulses all thinking as " +"to how it has become; it tyrannizes as present completeness and perfection. " +"That is why the masters of the art of representation count above all as gifted " +"with genius and why men of science do not. In reality, this evaluation of the " +"former and undervaluation of the latter is only a piece of childishness in the " +"realm of reason. " +"\n\n" +"163 The serious workman. Do not talk about giftedness, inborn talents! One can " +"name great men of all kinds who were very little gifted. The acquired " +"greatness, became \"geniuses\" (as we put it), through qualities the lack of " +"which no one who knew what they were would boast of: they all possessed that " +"seriousness of the efficient workman which first learns to construct the parts " +"properly before it ventures to fashion a great whole; they allowed themselves " +"time for it, because they took more pleasure in making the little, secondary " +"things well than in the effect of a dazzling whole. the recipe for becoming a " +"good novelist, for example, is easy to give, but to carry it out presupposes " +"qualities one is accustomed to overlook when one says \"I do not have enough " +"talent.\" One has only to make a hundred or so sketches for novels, none longer " +"than two pages but of such distinctness that every word in them is necessary; " +"one should write down anecdotes each day until one has learned how to give them " +"the most pregnant and effective form; one should be tireless in collecting and " +"describing human types and characters; one should above all relate things to " +"others and listen to others relate, keeping one's eyes and ears open for the " +"effect produced on those present, one should travel like a landscape painter or " +"costume designer; one should excerpt for oneself out of the individual sciences " +"everything that will produce an artistic effect when it is well described, one " +"should, finally, reflect on the motives of human actions, disdain no signpost " +"to instruction about them and be a collector of these things by day and night. " +"One should continue in this many-sided exercise some ten years: what is then " +"created in the workshop, however, will be fit to go out into the world. What, " +"however, do most people do? They begin, not with the parts, but with the whole. " +"Perhaps they chance to strike a right note, excite attention and from then on " +"strike worse and worse notes, for good, natural reasons. Sometimes, when the " +"character and intellect needed to formulate such a life-plan are lacking, fate " +"and need take their place and lead the future master step by step through all " +"the stipulations of his trade. " +"\n\n" +"164 Peril and profit in the cult of the genius. The belief in great, superior, " +"fruitful spirits is not necessarily, yet nonetheless is very frequently " +"associated with that religious or semi-religious superstition that these " +"spirits are of supra-human origin and possess certain miraculous abilities by " +"virtue of which they acquire their knowledge by quite other means than the rest " +"of mankind. One ascribes to them, it seems, a direct view of the nature of the " +"world, as it were a hole in the cloak of appearance, and believes that, by " +"virtue of this miraculous seer's vision, they are able to communicate something " +"conclusive and decisive about man and the world without the toil and " +"rigorousness required by science. As long as there continue to be those who " +"believe in the miraculous in the domain of knowledge one can perhaps concede " +"that these people themselves derive some benefit from their belief, inasmuch as " +"through their unconditional subjection to the great spirits they create for " +"their own spirit during its time of development the finest form of discipline " +"and schooling. On the other hand, it is at least questionable whether the " +"superstitious belief in genius, in its privileges and special abilities, is of " +"benefit to the genius himself if it takes root in him. It is in any event a " +"dangerous sign when a man is assailed by awe of himself, whether it be the " +"celebrated Caesar's awe of Caesar or the awe of one's own genius now under " +"consideration; when the sacrificial incense which is properly rendered only to " +"a god penetrates the brain of the genius, so that his head begins to swim and " +"he comes to regard himself as something supra-human. The consequences that " +"slowly result are: the feeling of irresponsibility, of exceptional rights, the " +"belief that he confers a favor by his mere presence, insane rage when anyone " +"attempts even to compare him with others, let alone to rate him beneath them, " +"or to draw attention to lapses in his work. Because he ceases to practice " +"criticism of himself, at last one pinion after the other falls out of his " +"plumage: that superstitious eats at the roots of his powers and perhaps even " +"turns him into a hypocrite after his powers have fled from him. For the great " +"spirits themselves it is therefore probably more beneficial if they acquire an " +"insight into the nature and origin of their powers, if they grasp, that is to " +"say, what purely human qualities have come together in them and what fortunate " +"circumstances attended them: in the first place undiminished energy, resolute " +"application to individual goals, great personal courage, then the good fortune " +"to receive an upbringing which offered in the early years the finest teachers, " +"models and methods. To be sure, when their goal is the production of the " +"greatest possible effect, unclarity with regard to oneself and that " +"semi-insanity superadded to it has always achieved much; for what has been " +"admired and envied at all times has been that power in them by virtue of which " +"they render men will-less and sweep them away into the delusion that the " +"leaders they are following are supra-natural. Indeed, it elevates and inspires " +"men to believe that someone is in possession of supra-natural powers: to this " +"extent Plato was right to say [Plato: Phaedrus, 244a] that madness has brought " +"the greatest of blessings upon mankind. In rare individual cases this portion " +"of madness may, indeed, actually have been the means by which such a nature, " +"excessive in all directions, was held firmly together: in the life of " +"individuals, too, illusions that are in themselves poisons often play the role " +"of healers; yet, in the end, in the case of every \"genius\" who believes in his " +"own divinity the poison shows itself to the same degree as his \"genius\" grows " +"old: one may recall, for example, the case of Napoleon, whose nature certainly " +"grew into the mighty unity that sets him apart from all men of modern times " +"precisely through his belief in himself and his star and through the contempt " +"for men that flowed from it; until in the end, however, this same belief went " +"over into an almost insane fatalism, robbed him of his acuteness and swiftness " +"of perception, and became the cause of his destruction."; diff --git a/samples/scrollsub/Makefile.in b/samples/scrollsub/Makefile.in deleted file mode 100644 index 8a850e4d44..0000000000 --- a/samples/scrollsub/Makefile.in +++ /dev/null @@ -1,197 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.5 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - -@MAKE_SET@ - -prefix = @prefix@ -exec_prefix = @exec_prefix@ -datarootdir = @datarootdir@ -INSTALL = @INSTALL@ -EXEEXT = @EXEEXT@ -WINDRES = @WINDRES@ -SETFILE = @SETFILE@ -NM = @NM@ -BK_DEPS = @BK_DEPS@ -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -LIBS = @LIBS@ -LDFLAGS_GUI = @LDFLAGS_GUI@ -CXX = @CXX@ -CXXFLAGS = @CXXFLAGS@ -CPPFLAGS = @CPPFLAGS@ -LDFLAGS = @LDFLAGS@ -WX_LIB_FLAVOUR = @WX_LIB_FLAVOUR@ -TOOLKIT = @TOOLKIT@ -TOOLKIT_LOWERCASE = @TOOLKIT_LOWERCASE@ -TOOLKIT_VERSION = @TOOLKIT_VERSION@ -TOOLCHAIN_FULLNAME = @TOOLCHAIN_FULLNAME@ -EXTRALIBS = @EXTRALIBS@ -EXTRALIBS_GUI = @EXTRALIBS_GUI@ -CXXWARNINGS = @CXXWARNINGS@ -HOST_SUFFIX = @HOST_SUFFIX@ -SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@ -SAMPLES_RPATH_POSTLINK = @SAMPLES_RPATH_POSTLINK@ -wx_top_builddir = @wx_top_builddir@ - -### Variables: ### - -DESTDIR = -WX_RELEASE = 2.9 -WX_VERSION = $(WX_RELEASE).0 -LIBDIRNAME = $(wx_top_builddir)/lib -SCROLLSUB_CXXFLAGS = -D__WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p) \ - $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \ - -I$(srcdir) $(__DLLFLAG_p) -I$(srcdir)/../../samples $(CXXWARNINGS) \ - $(CPPFLAGS) $(CXXFLAGS) -SCROLLSUB_OBJECTS = \ - $(__scrollsub_os2_lib_res) \ - scrollsub_scrollsub.o \ - $(__scrollsub___win32rc) - -### Conditionally set variables: ### - -@COND_DEPS_TRACKING_0@CXXC = $(CXX) -@COND_DEPS_TRACKING_1@CXXC = $(BK_DEPS) $(CXX) -@COND_USE_GUI_0@PORTNAME = base -@COND_USE_GUI_1@PORTNAME = $(TOOLKIT_LOWERCASE)$(TOOLKIT_VERSION) -@COND_TOOLKIT_MAC@WXBASEPORT = _carbon -@COND_BUILD_debug_DEBUG_FLAG_default@WXDEBUGFLAG = d -@COND_DEBUG_FLAG_1@WXDEBUGFLAG = d -@COND_UNICODE_1@WXUNICODEFLAG = u -@COND_WXUNIV_1@WXUNIVNAME = univ -@COND_MONOLITHIC_0@EXTRALIBS_FOR_BASE = $(EXTRALIBS) -@COND_MONOLITHIC_1@EXTRALIBS_FOR_BASE = $(EXTRALIBS) $(EXTRALIBS_GUI) -@COND_MONOLITHIC_0@EXTRALIBS_FOR_GUI = $(EXTRALIBS_GUI) -@COND_MONOLITHIC_1@EXTRALIBS_FOR_GUI = -@COND_PLATFORM_MAC_0@__scrollsub___mac_setfilecmd = @true -@COND_PLATFORM_MAC_1@__scrollsub___mac_setfilecmd = \ -@COND_PLATFORM_MAC_1@ $(SETFILE) -t APPL scrollsub$(EXEEXT) -@COND_WXUNIV_1@__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ -@COND_WXUNIV_1@__WXUNIV_DEFINE_p_2 = --define __WXUNIVERSAL__ -@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS -@COND_USE_EXCEPTIONS_0@__EXCEPTIONS_DEFINE_p_2 = --define wxNO_EXCEPTIONS -@COND_USE_RTTI_0@__RTTI_DEFINE_p = -DwxNO_RTTI -@COND_USE_RTTI_0@__RTTI_DEFINE_p_2 = --define wxNO_RTTI -@COND_USE_THREADS_0@__THREAD_DEFINE_p = -DwxNO_THREADS -@COND_USE_THREADS_0@__THREAD_DEFINE_p_2 = --define wxNO_THREADS -@COND_SHARED_1@__DLLFLAG_p = -DWXUSINGDLL -@COND_SHARED_1@__DLLFLAG_p_2 = --define WXUSINGDLL -COND_PLATFORM_OS2_1___scrollsub___os2_emxbindcmd = $(NM) scrollsub$(EXEEXT) | \ - if grep -q pmwin.763 ; then emxbind -ep scrollsub$(EXEEXT) ; fi -@COND_PLATFORM_OS2_1@__scrollsub___os2_emxbindcmd = $(COND_PLATFORM_OS2_1___scrollsub___os2_emxbindcmd) -@COND_TOOLKIT_MSW@__RCDEFDIR_p_1 = --include-dir \ -@COND_TOOLKIT_MSW@ $(LIBDIRNAME)/wx/include/$(TOOLCHAIN_FULLNAME) -@COND_PLATFORM_OS2_1@__scrollsub_os2_lib_res = \ -@COND_PLATFORM_OS2_1@ $(top_srcdir)/include/wx/os2/wx.res -@COND_PLATFORM_MACOSX_1@__scrollsub_app_Contents_PkgInfo___depname \ -@COND_PLATFORM_MACOSX_1@ = scrollsub.app/Contents/PkgInfo -@COND_PLATFORM_MACOSX_1@__scrollsub_bundle___depname = scrollsub_bundle -@COND_TOOLKIT_MAC@____scrollsub_BUNDLE_TGT_REF_DEP = \ -@COND_TOOLKIT_MAC@ $(__scrollsub_app_Contents_PkgInfo___depname) -@COND_TOOLKIT_OSX_CARBON@____scrollsub_BUNDLE_TGT_REF_DEP \ -@COND_TOOLKIT_OSX_CARBON@ = $(__scrollsub_app_Contents_PkgInfo___depname) -@COND_TOOLKIT_OSX_COCOA@____scrollsub_BUNDLE_TGT_REF_DEP \ -@COND_TOOLKIT_OSX_COCOA@ = $(__scrollsub_app_Contents_PkgInfo___depname) -@COND_TOOLKIT_OSX_IPHONE@____scrollsub_BUNDLE_TGT_REF_DEP \ -@COND_TOOLKIT_OSX_IPHONE@ = $(__scrollsub_app_Contents_PkgInfo___depname) -@COND_TOOLKIT_COCOA@____scrollsub_BUNDLE_TGT_REF_DEP = \ -@COND_TOOLKIT_COCOA@ $(__scrollsub_app_Contents_PkgInfo___depname) -COND_MONOLITHIC_0___WXLIB_CORE_p = \ - -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) -@COND_MONOLITHIC_0@__WXLIB_CORE_p = $(COND_MONOLITHIC_0___WXLIB_CORE_p) -COND_MONOLITHIC_0___WXLIB_BASE_p = \ - -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) -@COND_MONOLITHIC_0@__WXLIB_BASE_p = $(COND_MONOLITHIC_0___WXLIB_BASE_p) -@COND_PLATFORM_WIN32_1@__scrollsub___win32rc = scrollsub_scrollsub_rc.o -COND_MONOLITHIC_1___WXLIB_MONO_p = \ - -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) -@COND_MONOLITHIC_1@__WXLIB_MONO_p = $(COND_MONOLITHIC_1___WXLIB_MONO_p) -@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@__LIB_TIFF_p \ -@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ = \ -@COND_USE_GUI_1_wxUSE_LIBTIFF_builtin@ -lwxtiff$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) -@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@__LIB_JPEG_p \ -@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ = \ -@COND_USE_GUI_1_wxUSE_LIBJPEG_builtin@ -lwxjpeg$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) -@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@__LIB_PNG_p \ -@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ = \ -@COND_USE_GUI_1_wxUSE_LIBPNG_builtin@ -lwxpng$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) -@COND_wxUSE_ZLIB_builtin@__LIB_ZLIB_p = \ -@COND_wxUSE_ZLIB_builtin@ -lwxzlib$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) -COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ - -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) -@COND_wxUSE_REGEX_builtin@__LIB_REGEX_p = $(COND_wxUSE_REGEX_builtin___LIB_REGEX_p) -@COND_wxUSE_EXPAT_builtin@__LIB_EXPAT_p = \ -@COND_wxUSE_EXPAT_builtin@ -lwxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) - -### Targets: ### - -all: scrollsub$(EXEEXT) $(__scrollsub_bundle___depname) - -install: - -uninstall: - -install-strip: install - -clean: - rm -rf ./.deps ./.pch - rm -f ./*.o - rm -f scrollsub$(EXEEXT) - rm -rf scrollsub.app - -distclean: clean - rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile - -scrollsub$(EXEEXT): $(SCROLLSUB_OBJECTS) $(__scrollsub___win32rc) - $(CXX) -o $@ $(SCROLLSUB_OBJECTS) -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS) - - $(__scrollsub___mac_setfilecmd) - $(__scrollsub___os2_emxbindcmd) - $(SAMPLES_RPATH_POSTLINK) - -@COND_PLATFORM_MACOSX_1@scrollsub.app/Contents/PkgInfo: scrollsub$(EXEEXT) $(top_srcdir)/src/osx/carbon/Info.plist.in $(top_srcdir)/src/osx/carbon/wxmac.icns -@COND_PLATFORM_MACOSX_1@ mkdir -p scrollsub.app/Contents -@COND_PLATFORM_MACOSX_1@ mkdir -p scrollsub.app/Contents/MacOS -@COND_PLATFORM_MACOSX_1@ mkdir -p scrollsub.app/Contents/Resources -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ sed -e "s/IDENTIFIER/`echo $(srcdir) | sed -e 's,\.\./,,g' | sed -e 's,/,.,g'`/" \ -@COND_PLATFORM_MACOSX_1@ -e "s/EXECUTABLE/scrollsub/" \ -@COND_PLATFORM_MACOSX_1@ -e "s/VERSION/$(WX_VERSION)/" \ -@COND_PLATFORM_MACOSX_1@ $(top_srcdir)/src/osx/carbon/Info.plist.in >scrollsub.app/Contents/Info.plist -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ echo -n "APPL????" >scrollsub.app/Contents/PkgInfo -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ ln -f scrollsub$(EXEEXT) scrollsub.app/Contents/MacOS/scrollsub -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ -@COND_PLATFORM_MACOSX_1@ cp -f $(top_srcdir)/src/osx/carbon/wxmac.icns scrollsub.app/Contents/Resources/wxmac.icns - -@COND_PLATFORM_MACOSX_1@scrollsub_bundle: $(____scrollsub_BUNDLE_TGT_REF_DEP) - -scrollsub_scrollsub.o: $(srcdir)/scrollsub.cpp - $(CXXC) -c -o $@ $(SCROLLSUB_CXXFLAGS) $(srcdir)/scrollsub.cpp - -scrollsub_scrollsub_rc.o: $(srcdir)/scrollsub.rc - $(WINDRES) -i$< -o$@ --define __WX$(TOOLKIT)__ $(__WXUNIV_DEFINE_p_2) $(__EXCEPTIONS_DEFINE_p_2) $(__RTTI_DEFINE_p_2) $(__THREAD_DEFINE_p_2) --include-dir $(srcdir) $(__DLLFLAG_p_2) --include-dir $(srcdir)/../../samples $(__RCDEFDIR_p_1) --include-dir $(top_srcdir)/include - - -$(srcdir)/include/wx/stc/stc.h: \ -$(srcdir)/src/stc/scintilla/include/Scintilla.iface \ -$(srcdir)/src/stc/stc.cpp.in \ -$(srcdir)/src/stc/stc.h.in \ -$(srcdir)/src/stc/gen_iface.py - cd $(srcdir)/src/stc && ./gen_iface.py -monolib_stc.o monodll_stc.o stcdll_stc.o stclib_stc.o: \ -$(srcdir)/include/wx/stc/stc.h - -# Include dependency info, if present: -@IF_GNU_MAKE@-include ./.deps/*.d - -.PHONY: all install uninstall clean distclean scrollsub_bundle diff --git a/samples/scrollsub/makefile.bcc b/samples/scrollsub/makefile.bcc deleted file mode 100644 index 9f271a05ba..0000000000 --- a/samples/scrollsub/makefile.bcc +++ /dev/null @@ -1,241 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.5 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -.autodepend - -!ifndef BCCDIR -!ifndef MAKEDIR -!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 -!endif -BCCDIR = $(MAKEDIR)\.. -!endif - -!include ../../build/msw/config.bcc - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -WX_RELEASE_NODOT = 29 -COMPILER_PREFIX = bcc -OBJS = \ - $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) -SETUPHDIR = \ - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) -SCROLLSUB_CXXFLAGS = $(__RUNTIME_LIBS_7) -I$(BCCDIR)\include $(__DEBUGINFO) \ - $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_6) -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ - $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ - $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ - $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -I. $(__DLLFLAG_p) \ - -I.\..\..\samples -DNOPCH $(CPPFLAGS) $(CXXFLAGS) -SCROLLSUB_OBJECTS = \ - $(OBJS)\scrollsub_scrollsub.obj - -### Conditionally set variables: ### - -!if "$(USE_GUI)" == "0" -PORTNAME = base -!endif -!if "$(USE_GUI)" == "1" -PORTNAME = msw -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -WXDEBUGFLAG = d -!endif -!if "$(DEBUG_FLAG)" == "1" -WXDEBUGFLAG = d -!endif -!if "$(UNICODE)" == "1" -WXUNICODEFLAG = u -!endif -!if "$(WXUNIV)" == "1" -WXUNIVNAME = univ -!endif -!if "$(SHARED)" == "1" -WXDLLFLAG = dll -!endif -!if "$(SHARED)" == "0" -LIBTYPE_SUFFIX = lib -!endif -!if "$(SHARED)" == "1" -LIBTYPE_SUFFIX = dll -!endif -!if "$(MONOLITHIC)" == "0" -EXTRALIBS_FOR_BASE = -!endif -!if "$(MONOLITHIC)" == "1" -EXTRALIBS_FOR_BASE = -!endif -!if "$(BUILD)" == "debug" -__OPTIMIZEFLAG_2 = -Od -!endif -!if "$(BUILD)" == "release" -__OPTIMIZEFLAG_2 = -O2 -!endif -!if "$(USE_THREADS)" == "0" -__THREADSFLAG_5 = -!endif -!if "$(USE_THREADS)" == "1" -__THREADSFLAG_5 = mt -!endif -!if "$(USE_THREADS)" == "0" -__THREADSFLAG_6 = -!endif -!if "$(USE_THREADS)" == "1" -__THREADSFLAG_6 = -tWM -!endif -!if "$(RUNTIME_LIBS)" == "dynamic" -__RUNTIME_LIBS_7 = -tWR -!endif -!if "$(RUNTIME_LIBS)" == "static" -__RUNTIME_LIBS_7 = -!endif -!if "$(RUNTIME_LIBS)" == "dynamic" -__RUNTIME_LIBS_8 = i -!endif -!if "$(RUNTIME_LIBS)" == "static" -__RUNTIME_LIBS_8 = -!endif -!if "$(WXUNIV)" == "1" -__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ -!endif -!if "$(WXUNIV)" == "1" -__WXUNIV_DEFINE_p_1 = -d__WXUNIVERSAL__ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p = -D__WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p = -D__WXDEBUG__ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p_1 = -d__WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p_1 = -d__WXDEBUG__ -!endif -!if "$(USE_EXCEPTIONS)" == "0" -__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS -!endif -!if "$(USE_EXCEPTIONS)" == "0" -__EXCEPTIONS_DEFINE_p_1 = -dwxNO_EXCEPTIONS -!endif -!if "$(USE_RTTI)" == "0" -__RTTI_DEFINE_p = -DwxNO_RTTI -!endif -!if "$(USE_RTTI)" == "0" -__RTTI_DEFINE_p_1 = -dwxNO_RTTI -!endif -!if "$(USE_THREADS)" == "0" -__THREAD_DEFINE_p = -DwxNO_THREADS -!endif -!if "$(USE_THREADS)" == "0" -__THREAD_DEFINE_p_1 = -dwxNO_THREADS -!endif -!if "$(UNICODE)" == "0" -__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 -!endif -!if "$(UNICODE)" == "1" -__UNICODE_DEFINE_p = -D_UNICODE -!endif -!if "$(UNICODE)" == "0" -__UNICODE_DEFINE_p_1 = -dwxUSE_UNICODE=0 -!endif -!if "$(UNICODE)" == "1" -__UNICODE_DEFINE_p_1 = -d_UNICODE -!endif -!if "$(MSLU)" == "1" -__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 -!endif -!if "$(MSLU)" == "1" -__MSLU_DEFINE_p_1 = -dwxUSE_UNICODE_MSLU=1 -!endif -!if "$(USE_GDIPLUS)" == "1" -__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 -!endif -!if "$(USE_GDIPLUS)" == "1" -__GFXCTX_DEFINE_p_1 = -dwxUSE_GRAPHICS_CONTEXT=1 -!endif -!if "$(SHARED)" == "1" -__DLLFLAG_p = -DWXUSINGDLL -!endif -!if "$(SHARED)" == "1" -__DLLFLAG_p_1 = -dWXUSINGDLL -!endif -!if "$(MONOLITHIC)" == "0" -__WXLIB_CORE_p = \ - wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib -!endif -!if "$(MONOLITHIC)" == "0" -__WXLIB_BASE_p = \ - wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib -!endif -!if "$(MONOLITHIC)" == "1" -__WXLIB_MONO_p = \ - wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib -!endif -!if "$(MSLU)" == "1" -__UNICOWS_LIB_p = unicows.lib -!endif -!if "$(USE_GDIPLUS)" == "1" -__GDIPLUS_LIB_p = gdiplus.lib -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO = -v -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO = -v- -!endif -!if "$(DEBUG_INFO)" == "0" -__DEBUGINFO = -v- -!endif -!if "$(DEBUG_INFO)" == "1" -__DEBUGINFO = -v -!endif - - -all: $(OBJS) -$(OBJS): - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all: $(OBJS)\scrollsub.exe - -clean: - -if exist $(OBJS)\*.obj del $(OBJS)\*.obj - -if exist $(OBJS)\*.res del $(OBJS)\*.res - -if exist $(OBJS)\*.csm del $(OBJS)\*.csm - -if exist $(OBJS)\scrollsub.exe del $(OBJS)\scrollsub.exe - -if exist $(OBJS)\scrollsub.tds del $(OBJS)\scrollsub.tds - -if exist $(OBJS)\scrollsub.ilc del $(OBJS)\scrollsub.ilc - -if exist $(OBJS)\scrollsub.ild del $(OBJS)\scrollsub.ild - -if exist $(OBJS)\scrollsub.ilf del $(OBJS)\scrollsub.ilf - -if exist $(OBJS)\scrollsub.ils del $(OBJS)\scrollsub.ils - -$(OBJS)\scrollsub.exe: $(SCROLLSUB_OBJECTS) $(OBJS)\scrollsub_scrollsub.res - ilink32 -Tpe -q -L$(BCCDIR)\lib -L$(BCCDIR)\lib\psdk $(__DEBUGINFO) -L$(LIBDIRNAME) -aa $(LDFLAGS) @&&| - c0w32.obj $(SCROLLSUB_OBJECTS),$@,, $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) ole2w32.lib oleacc.lib import32.lib cw32$(__THREADSFLAG_5)$(__RUNTIME_LIBS_8).lib,, $(OBJS)\scrollsub_scrollsub.res -| - -$(OBJS)\scrollsub_scrollsub.obj: .\scrollsub.cpp - $(CXX) -q -c -P -o$@ $(SCROLLSUB_CXXFLAGS) .\scrollsub.cpp - -$(OBJS)\scrollsub_scrollsub.res: .\scrollsub.rc - brcc32 -32 -r -fo$@ -i$(BCCDIR)\include -d__WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) -i$(SETUPHDIR) -i.\..\..\include -i. $(__DLLFLAG_p_1) -i.\..\..\samples -dNOPCH .\scrollsub.rc - diff --git a/samples/scrollsub/makefile.gcc b/samples/scrollsub/makefile.gcc deleted file mode 100644 index b43bb574cf..0000000000 --- a/samples/scrollsub/makefile.gcc +++ /dev/null @@ -1,241 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.5 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -include ../../build/msw/config.gcc - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -CPPDEPS = -MT$@ -MF$@.d -MD -MP -WX_RELEASE_NODOT = 29 -COMPILER_PREFIX = gcc -OBJS = \ - $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) -SETUPHDIR = \ - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) -SCROLLSUB_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG) \ - $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \ - $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ - $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ - $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\..\include -W -Wall -I. \ - $(__DLLFLAG_p) -I.\..\..\samples -DNOPCH $(__RTTIFLAG_5) \ - $(__EXCEPTIONSFLAG_6) -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS) -SCROLLSUB_OBJECTS = \ - $(OBJS)\scrollsub_scrollsub.o \ - $(OBJS)\scrollsub_scrollsub_rc.o - -### Conditionally set variables: ### - -ifeq ($(GCC_VERSION),2.95) -GCCFLAGS = -fvtable-thunks -endif -ifeq ($(USE_GUI),0) -PORTNAME = base -endif -ifeq ($(USE_GUI),1) -PORTNAME = msw -endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_FLAG),default) -WXDEBUGFLAG = d -endif -endif -ifeq ($(DEBUG_FLAG),1) -WXDEBUGFLAG = d -endif -ifeq ($(UNICODE),1) -WXUNICODEFLAG = u -endif -ifeq ($(WXUNIV),1) -WXUNIVNAME = univ -endif -ifeq ($(SHARED),1) -WXDLLFLAG = dll -endif -ifeq ($(SHARED),0) -LIBTYPE_SUFFIX = lib -endif -ifeq ($(SHARED),1) -LIBTYPE_SUFFIX = dll -endif -ifeq ($(MONOLITHIC),0) -EXTRALIBS_FOR_BASE = -endif -ifeq ($(MONOLITHIC),1) -EXTRALIBS_FOR_BASE = -endif -ifeq ($(BUILD),debug) -__OPTIMIZEFLAG_2 = -O0 -endif -ifeq ($(BUILD),release) -__OPTIMIZEFLAG_2 = -O2 -endif -ifeq ($(USE_RTTI),0) -__RTTIFLAG_5 = -fno-rtti -endif -ifeq ($(USE_RTTI),1) -__RTTIFLAG_5 = -endif -ifeq ($(USE_EXCEPTIONS),0) -__EXCEPTIONSFLAG_6 = -fno-exceptions -endif -ifeq ($(USE_EXCEPTIONS),1) -__EXCEPTIONSFLAG_6 = -endif -ifeq ($(WXUNIV),1) -__WXUNIV_DEFINE_p = -D__WXUNIVERSAL__ -endif -ifeq ($(WXUNIV),1) -__WXUNIV_DEFINE_p_1 = --define __WXUNIVERSAL__ -endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_FLAG),default) -__DEBUG_DEFINE_p = -D__WXDEBUG__ -endif -endif -ifeq ($(DEBUG_FLAG),1) -__DEBUG_DEFINE_p = -D__WXDEBUG__ -endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_FLAG),default) -__DEBUG_DEFINE_p_1 = --define __WXDEBUG__ -endif -endif -ifeq ($(DEBUG_FLAG),1) -__DEBUG_DEFINE_p_1 = --define __WXDEBUG__ -endif -ifeq ($(USE_EXCEPTIONS),0) -__EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS -endif -ifeq ($(USE_EXCEPTIONS),0) -__EXCEPTIONS_DEFINE_p_1 = --define wxNO_EXCEPTIONS -endif -ifeq ($(USE_RTTI),0) -__RTTI_DEFINE_p = -DwxNO_RTTI -endif -ifeq ($(USE_RTTI),0) -__RTTI_DEFINE_p_1 = --define wxNO_RTTI -endif -ifeq ($(USE_THREADS),0) -__THREAD_DEFINE_p = -DwxNO_THREADS -endif -ifeq ($(USE_THREADS),0) -__THREAD_DEFINE_p_1 = --define wxNO_THREADS -endif -ifeq ($(UNICODE),0) -__UNICODE_DEFINE_p = -DwxUSE_UNICODE=0 -endif -ifeq ($(UNICODE),1) -__UNICODE_DEFINE_p = -D_UNICODE -endif -ifeq ($(UNICODE),0) -__UNICODE_DEFINE_p_1 = --define wxUSE_UNICODE=0 -endif -ifeq ($(UNICODE),1) -__UNICODE_DEFINE_p_1 = --define _UNICODE -endif -ifeq ($(MSLU),1) -__MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1 -endif -ifeq ($(MSLU),1) -__MSLU_DEFINE_p_1 = --define wxUSE_UNICODE_MSLU=1 -endif -ifeq ($(USE_GDIPLUS),1) -__GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1 -endif -ifeq ($(USE_GDIPLUS),1) -__GFXCTX_DEFINE_p_1 = --define wxUSE_GRAPHICS_CONTEXT=1 -endif -ifeq ($(SHARED),1) -__DLLFLAG_p = -DWXUSINGDLL -endif -ifeq ($(SHARED),1) -__DLLFLAG_p_1 = --define WXUSINGDLL -endif -ifeq ($(MONOLITHIC),0) -__WXLIB_CORE_p = \ - -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core -endif -ifeq ($(MONOLITHIC),0) -__WXLIB_BASE_p = \ - -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) -endif -ifeq ($(MONOLITHIC),1) -__WXLIB_MONO_p = \ - -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR) -endif -ifeq ($(USE_GUI),1) -__LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG) -endif -ifeq ($(USE_GUI),1) -__LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG) -endif -ifeq ($(USE_GUI),1) -__LIB_PNG_p = -lwxpng$(WXDEBUGFLAG) -endif -ifeq ($(MSLU),1) -__UNICOWS_LIB_p = -lunicows -endif -ifeq ($(USE_GDIPLUS),1) -__GDIPLUS_LIB_p = -lgdiplus -endif -ifeq ($(BUILD),debug) -ifeq ($(DEBUG_INFO),default) -__DEBUGINFO = -g -endif -endif -ifeq ($(BUILD),release) -ifeq ($(DEBUG_INFO),default) -__DEBUGINFO = -endif -endif -ifeq ($(DEBUG_INFO),0) -__DEBUGINFO = -endif -ifeq ($(DEBUG_INFO),1) -__DEBUGINFO = -g -endif -ifeq ($(USE_THREADS),0) -__THREADSFLAG = -endif -ifeq ($(USE_THREADS),1) -__THREADSFLAG = -mthreads -endif - - -all: $(OBJS) -$(OBJS): - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all: $(OBJS)\scrollsub.exe - -clean: - -if exist $(OBJS)\*.o del $(OBJS)\*.o - -if exist $(OBJS)\*.d del $(OBJS)\*.d - -if exist $(OBJS)\scrollsub.exe del $(OBJS)\scrollsub.exe - -$(OBJS)\scrollsub.exe: $(SCROLLSUB_OBJECTS) $(OBJS)\scrollsub_scrollsub_rc.o - $(CXX) -o $@ $(SCROLLSUB_OBJECTS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(LDFLAGS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 - -$(OBJS)\scrollsub_scrollsub.o: ./scrollsub.cpp - $(CXX) -c -o $@ $(SCROLLSUB_CXXFLAGS) $(CPPDEPS) $< - -$(OBJS)\scrollsub_scrollsub_rc.o: ./scrollsub.rc - windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) --include-dir $(SETUPHDIR) --include-dir ./../../include --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples --define NOPCH - -.PHONY: all clean - - -SHELL := $(COMSPEC) - -# Dependencies tracking: --include $(OBJS)/*.d diff --git a/samples/scrollsub/makefile.unx b/samples/scrollsub/makefile.unx deleted file mode 100644 index e4cf7ef497..0000000000 --- a/samples/scrollsub/makefile.unx +++ /dev/null @@ -1,110 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.5 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - - - -# ------------------------------------------------------------------------- -# These are configurable options: -# ------------------------------------------------------------------------- - -# C++ compiler -CXX = g++ - -# Standard flags for C++ -CXXFLAGS ?= - -# Standard preprocessor flags (common for CC and CXX) -CPPFLAGS ?= - -# Standard linker flags -LDFLAGS ?= - -# Location and arguments of wx-config script -WX_CONFIG ?= wx-config - -# Port of the wx library to build against [gtk1,gtk2,msw,x11,motif,mgl,mac,dfb] -WX_PORT ?= $(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 1) - -# Use DLL build of wx library to use? [0,1] -WX_SHARED ?= $(shell if test -z `$(WX_CONFIG) --selected-config | cut -d '-' -f 5`; then echo 1; else echo 0; fi) - -# Compile Unicode build of wxWidgets? [0,1] -WX_UNICODE ?= $(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 2 | sed 's/unicode/1/;s/ansi/0/') - -# Use debug build of wxWidgets (define __WXDEBUG__)? [0,1] -WX_DEBUG ?= $(shell $(WX_CONFIG) --selected-config | cut -d '-' -f 3 | sed 's/debug/1/;s/release/0/') - -# Version of the wx library to build against. -WX_VERSION ?= $(shell $(WX_CONFIG) --selected-config | sed -e 's/.*-\([0-9]*\)\.\([0-9]*\)$$/\1\2/') - - - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD -MP -WX_VERSION_MAJOR = $(shell echo $(WX_VERSION) | cut -c1,1) -WX_VERSION_MINOR = $(shell echo $(WX_VERSION) | cut -c2,2) -WX_CONFIG_FLAGS = $(WX_CONFIG_DEBUG_FLAG) $(WX_CONFIG_UNICODE_FLAG) \ - $(WX_CONFIG_SHARED_FLAG) --toolkit=$(WX_PORT) \ - --version=$(WX_VERSION_MAJOR).$(WX_VERSION_MINOR) -SCROLLSUB_CXXFLAGS = -I. `$(WX_CONFIG) --cxxflags $(WX_CONFIG_FLAGS)` \ - $(CPPFLAGS) $(CXXFLAGS) -SCROLLSUB_OBJECTS = \ - scrollsub_scrollsub.o - -### Conditionally set variables: ### - -ifeq ($(WX_DEBUG),0) -WX_CONFIG_DEBUG_FLAG = --debug=no -endif -ifeq ($(WX_DEBUG),1) -WX_CONFIG_DEBUG_FLAG = --debug=yes -endif -ifeq ($(WX_UNICODE),0) -WX_CONFIG_UNICODE_FLAG = --unicode=no -endif -ifeq ($(WX_UNICODE),1) -WX_CONFIG_UNICODE_FLAG = --unicode=yes -endif -ifeq ($(WX_SHARED),0) -WX_CONFIG_SHARED_FLAG = --static=yes -endif -ifeq ($(WX_SHARED),1) -WX_CONFIG_SHARED_FLAG = --static=no -endif - - -### Targets: ### - -all: test_for_selected_wxbuild scrollsub - -install: - -uninstall: - -clean: - rm -f ./*.o - rm -f ./*.d - rm -f scrollsub - -test_for_selected_wxbuild: - @$(WX_CONFIG) $(WX_CONFIG_FLAGS) - -scrollsub: $(SCROLLSUB_OBJECTS) - $(CXX) -o $@ $(SCROLLSUB_OBJECTS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base` $(LDFLAGS) - -scrollsub_scrollsub.o: ./scrollsub.cpp - $(CXX) -c -o $@ $(SCROLLSUB_CXXFLAGS) $(CPPDEPS) $< - -.PHONY: all install uninstall clean - - -# Dependencies tracking: --include ./*.d diff --git a/samples/scrollsub/makefile.vc b/samples/scrollsub/makefile.vc deleted file mode 100644 index 1dd1715d56..0000000000 --- a/samples/scrollsub/makefile.vc +++ /dev/null @@ -1,317 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.5 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -!include <../../build/msw/config.vc> - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -### Variables: ### - -WX_RELEASE_NODOT = 29 -COMPILER_PREFIX = vc -OBJS = \ - $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)$(DIR_SUFFIX_CPU) -LIBDIRNAME = \ - .\..\..\lib\$(COMPILER_PREFIX)$(DIR_SUFFIX_CPU)_$(LIBTYPE_SUFFIX)$(CFG) -SETUPHDIR = \ - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) -SCROLLSUB_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \ - $(__DEBUGINFO_0) /Fd$(OBJS)\scrollsub.pdb $(____DEBUGRUNTIME_2_p) \ - $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \ - $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \ - $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \ - $(__GFXCTX_DEFINE_p) /I$(SETUPHDIR) /I.\..\..\include /W4 /I. $(__DLLFLAG_p) \ - /D_WINDOWS /I.\..\..\samples /DNOPCH $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) \ - $(CPPFLAGS) $(CXXFLAGS) -SCROLLSUB_OBJECTS = \ - $(OBJS)\scrollsub_scrollsub.obj \ - $(OBJS)\scrollsub_scrollsub.res - -### Conditionally set variables: ### - -!if "$(USE_GUI)" == "0" -PORTNAME = base -!endif -!if "$(USE_GUI)" == "1" -PORTNAME = msw -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -WXDEBUGFLAG = d -!endif -!if "$(DEBUG_FLAG)" == "1" -WXDEBUGFLAG = d -!endif -!if "$(UNICODE)" == "1" -WXUNICODEFLAG = u -!endif -!if "$(WXUNIV)" == "1" -WXUNIVNAME = univ -!endif -!if "$(TARGET_CPU)" == "AMD64" -DIR_SUFFIX_CPU = _amd64 -!endif -!if "$(TARGET_CPU)" == "IA64" -DIR_SUFFIX_CPU = _ia64 -!endif -!if "$(TARGET_CPU)" == "amd64" -DIR_SUFFIX_CPU = _amd64 -!endif -!if "$(TARGET_CPU)" == "ia64" -DIR_SUFFIX_CPU = _ia64 -!endif -!if "$(SHARED)" == "1" -WXDLLFLAG = dll -!endif -!if "$(SHARED)" == "0" -LIBTYPE_SUFFIX = lib -!endif -!if "$(SHARED)" == "1" -LIBTYPE_SUFFIX = dll -!endif -!if "$(TARGET_CPU)" == "AMD64" -LINK_TARGET_CPU = /MACHINE:AMD64 -!endif -!if "$(TARGET_CPU)" == "IA64" -LINK_TARGET_CPU = /MACHINE:IA64 -!endif -!if "$(TARGET_CPU)" == "amd64" -LINK_TARGET_CPU = /MACHINE:AMD64 -!endif -!if "$(TARGET_CPU)" == "ia64" -LINK_TARGET_CPU = /MACHINE:IA64 -!endif -!if "$(MONOLITHIC)" == "0" -EXTRALIBS_FOR_BASE = -!endif -!if "$(MONOLITHIC)" == "1" -EXTRALIBS_FOR_BASE = -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_0 = /Zi -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_0 = -!endif -!if "$(DEBUG_INFO)" == "0" -__DEBUGINFO_0 = -!endif -!if "$(DEBUG_INFO)" == "1" -__DEBUGINFO_0 = /Zi -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_1 = /DEBUG -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default" -__DEBUGINFO_1 = -!endif -!if "$(DEBUG_INFO)" == "0" -__DEBUGINFO_1 = -!endif -!if "$(DEBUG_INFO)" == "1" -__DEBUGINFO_1 = /DEBUG -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" -____DEBUGRUNTIME_2_p = /D_DEBUG -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" -____DEBUGRUNTIME_2_p = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "0" -____DEBUGRUNTIME_2_p = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "1" -____DEBUGRUNTIME_2_p = /D_DEBUG -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" -____DEBUGRUNTIME_2_p_1 = /d _DEBUG -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" -____DEBUGRUNTIME_2_p_1 = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "0" -____DEBUGRUNTIME_2_p_1 = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "1" -____DEBUGRUNTIME_2_p_1 = /d _DEBUG -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default" -__DEBUGRUNTIME_3 = d -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default" -__DEBUGRUNTIME_3 = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "0" -__DEBUGRUNTIME_3 = -!endif -!if "$(DEBUG_RUNTIME_LIBS)" == "1" -__DEBUGRUNTIME_3 = d -!endif -!if "$(BUILD)" == "debug" -__OPTIMIZEFLAG_4 = /Od -!endif -!if "$(BUILD)" == "release" -__OPTIMIZEFLAG_4 = /O2 -!endif -!if "$(USE_THREADS)" == "0" -__THREADSFLAG_7 = L -!endif -!if "$(USE_THREADS)" == "1" -__THREADSFLAG_7 = T -!endif -!if "$(RUNTIME_LIBS)" == "dynamic" -__RUNTIME_LIBS_8 = D -!endif -!if "$(RUNTIME_LIBS)" == "static" -__RUNTIME_LIBS_8 = $(__THREADSFLAG_7) -!endif -!if "$(USE_RTTI)" == "0" -__RTTIFLAG_9 = -!endif -!if "$(USE_RTTI)" == "1" -__RTTIFLAG_9 = /GR -!endif -!if "$(USE_EXCEPTIONS)" == "0" -__EXCEPTIONSFLAG_10 = -!endif -!if "$(USE_EXCEPTIONS)" == "1" -__EXCEPTIONSFLAG_10 = /EHsc -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" -__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" -__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0" -__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ -!endif -!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1" -__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__ -!endif -!if "$(WXUNIV)" == "1" -__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__ -!endif -!if "$(WXUNIV)" == "1" -__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p = /D__WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p = /D__WXDEBUG__ -!endif -!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default" -__DEBUG_DEFINE_p_1 = /d __WXDEBUG__ -!endif -!if "$(DEBUG_FLAG)" == "1" -__DEBUG_DEFINE_p_1 = /d __WXDEBUG__ -!endif -!if "$(USE_EXCEPTIONS)" == "0" -__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS -!endif -!if "$(USE_EXCEPTIONS)" == "0" -__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS -!endif -!if "$(USE_RTTI)" == "0" -__RTTI_DEFINE_p = /DwxNO_RTTI -!endif -!if "$(USE_RTTI)" == "0" -__RTTI_DEFINE_p_1 = /d wxNO_RTTI -!endif -!if "$(USE_THREADS)" == "0" -__THREAD_DEFINE_p = /DwxNO_THREADS -!endif -!if "$(USE_THREADS)" == "0" -__THREAD_DEFINE_p_1 = /d wxNO_THREADS -!endif -!if "$(UNICODE)" == "0" -__UNICODE_DEFINE_p = /DwxUSE_UNICODE=0 -!endif -!if "$(UNICODE)" == "1" -__UNICODE_DEFINE_p = /D_UNICODE -!endif -!if "$(UNICODE)" == "0" -__UNICODE_DEFINE_p_1 = /d wxUSE_UNICODE=0 -!endif -!if "$(UNICODE)" == "1" -__UNICODE_DEFINE_p_1 = /d _UNICODE -!endif -!if "$(MSLU)" == "1" -__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1 -!endif -!if "$(MSLU)" == "1" -__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1 -!endif -!if "$(USE_GDIPLUS)" == "1" -__GFXCTX_DEFINE_p = /DwxUSE_GRAPHICS_CONTEXT=1 -!endif -!if "$(USE_GDIPLUS)" == "1" -__GFXCTX_DEFINE_p_1 = /d wxUSE_GRAPHICS_CONTEXT=1 -!endif -!if "$(SHARED)" == "1" -__DLLFLAG_p = /DWXUSINGDLL -!endif -!if "$(SHARED)" == "1" -__DLLFLAG_p_1 = /d WXUSINGDLL -!endif -!if "$(MONOLITHIC)" == "0" -__WXLIB_CORE_p = \ - wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib -!endif -!if "$(MONOLITHIC)" == "0" -__WXLIB_BASE_p = \ - wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib -!endif -!if "$(MONOLITHIC)" == "1" -__WXLIB_MONO_p = \ - wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib -!endif -!if "$(USE_GUI)" == "1" -__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib -!endif -!if "$(MSLU)" == "1" -__UNICOWS_LIB_p = unicows.lib -!endif -!if "$(USE_GDIPLUS)" == "1" -__GDIPLUS_LIB_p = gdiplus.lib -!endif - - -all: $(OBJS) -$(OBJS): - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all: $(OBJS)\scrollsub.exe - -clean: - -if exist $(OBJS)\*.obj del $(OBJS)\*.obj - -if exist $(OBJS)\*.res del $(OBJS)\*.res - -if exist $(OBJS)\*.pch del $(OBJS)\*.pch - -if exist $(OBJS)\scrollsub.exe del $(OBJS)\scrollsub.exe - -if exist $(OBJS)\scrollsub.ilk del $(OBJS)\scrollsub.ilk - -if exist $(OBJS)\scrollsub.pdb del $(OBJS)\scrollsub.pdb - -$(OBJS)\scrollsub.exe: $(SCROLLSUB_OBJECTS) $(OBJS)\scrollsub_scrollsub.res - link /NOLOGO /OUT:$@ $(__DEBUGINFO_1) /pdb:"$(OBJS)\scrollsub.pdb" $(LINK_TARGET_CPU) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS $(LDFLAGS) @<< - $(SCROLLSUB_OBJECTS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib -<< - -$(OBJS)\scrollsub_scrollsub.obj: .\scrollsub.cpp - $(CXX) /c /nologo /TP /Fo$@ $(SCROLLSUB_CXXFLAGS) .\scrollsub.cpp - -$(OBJS)\scrollsub_scrollsub.res: .\scrollsub.rc - rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) $(__GFXCTX_DEFINE_p_1) /i $(SETUPHDIR) /i .\..\..\include /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH .\scrollsub.rc - diff --git a/samples/scrollsub/makefile.wat b/samples/scrollsub/makefile.wat deleted file mode 100644 index f9cae0e280..0000000000 --- a/samples/scrollsub/makefile.wat +++ /dev/null @@ -1,266 +0,0 @@ -# ========================================================================= -# This makefile was generated by -# Bakefile 0.2.5 (http://www.bakefile.org) -# Do not modify, all changes will be overwritten! -# ========================================================================= - -!include ../../build/msw/config.wat - -# ------------------------------------------------------------------------- -# Do not modify the rest of this file! -# ------------------------------------------------------------------------- - -# Speed up compilation a bit: -!ifdef __LOADDLL__ -! loaddll wcc wccd -! loaddll wccaxp wccdaxp -! loaddll wcc386 wccd386 -! loaddll wpp wppdi86 -! loaddll wppaxp wppdaxp -! loaddll wpp386 wppd386 -! loaddll wlink wlink -! loaddll wlib wlibd -!endif - -# We need these variables in some bakefile-made rules: -WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- - -### Conditionally set variables: ### - -PORTNAME = -!ifeq USE_GUI 0 -PORTNAME = base -!endif -!ifeq USE_GUI 1 -PORTNAME = msw -!endif -WXDEBUGFLAG = -!ifeq BUILD debug -!ifeq DEBUG_FLAG default -WXDEBUGFLAG = d -!endif -!endif -!ifeq DEBUG_FLAG 1 -WXDEBUGFLAG = d -!endif -WXUNICODEFLAG = -!ifeq UNICODE 1 -WXUNICODEFLAG = u -!endif -WXUNIVNAME = -!ifeq WXUNIV 1 -WXUNIVNAME = univ -!endif -WXDLLFLAG = -!ifeq SHARED 1 -WXDLLFLAG = dll -!endif -LIBTYPE_SUFFIX = -!ifeq SHARED 0 -LIBTYPE_SUFFIX = lib -!endif -!ifeq SHARED 1 -LIBTYPE_SUFFIX = dll -!endif -EXTRALIBS_FOR_BASE = -!ifeq MONOLITHIC 0 -EXTRALIBS_FOR_BASE = -!endif -!ifeq MONOLITHIC 1 -EXTRALIBS_FOR_BASE = -!endif -__DEBUGINFO_0 = -!ifeq BUILD debug -!ifeq DEBUG_INFO default -__DEBUGINFO_0 = -d2 -!endif -!endif -!ifeq BUILD release -!ifeq DEBUG_INFO default -__DEBUGINFO_0 = -d0 -!endif -!endif -!ifeq DEBUG_INFO 0 -__DEBUGINFO_0 = -d0 -!endif -!ifeq DEBUG_INFO 1 -__DEBUGINFO_0 = -d2 -!endif -__DEBUGINFO_1 = -!ifeq BUILD debug -!ifeq DEBUG_INFO default -__DEBUGINFO_1 = debug all -!endif -!endif -!ifeq BUILD release -!ifeq DEBUG_INFO default -__DEBUGINFO_1 = -!endif -!endif -!ifeq DEBUG_INFO 0 -__DEBUGINFO_1 = -!endif -!ifeq DEBUG_INFO 1 -__DEBUGINFO_1 = debug all -!endif -__OPTIMIZEFLAG_2 = -!ifeq BUILD debug -__OPTIMIZEFLAG_2 = -od -!endif -!ifeq BUILD release -__OPTIMIZEFLAG_2 = -ot -ox -!endif -__THREADSFLAG_5 = -!ifeq USE_THREADS 0 -__THREADSFLAG_5 = -!endif -!ifeq USE_THREADS 1 -__THREADSFLAG_5 = -bm -!endif -__RUNTIME_LIBS_6 = -!ifeq RUNTIME_LIBS dynamic -__RUNTIME_LIBS_6 = -br -!endif -!ifeq RUNTIME_LIBS static -__RUNTIME_LIBS_6 = -!endif -__RTTIFLAG_7 = -!ifeq USE_RTTI 0 -__RTTIFLAG_7 = -!endif -!ifeq USE_RTTI 1 -__RTTIFLAG_7 = -xr -!endif -__EXCEPTIONSFLAG_8 = -!ifeq USE_EXCEPTIONS 0 -__EXCEPTIONSFLAG_8 = -!endif -!ifeq USE_EXCEPTIONS 1 -__EXCEPTIONSFLAG_8 = -xs -!endif -__WXLIB_CORE_p = -!ifeq MONOLITHIC 0 -__WXLIB_CORE_p = & - wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib -!endif -__WXLIB_BASE_p = -!ifeq MONOLITHIC 0 -__WXLIB_BASE_p = & - wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib -!endif -__WXLIB_MONO_p = -!ifeq MONOLITHIC 1 -__WXLIB_MONO_p = & - wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib -!endif -__LIB_TIFF_p = -!ifeq USE_GUI 1 -__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib -!endif -__LIB_JPEG_p = -!ifeq USE_GUI 1 -__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib -!endif -__LIB_PNG_p = -!ifeq USE_GUI 1 -__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib -!endif -__GDIPLUS_LIB_p = -!ifeq USE_GDIPLUS 1 -__GDIPLUS_LIB_p = gdiplus.lib -!endif -__WXUNIV_DEFINE_p = -!ifeq WXUNIV 1 -__WXUNIV_DEFINE_p = -d__WXUNIVERSAL__ -!endif -__DEBUG_DEFINE_p = -!ifeq BUILD debug -!ifeq DEBUG_FLAG default -__DEBUG_DEFINE_p = -d__WXDEBUG__ -!endif -!endif -!ifeq DEBUG_FLAG 1 -__DEBUG_DEFINE_p = -d__WXDEBUG__ -!endif -__EXCEPTIONS_DEFINE_p = -!ifeq USE_EXCEPTIONS 0 -__EXCEPTIONS_DEFINE_p = -dwxNO_EXCEPTIONS -!endif -__RTTI_DEFINE_p = -!ifeq USE_RTTI 0 -__RTTI_DEFINE_p = -dwxNO_RTTI -!endif -__THREAD_DEFINE_p = -!ifeq USE_THREADS 0 -__THREAD_DEFINE_p = -dwxNO_THREADS -!endif -__UNICODE_DEFINE_p = -!ifeq UNICODE 0 -__UNICODE_DEFINE_p = -dwxUSE_UNICODE=0 -!endif -!ifeq UNICODE 1 -__UNICODE_DEFINE_p = -d_UNICODE -!endif -__GFXCTX_DEFINE_p = -!ifeq USE_GDIPLUS 1 -__GFXCTX_DEFINE_p = -dwxUSE_GRAPHICS_CONTEXT=1 -!endif -__DLLFLAG_p = -!ifeq SHARED 1 -__DLLFLAG_p = -dWXUSINGDLL -!endif - -### Variables: ### - -WX_RELEASE_NODOT = 29 -COMPILER_PREFIX = wat -OBJS = & - $(COMPILER_PREFIX)_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) -LIBDIRNAME = .\..\..\lib\$(COMPILER_PREFIX)_$(LIBTYPE_SUFFIX)$(CFG) -SETUPHDIR = & - $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG) -SCROLLSUB_CXXFLAGS = $(__DEBUGINFO_0) $(__OPTIMIZEFLAG_2) $(__THREADSFLAG_5) & - $(__RUNTIME_LIBS_6) -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) & - $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) & - $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) & - -i=.\..\..\include -wx -wcd=549 -wcd=656 -wcd=657 -wcd=667 -i=. $(__DLLFLAG_p) & - -i=.\..\..\samples -dNOPCH $(__RTTIFLAG_7) $(__EXCEPTIONSFLAG_8) $(CPPFLAGS) & - $(CXXFLAGS) -SCROLLSUB_OBJECTS = & - $(OBJS)\scrollsub_scrollsub.obj - - -all : $(OBJS) -$(OBJS) : - -if not exist $(OBJS) mkdir $(OBJS) - -### Targets: ### - -all : .SYMBOLIC $(OBJS)\scrollsub.exe - -clean : .SYMBOLIC - -if exist $(OBJS)\*.obj del $(OBJS)\*.obj - -if exist $(OBJS)\*.res del $(OBJS)\*.res - -if exist $(OBJS)\*.lbc del $(OBJS)\*.lbc - -if exist $(OBJS)\*.ilk del $(OBJS)\*.ilk - -if exist $(OBJS)\*.pch del $(OBJS)\*.pch - -if exist $(OBJS)\scrollsub.exe del $(OBJS)\scrollsub.exe - -$(OBJS)\scrollsub.exe : $(SCROLLSUB_OBJECTS) $(OBJS)\scrollsub_scrollsub.res - @%create $(OBJS)\scrollsub.lbc - @%append $(OBJS)\scrollsub.lbc option quiet - @%append $(OBJS)\scrollsub.lbc name $^@ - @%append $(OBJS)\scrollsub.lbc option caseexact - @%append $(OBJS)\scrollsub.lbc $(__DEBUGINFO_1) libpath $(LIBDIRNAME) system nt_win ref '_WinMain@16' $(LDFLAGS) - @for %i in ($(SCROLLSUB_OBJECTS)) do @%append $(OBJS)\scrollsub.lbc file %i - @for %i in ( $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__GDIPLUS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib) do @%append $(OBJS)\scrollsub.lbc library %i - @%append $(OBJS)\scrollsub.lbc option resource=$(OBJS)\scrollsub_scrollsub.res - @for %i in () do @%append $(OBJS)\scrollsub.lbc option stack=%i - wlink @$(OBJS)\scrollsub.lbc - -$(OBJS)\scrollsub_scrollsub.obj : .AUTODEPEND .\scrollsub.cpp - $(CXX) -bt=nt -zq -fo=$^@ $(SCROLLSUB_CXXFLAGS) $< - -$(OBJS)\scrollsub_scrollsub.res : .AUTODEPEND .\scrollsub.rc - wrc -q -ad -bt=nt -r -fo=$^@ -d__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__GFXCTX_DEFINE_p) -i=$(SETUPHDIR) -i=.\..\..\include -i=. $(__DLLFLAG_p) -i=.\..\..\samples -dNOPCH $< - diff --git a/samples/scrollsub/scrollsub.bkl b/samples/scrollsub/scrollsub.bkl deleted file mode 100644 index 021cdf5112..0000000000 --- a/samples/scrollsub/scrollsub.bkl +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - scrollsub.cpp - core - base - scrollsub.rc - - - diff --git a/samples/scrollsub/scrollsub.cpp b/samples/scrollsub/scrollsub.cpp deleted file mode 100644 index d1f400d426..0000000000 --- a/samples/scrollsub/scrollsub.cpp +++ /dev/null @@ -1,471 +0,0 @@ -/* - * Program: scrollsub - * - * Author: Robert Roebling - * - * Copyright: (C) 1999, Robert Roebling - * - */ - -// For compilers that support precompilation, includes "wx/wx.h". -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ -#pragma hdrstop -#endif - -#ifndef WX_PRECOMP -#include "wx/wx.h" -#endif - -#include "wx/image.h" -#include "wx/listctrl.h" -#include "wx/sizer.h" -#include "wx/log.h" - - -// derived classes - -class MyFrame; -class MyScrolledWindow; -class MyCanvas; -class MyApp; - -// MyScrolledWindow - -class MyScrolledWindow: public wxScrolledWindow -{ -public: - MyScrolledWindow() {} - MyScrolledWindow( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size ); - - void OnPaint( wxPaintEvent &event ); - void OnSize( wxSizeEvent &event ); - -protected: - virtual wxSize GetSizeAvailableForScrollTarget(const wxSize& size); - -private: - MyCanvas *m_canvas; - - DECLARE_DYNAMIC_CLASS(MyScrolledWindow) - DECLARE_EVENT_TABLE() -}; - -// MyTopLabels - -class MyTopLabels: public wxWindow -{ -public: - MyTopLabels() {} - MyTopLabels( wxScrolledWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size ); - - void OnPaint( wxPaintEvent &event ); - -private: - wxScrolledWindow *m_owner; - - DECLARE_DYNAMIC_CLASS(MyTopLabels) - DECLARE_EVENT_TABLE() -}; - -// MyRightLabels - -class MyRightLabels: public wxWindow -{ -public: - MyRightLabels() {} - MyRightLabels( wxScrolledWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size ); - - void OnPaint( wxPaintEvent &event ); - -private: - wxScrolledWindow *m_owner; - - DECLARE_DYNAMIC_CLASS(MyRightLabels) - DECLARE_EVENT_TABLE() -}; - -// MyCanvas - -class MyCanvas: public wxPanel -{ -public: - MyCanvas(){}; - MyCanvas( wxScrolledWindow *parent, MyTopLabels *top, MyRightLabels *right, - wxWindowID id, const wxPoint &pos, const wxSize &size ); - ~MyCanvas(){}; - void OnPaint( wxPaintEvent &event ); - void ScrollWindow( int dx, int dy, const wxRect *rect ); - -private: - wxScrolledWindow *m_owner; - MyTopLabels *m_topLabels; - MyRightLabels *m_rightLabels; - - DECLARE_DYNAMIC_CLASS(MyCanvas) - DECLARE_EVENT_TABLE() -}; - -// MyFrame - -class MyFrame: public wxFrame -{ -public: - MyFrame(); - - void OnAbout( wxCommandEvent &event ); - void OnQuit( wxCommandEvent &event ); - void OnFullScreen( wxCommandEvent &event ); - - wxScrolledWindow *m_scrolled; -#if wxUSE_LOG - wxTextCtrl *m_log; -#endif // wxUSE_LOG - -private: - DECLARE_DYNAMIC_CLASS(MyFrame) - DECLARE_EVENT_TABLE() -}; - -// MyApp - -class MyApp: public wxApp -{ -public: - virtual bool OnInit(); -}; - -// main program - -IMPLEMENT_APP(MyApp) - -// MyScrolledWindow - -IMPLEMENT_DYNAMIC_CLASS(MyScrolledWindow, wxScrolledWindow) - -BEGIN_EVENT_TABLE(MyScrolledWindow, wxScrolledWindow) - EVT_PAINT( MyScrolledWindow::OnPaint) - EVT_SIZE( MyScrolledWindow::OnSize) -END_EVENT_TABLE() - -MyScrolledWindow::MyScrolledWindow( wxWindow *parent, wxWindowID id, - const wxPoint &pos, const wxSize &size ) - : wxScrolledWindow( parent, id, pos, size, wxSUNKEN_BORDER, _T("test canvas") ) -{ - MyTopLabels *top = new MyTopLabels( this, wxID_ANY, wxDefaultPosition, wxSize(wxDefaultCoord,25) ); - MyRightLabels *right = new MyRightLabels( this, wxID_ANY, wxDefaultPosition, wxSize(60,wxDefaultCoord) ); - - m_canvas = new MyCanvas( this, top, right, wxID_ANY, wxDefaultPosition, wxDefaultSize ); - - SetTargetWindow( m_canvas ); - - SetBackgroundColour( wxT("WHEAT") ); - - SetCursor( wxCursor( wxCURSOR_HAND ) ); - - wxBoxSizer *mainsizer = new wxBoxSizer( wxVERTICAL ); - - wxBoxSizer *topsizer = new wxBoxSizer( wxHORIZONTAL ); - topsizer->Add( 60,25 ); - topsizer->Add( top, 1, wxEXPAND ); - - mainsizer->Add( topsizer, 0, wxEXPAND ); - - wxBoxSizer *middlesizer = new wxBoxSizer( wxHORIZONTAL ); - middlesizer->Add( right, 0, wxEXPAND ); - middlesizer->Add( m_canvas, 1, wxEXPAND ); - - mainsizer->Add( middlesizer, 1, wxEXPAND ); - - SetSizer( mainsizer ); -} - -wxSize MyScrolledWindow::GetSizeAvailableForScrollTarget(const wxSize& size) -{ - // decrease the total size by the size of the non-scrollable parts above/to - // the left of the canvas - wxSize sizeCanvas(size); - sizeCanvas.x -= 60; - sizeCanvas.y -= 25; - return sizeCanvas; -} - -void MyScrolledWindow::OnSize( wxSizeEvent &WXUNUSED(event) ) -{ - // We need to override OnSize so that our scrolled - // window a) does call Layout() to use sizers for - // positioning the controls but b) does not query - // the sizer for their size and use that for setting - // the scrollable area as set that ourselves by - // calling SetScrollbar() further down. - - Layout(); - - AdjustScrollbars(); -} - -void MyScrolledWindow::OnPaint( wxPaintEvent &WXUNUSED(event) ) -{ - wxPaintDC dc( this ); - -/* - wxSize size( GetClientSize() ); - - long w,h; - dc.GetTextExtent( wxT("Headline"), &w, &h ); - - dc.DrawText( wxT("Headline"), long (size.x / 2 - w / 2), 10 ); -*/ -} - -// MyTopLabels - -IMPLEMENT_DYNAMIC_CLASS(MyTopLabels,wxWindow) - -BEGIN_EVENT_TABLE(MyTopLabels, wxWindow) - EVT_PAINT( MyTopLabels::OnPaint) -END_EVENT_TABLE() - -MyTopLabels::MyTopLabels( wxScrolledWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size ) - : wxWindow( parent, id, pos, size ) -{ - m_owner = parent; -} - -void MyTopLabels::OnPaint( wxPaintEvent& WXUNUSED(event) ) -{ - wxPaintDC dc(this); - - // This is wrong.. it will translate both x and y if the - // window is scrolled, the label windows are active in one - // direction only. Do the action below instead -- RL. - //m_owner->PrepareDC( dc ); - - int xScrollUnits, xOrigin; - - m_owner->GetViewStart( &xOrigin, 0 ); - m_owner->GetScrollPixelsPerUnit( &xScrollUnits, 0 ); - dc.SetDeviceOrigin( -xOrigin * xScrollUnits, 0 ); - - dc.DrawText( _T("Column 1"), 5, 5 ); - dc.DrawText( _T("Column 2"), 105, 5 ); - dc.DrawText( _T("Column 3"), 205, 5 ); -} - -// MyRightLabels - -IMPLEMENT_DYNAMIC_CLASS(MyRightLabels,wxWindow) - -BEGIN_EVENT_TABLE(MyRightLabels, wxWindow) - EVT_PAINT( MyRightLabels::OnPaint) -END_EVENT_TABLE() - -MyRightLabels::MyRightLabels( wxScrolledWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size ) - : wxWindow( parent, id, pos, size ) -{ - m_owner = parent; -} - -void MyRightLabels::OnPaint( wxPaintEvent& WXUNUSED(event) ) -{ - wxPaintDC dc(this); - - // This is wrong.. it will translate both x and y if the - // window is scrolled, the label windows are active in one - // direction only. Do the action below instead -- RL. - //m_owner->PrepareDC( dc ); - - int yScrollUnits, yOrigin; - - m_owner->GetViewStart( 0, &yOrigin ); - m_owner->GetScrollPixelsPerUnit( 0, &yScrollUnits ); - dc.SetDeviceOrigin( 0, -yOrigin * yScrollUnits ); - - dc.DrawText( _T("Row 1"), 5, 5 ); - dc.DrawText( _T("Row 2"), 5, 30 ); - dc.DrawText( _T("Row 3"), 5, 55 ); - dc.DrawText( _T("Row 4"), 5, 80 ); - dc.DrawText( _T("Row 5"), 5, 105 ); - dc.DrawText( _T("Row 6"), 5, 130 ); -} - -// MyCanvas - -IMPLEMENT_DYNAMIC_CLASS(MyCanvas, wxPanel) - -BEGIN_EVENT_TABLE(MyCanvas, wxPanel) - EVT_PAINT( MyCanvas::OnPaint) -END_EVENT_TABLE() - -MyCanvas::MyCanvas( wxScrolledWindow *parent, MyTopLabels *top, MyRightLabels *right, - wxWindowID id, const wxPoint &pos, const wxSize &size ) - : wxPanel( parent, id, pos, size, wxSUNKEN_BORDER, _T("test canvas") ) -{ - m_owner = parent; - m_topLabels = top; - m_rightLabels = right; - - (void)new wxButton( this, wxID_ANY, _T("Hallo I"), wxPoint(0,50), wxSize(100,25) ); - (void)new wxButton( this, wxID_ANY, _T("Hallo II"), wxPoint(200,50), wxSize(100,25) ); - - (void)new wxTextCtrl( this, wxID_ANY, _T("Text I"), wxPoint(0,100), wxSize(100,25) ); - (void)new wxTextCtrl( this, wxID_ANY, _T("Text II"), wxPoint(200,100), wxSize(100,25) ); - - (void)new wxComboBox( this, wxID_ANY, _T("ComboBox I"), wxPoint(0,150), wxSize(100,25)); - (void)new wxComboBox( this, wxID_ANY, _T("ComboBox II"), wxPoint(200,150), wxSize(100,25)); - - SetBackgroundColour( wxT("WHEAT") ); - - SetCursor( wxCursor( wxCURSOR_IBEAM ) ); -} - -void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) ) -{ - wxPaintDC dc( this ); - m_owner->PrepareDC( dc ); - - dc.SetPen( *wxBLACK_PEN ); - - // OK, let's assume we are a grid control and we have two - // grid cells. Here in OnPaint we want to know which cell - // to redraw so that we prevent redrawing cells that don't - // need to get redrawn. We have one cell at (0,0) and one - // more at (200,0), both having a size of (100,25). - - // We can query how much the window has been scrolled - // by calling CalcUnscrolledPosition() - - int scroll_x = 0; - int scroll_y = 0; - m_owner->CalcUnscrolledPosition( scroll_x, scroll_y, &scroll_x, &scroll_y ); - - // We also need to know the size of the window to see which - // cells are completely hidden and not get redrawn - - int size_x = 0; - int size_y = 0; - GetClientSize( &size_x, &size_y ); - - // First cell: (0,0)(100,25) - // It it on screen? - if ((0+100-scroll_x > 0) && (0+25-scroll_y > 0) && - (0-scroll_x < size_x) && (0-scroll_y < size_y)) - { - // Has the region on screen been exposed? - if (IsExposed(0,0,100,25)) - { - wxLogMessage( wxT("Redraw first cell") ); - dc.DrawRectangle( 0, 0, 100, 25 ); - dc.DrawText( _T("First Cell"), 5, 5 ); - } - } - - - // Second cell: (0,200)(100,25) - // It it on screen? - if ((200+100-scroll_x > 0) && (0+25-scroll_y > 0) && - (200-scroll_x < size_x) && (0-scroll_y < size_y)) - { - // Has the region on screen been exposed? - if (IsExposed(200,0,100,25)) - { - wxLogMessage( wxT("Redraw second cell") ); - dc.DrawRectangle( 200, 0, 100, 25 ); - dc.DrawText( _T("Second Cell"), 205, 5 ); - } - } - -} - -void MyCanvas::ScrollWindow( int dx, int dy, const wxRect *rect ) -{ - wxPanel::ScrollWindow( dx, dy, rect ); - m_topLabels->ScrollWindow( dx, 0, rect ); - m_rightLabels->ScrollWindow( 0, dy, rect ); -} - -// MyFrame - -const int ID_QUIT = wxID_EXIT; -const int ID_FULL = 109; -const int ID_ABOUT = wxID_ABOUT; - -IMPLEMENT_DYNAMIC_CLASS( MyFrame, wxFrame ) - -BEGIN_EVENT_TABLE(MyFrame,wxFrame) - EVT_MENU (ID_ABOUT, MyFrame::OnAbout) - EVT_MENU (ID_QUIT, MyFrame::OnQuit) - EVT_MENU (ID_FULL, MyFrame::OnFullScreen) -END_EVENT_TABLE() - -MyFrame::MyFrame() - : wxFrame( (wxFrame *)NULL, wxID_ANY, _T("wxScrolledWindow sample"), - wxPoint(20,20), wxSize(470,500) ) -{ - wxMenu *file_menu = new wxMenu(); - file_menu->Append( ID_ABOUT, _T("&About...")); - file_menu->Append( ID_FULL, _T("&Full screen on/off")); - file_menu->Append( ID_QUIT, _T("E&xit\tAlt-X")); - - wxMenuBar *menu_bar = new wxMenuBar(); - menu_bar->Append(file_menu, _T("&File")); - - SetMenuBar( menu_bar ); - -#if wxUSE_STATUSBAR - CreateStatusBar(2); - int widths[] = { -1, 100 }; - SetStatusWidths( 2, widths ); -#endif // wxUSE_STATUSBAR - - m_scrolled = new MyScrolledWindow( this, wxID_ANY, wxDefaultPosition, wxSize(100,100) ); - m_scrolled->SetScrollbars( 10, 10, 50, 50 ); - -#if wxUSE_LOG - m_log = new wxTextCtrl( this, wxID_ANY, _T("This is the log window.\n"), wxPoint(0,0), wxSize(100,100), wxTE_MULTILINE ); - wxLog *old_log = wxLog::SetActiveTarget( new wxLogTextCtrl( m_log ) ); - delete old_log; -#endif // wxUSE_LOG - - wxBoxSizer *topsizer = new wxBoxSizer( wxVERTICAL ); - topsizer->Add( m_scrolled, 1, wxEXPAND ); -#if wxUSE_LOG - topsizer->Add( m_log, 0, wxEXPAND ); -#endif // wxUSE_LOG - - SetSizer( topsizer ); -} - -void MyFrame::OnQuit( wxCommandEvent &WXUNUSED(event) ) -{ - Close( true ); -} - -void MyFrame::OnFullScreen( wxCommandEvent &WXUNUSED(event) ) -{ - ShowFullScreen( !IsFullScreen(), wxFULLSCREEN_NOBORDER|wxFULLSCREEN_NOCAPTION ); -} - -void MyFrame::OnAbout( wxCommandEvent &WXUNUSED(event) ) -{ - (void)wxMessageBox( _T("wxScroll demo II\n") - _T("Robert Roebling (c) 1998"), - _T("About wxScroll II Demo"), wxICON_INFORMATION | wxOK ); -} - -//----------------------------------------------------------------------------- -// MyApp -//----------------------------------------------------------------------------- - -bool MyApp::OnInit() -{ - if ( !wxApp::OnInit() ) - return false; - - wxFrame *frame = new MyFrame(); - frame->Show( true ); - - return true; -} - diff --git a/samples/scrollsub/scrollsub.dsp b/samples/scrollsub/scrollsub.dsp deleted file mode 100644 index d3be5ca8e0..0000000000 --- a/samples/scrollsub/scrollsub.dsp +++ /dev/null @@ -1,264 +0,0 @@ -# Microsoft Developer Studio Project File - Name="scrollsub" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Application" 0x0101 - -CFG=scrollsub - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "scrollsub.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "scrollsub.mak" CFG="scrollsub - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "scrollsub - Win32 DLL Universal Release" (based on "Win32 (x86) Application") -!MESSAGE "scrollsub - Win32 DLL Universal Debug" (based on "Win32 (x86) Application") -!MESSAGE "scrollsub - Win32 DLL Release" (based on "Win32 (x86) Application") -!MESSAGE "scrollsub - Win32 DLL Debug" (based on "Win32 (x86) Application") -!MESSAGE "scrollsub - Win32 Universal Release" (based on "Win32 (x86) Application") -!MESSAGE "scrollsub - Win32 Universal Debug" (based on "Win32 (x86) Application") -!MESSAGE "scrollsub - Win32 Release" (based on "Win32 (x86) Application") -!MESSAGE "scrollsub - Win32 Debug" (based on "Win32 (x86) Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -MTL=midl.exe -RSC=rc.exe - -!IF "$(CFG)" == "scrollsub - Win32 DLL Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivudll" -# PROP BASE Intermediate_Dir "vc_mswunivudll\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivudll" -# PROP Intermediate_Dir "vc_mswunivudll\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MD /Zi /Fdvc_mswunivudll\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MD /Zi /Fdvc_mswunivudll\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivudll\scrollsub.exe" /debug /pdb:"vc_mswunivudll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows -# ADD LINK32 wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivudll\scrollsub.exe" /debug /pdb:"vc_mswunivudll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows - -!ELSEIF "$(CFG)" == "scrollsub - Win32 DLL Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivuddll" -# PROP BASE Intermediate_Dir "vc_mswunivuddll\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivuddll" -# PROP Intermediate_Dir "vc_mswunivuddll\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MDd /Zi /Fdvc_mswunivuddll\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MDd /Zi /Fdvc_mswunivuddll\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_dll\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswunivud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\scrollsub.exe" /debug /pdb:"vc_mswunivuddll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows -# ADD LINK32 wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivuddll\scrollsub.exe" /debug /pdb:"vc_mswunivuddll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows - -!ELSEIF "$(CFG)" == "scrollsub - Win32 DLL Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswudll" -# PROP BASE Intermediate_Dir "vc_mswudll\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswudll" -# PROP Intermediate_Dir "vc_mswudll\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MD /Zi /Fdvc_mswudll\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MD /Zi /Fdvc_mswudll\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_dll\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswu" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswudll\scrollsub.exe" /debug /pdb:"vc_mswudll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows -# ADD LINK32 wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswudll\scrollsub.exe" /debug /pdb:"vc_mswudll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows - -!ELSEIF "$(CFG)" == "scrollsub - Win32 DLL Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswuddll" -# PROP BASE Intermediate_Dir "vc_mswuddll\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswuddll" -# PROP Intermediate_Dir "vc_mswuddll\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MDd /Zi /Fdvc_mswuddll\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MDd /Zi /Fdvc_mswuddll\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_dll\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "WXUSINGDLL" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_dll\mswud" /i ".\..\..\include" /i "." /d "WXUSINGDLL" /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswuddll\scrollsub.exe" /debug /pdb:"vc_mswuddll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows -# ADD LINK32 wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswuddll\scrollsub.exe" /debug /pdb:"vc_mswuddll\scrollsub.pdb" /libpath:".\..\..\lib\vc_dll" /subsystem:windows - -!ELSEIF "$(CFG)" == "scrollsub - Win32 Universal Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivu" -# PROP BASE Intermediate_Dir "vc_mswunivu\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivu" -# PROP Intermediate_Dir "vc_mswunivu\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MD /Zi /Fdvc_mswunivu\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MD /Zi /Fdvc_mswunivu\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivu\scrollsub.exe" /debug /pdb:"vc_mswunivu\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows -# ADD LINK32 wxmswuniv29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivu\scrollsub.exe" /debug /pdb:"vc_mswunivu\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows - -!ELSEIF "$(CFG)" == "scrollsub - Win32 Universal Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswunivud" -# PROP BASE Intermediate_Dir "vc_mswunivud\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswunivud" -# PROP Intermediate_Dir "vc_mswunivud\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MDd /Zi /Fdvc_mswunivud\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MDd /Zi /Fdvc_mswunivud\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_lib\mswunivud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXUNIVERSAL__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXUNIVERSAL__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswunivud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivud\scrollsub.exe" /debug /pdb:"vc_mswunivud\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows -# ADD LINK32 wxmswuniv29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswunivud\scrollsub.exe" /debug /pdb:"vc_mswunivud\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows - -!ELSEIF "$(CFG)" == "scrollsub - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswu" -# PROP BASE Intermediate_Dir "vc_mswu\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswu" -# PROP Intermediate_Dir "vc_mswu\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MD /Zi /Fdvc_mswu\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MD /Zi /Fdvc_mswu\scrollsub.pdb /O2 /GR /EHsc /I ".\..\..\lib\vc_lib\mswu" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "__WXMSW__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "__WXMSW__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswu" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswu\scrollsub.exe" /debug /pdb:"vc_mswu\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows -# ADD LINK32 wxmsw29u_core.lib wxbase29u.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregexu.lib wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswu\scrollsub.exe" /debug /pdb:"vc_mswu\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows - -!ELSEIF "$(CFG)" == "scrollsub - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "vc_mswud" -# PROP BASE Intermediate_Dir "vc_mswud\scrollsub" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "vc_mswud" -# PROP Intermediate_Dir "vc_mswud\scrollsub" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /FD /MDd /Zi /Fdvc_mswud\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD CPP /nologo /FD /MDd /Zi /Fdvc_mswud\scrollsub.pdb /Od /Gm /GR /EHsc /I ".\..\..\lib\vc_lib\mswud" /I ".\..\..\include" /W4 /I "." /I ".\..\..\samples" /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /c -# ADD BASE MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD MTL /nologo /D "WIN32" /D "_DEBUG" /D "__WXMSW__" /D "__WXDEBUG__" /D "_UNICODE" /D "_WINDOWS" /D "NOPCH" /mktyplib203 /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -# ADD RSC /l 0x409 /d "_DEBUG" /d "__WXMSW__" /d "__WXDEBUG__" /d "_UNICODE" /i ".\..\..\lib\vc_lib\mswud" /i ".\..\..\include" /i "." /d "_WINDOWS" /i ".\..\..\samples" /d NOPCH -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswud\scrollsub.exe" /debug /pdb:"vc_mswud\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows -# ADD LINK32 wxmsw29ud_core.lib wxbase29ud.lib wxtiffd.lib wxjpegd.lib wxpngd.lib wxzlibd.lib wxregexud.lib wxexpatd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib /nologo /machine:i386 /out:"vc_mswud\scrollsub.exe" /debug /pdb:"vc_mswud\scrollsub.pdb" /libpath:".\..\..\lib\vc_lib" /subsystem:windows - -!ENDIF - -# Begin Target - -# Name "scrollsub - Win32 DLL Universal Release" -# Name "scrollsub - Win32 DLL Universal Debug" -# Name "scrollsub - Win32 DLL Release" -# Name "scrollsub - Win32 DLL Debug" -# Name "scrollsub - Win32 Universal Release" -# Name "scrollsub - Win32 Universal Debug" -# Name "scrollsub - Win32 Release" -# Name "scrollsub - Win32 Debug" -# Begin Group "Source Files" - -# PROP Default_Filter "" -# Begin Source File - -SOURCE=.\scrollsub.cpp -# End Source File -# Begin Source File - -SOURCE=.\scrollsub.rc -# End Source File -# End Group -# End Target -# End Project - diff --git a/samples/scrollsub/scrollsub.rc b/samples/scrollsub/scrollsub.rc deleted file mode 100644 index 82bdf07561..0000000000 --- a/samples/scrollsub/scrollsub.rc +++ /dev/null @@ -1,2 +0,0 @@ -#include "wx/msw/wx.rc" - diff --git a/samples/scrollsub/scrollsubM5.xml b/samples/scrollsub/scrollsubM5.xml deleted file mode 100644 index ff2f50cf7a..0000000000 --- a/samples/scrollsub/scrollsubM5.xml +++ /dev/null @@ -1,3685 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - Classic Release - - - - UserSourceTrees - - - CustomColor1 - Red0 - Green32767 - Blue0 - - CustomColor2 - Red0 - Green32767 - Blue0 - - CustomColor3 - Red0 - Green32767 - Blue0 - - CustomColor4 - Red0 - Green32767 - Blue0 - - - - AlwaysSearchUserPathstrue - InterpretDOSAndUnixPathstrue - UserSearchPaths - - SearchPath - Path: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:::include: - PathFormatMacOS - PathRootProject - - Recursivefalse - HostFlagsAll - - - SearchPath - Path:::lib: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SystemSearchPaths - - SearchPath - PathMSL - PathFormatWindows - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:MacOS Support: - PathFormatMacOS - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - - - LinkerMacOS PPC Linker - PreLinker - PostLinker - TargetnameClassic Release - OutputDirectory - Path: - PathFormatMacOS - PathRootProject - - SaveEntriesUsingRelativePathsfalse - - - FileMappings - - FileTypeAPPL - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeAppl - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeMMLB - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMPLF - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMWCD - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeRSRC - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c++ - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cc - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cpp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.exp - Compiler - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.h - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMaketrue - - - FileTypeTEXT - FileExtension.pch - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.pch++ - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.r - CompilerRez - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeXCOF - FileExtension - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypedocu - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypersrc - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeshlb - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypestub - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.doc - Compiler - Precompilefalse - Launchabletrue - ResourceFilefalse - IgnoredByMaketrue - - - FileExtension.o - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.ppob - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileExtension.rsrc - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - - - CacheModDatestrue - ActivateBrowsertrue - DumpBrowserInfofalse - CacheSubprojectstrue - UseThirdPartyDebuggerfalse - DebuggerCommandLine - Debugger Runtime - 0002000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000 - - - - LogSystemMessagestrue - AutoTargetDLLsfalse - StopAtWatchpointstrue - PauseWhileRunningfalse - PauseInterval5 - PauseUIFlags0 - AltExePath - Path - PathFormatGeneric - PathRootAbsolute - - StopAtTempBPOnLaunchtrue - CacheSymbolicstrue - TempBPFunctionNamemain - TempBPTypefalse - - - MWFrontEnd_C_cplusplus0 - MWFrontEnd_C_checkprotos0 - MWFrontEnd_C_arm0 - MWFrontEnd_C_trigraphs0 - MWFrontEnd_C_onlystdkeywords0 - MWFrontEnd_C_enumsalwaysint0 - MWFrontEnd_C_mpwpointerstyle1 - MWFrontEnd_C_prefixname/wx/wx_cw.h - MWFrontEnd_C_ansistrict0 - MWFrontEnd_C_mpwcnewline1 - MWFrontEnd_C_wchar_type1 - MWFrontEnd_C_enableexceptions1 - MWFrontEnd_C_dontreusestrings0 - MWFrontEnd_C_poolstrings0 - MWFrontEnd_C_dontinline0 - MWFrontEnd_C_useRTTI1 - MWFrontEnd_C_multibyteaware0 - MWFrontEnd_C_unsignedchars1 - MWFrontEnd_C_autoinline0 - MWFrontEnd_C_booltruefalse1 - MWFrontEnd_C_direct_to_som0 - MWFrontEnd_C_som_env_check0 - MWFrontEnd_C_alwaysinline0 - MWFrontEnd_C_inlinelevel0 - MWFrontEnd_C_ecplusplus0 - MWFrontEnd_C_objective_c0 - MWFrontEnd_C_defer_codegen0 - - - MWWarning_C_warn_illpragma0 - MWWarning_C_warn_emptydecl0 - MWWarning_C_warn_possunwant0 - MWWarning_C_warn_unusedvar0 - MWWarning_C_warn_unusedarg0 - MWWarning_C_warn_extracomma0 - MWWarning_C_pedantic0 - MWWarning_C_warningerrors0 - MWWarning_C_warn_hidevirtual0 - MWWarning_C_warn_implicitconv0 - MWWarning_C_warn_notinlined0 - MWWarning_C_warn_structclass0 - - - MWMerge_MacOS_projectTypeApplication - MWMerge_MacOS_outputNameMerge Out - MWMerge_MacOS_outputCreator1061109567 - MWMerge_MacOS_outputType1095782476 - MWMerge_MacOS_suppressWarning0 - MWMerge_MacOS_copyFragments1 - MWMerge_MacOS_copyResources1 - MWMerge_MacOS_skipResources - - ”è0 - =ÃH - =Ø: - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesNone - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfilescrollsub Classic Release - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - wx_PPC.lib - MacOS - Library - Debug - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - MSL C.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - wx_PPC.rsrc - MacOS - Resource - - - - Name - tiff.lib - MacOS - Library - - - - Name - jpeg.lib - MacOS - Library - - - - Name - png.lib - MacOS - Library - - - - Name - zlib.lib - MacOS - Library - - - - Name - scrollsub.cpp - MacOS - Text - - - - Name - AppearanceLib - MacOS - Library - - - - Name - ATSUnicodeLib - MacOS - Library - - - - Name - CarbonAccessors.o - MacOS - Library - - - - Name - ControlsLib - MacOS - Library - - - - Name - CursorDevicesGlue.o - MacOS - Library - - - - Name - DialogsLib - MacOS - Library - - - - Name - DragLib - MacOS - Library - - - - Name - InterfaceLib - MacOS - Library - - - - Name - InternetConfigLib - MacOS - Library - - - - Name - WindowsLib - MacOS - Library - - - - Name - MathLib - MacOS - Library - - - - Name - MenusLib - MacOS - Library - - - - Name - NavigationLib - MacOS - Library - - - - Name - OpenTptAppleTalkLib - MacOS - Library - - - - Name - OpenTptATalkPPC.o - MacOS - Library - - - - Name - OpenTptInetPPC.o - MacOS - Library - - - - Name - OpenTptInternetLib - MacOS - Library - - - - Name - OpenTransportLib - MacOS - Library - - - - Name - OpenTransportAppPPC.o - MacOS - Library - - - - Name - PLStringFuncsPPC.lib - MacOS - Library - - - - Name - TextEncodingConverter - MacOS - Library - - - - Name - Textension - MacOS - Library - - - - Name - ThreadsLib - MacOS - Library - - - - Name - UnicodeConverter - MacOS - Library - - - - - - Name - wx_PPC.lib - MacOS - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - MSL C.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - wx_PPC.rsrc - MacOS - - - Name - tiff.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - png.lib - MacOS - - - Name - zlib.lib - MacOS - - - Name - scrollsub.cpp - MacOS - - - Name - AppearanceLib - MacOS - - - Name - ATSUnicodeLib - MacOS - - - Name - CarbonAccessors.o - MacOS - - - Name - ControlsLib - MacOS - - - Name - CursorDevicesGlue.o - MacOS - - - Name - DialogsLib - MacOS - - - Name - DragLib - MacOS - - - Name - InterfaceLib - MacOS - - - Name - InternetConfigLib - MacOS - - - Name - WindowsLib - MacOS - - - Name - MathLib - MacOS - - - Name - MenusLib - MacOS - - - Name - NavigationLib - MacOS - - - Name - OpenTptAppleTalkLib - MacOS - - - Name - OpenTptATalkPPC.o - MacOS - - - Name - OpenTptInetPPC.o - MacOS - - - Name - OpenTptInternetLib - MacOS - - - Name - OpenTransportLib - MacOS - - - Name - OpenTransportAppPPC.o - MacOS - - - Name - PLStringFuncsPPC.lib - MacOS - - - Name - TextEncodingConverter - MacOS - - - Name - Textension - MacOS - - - Name - ThreadsLib - MacOS - - - Name - UnicodeConverter - MacOS - - - - - Classic Debug - - - - UserSourceTrees - - - CustomColor1 - Red0 - Green32767 - Blue0 - - CustomColor2 - Red0 - Green32767 - Blue0 - - CustomColor3 - Red0 - Green32767 - Blue0 - - CustomColor4 - Red0 - Green32767 - Blue0 - - - - AlwaysSearchUserPathstrue - InterpretDOSAndUnixPathstrue - UserSearchPaths - - SearchPath - Path: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:::include: - PathFormatMacOS - PathRootProject - - Recursivefalse - HostFlagsAll - - - SearchPath - Path:::lib: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SystemSearchPaths - - SearchPath - PathMSL - PathFormatWindows - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:MacOS Support: - PathFormatMacOS - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - - - LinkerMacOS PPC Linker - PreLinker - PostLinker - TargetnameClassic Debug - OutputDirectory - Path: - PathFormatMacOS - PathRootProject - - SaveEntriesUsingRelativePathsfalse - - - FileMappings - - FileTypeAPPL - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeAppl - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeMMLB - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMPLF - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMWCD - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeRSRC - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c++ - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cc - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cpp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.exp - Compiler - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.h - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMaketrue - - - FileTypeTEXT - FileExtension.pch - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.pch++ - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.r - CompilerRez - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeXCOF - FileExtension - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypedocu - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypersrc - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeshlb - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypestub - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.doc - Compiler - Precompilefalse - Launchabletrue - ResourceFilefalse - IgnoredByMaketrue - - - FileExtension.o - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.ppob - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileExtension.rsrc - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - - - CacheModDatestrue - ActivateBrowsertrue - DumpBrowserInfofalse - CacheSubprojectstrue - UseThirdPartyDebuggerfalse - DebuggerCommandLine - Debugger Runtime - 0002000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000E2D755010000000000001000E2D7E60 - 0002000000000000000000000E2D2DD000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000 - - - - LogSystemMessagestrue - AutoTargetDLLsfalse - StopAtWatchpointstrue - PauseWhileRunningfalse - PauseInterval5 - PauseUIFlags0 - AltExePath - Path - PathFormatGeneric - PathRootAbsolute - - StopAtTempBPOnLaunchtrue - CacheSymbolicstrue - TempBPFunctionNamemain - TempBPTypefalse - - - MWFrontEnd_C_cplusplus0 - MWFrontEnd_C_checkprotos0 - MWFrontEnd_C_arm0 - MWFrontEnd_C_trigraphs0 - MWFrontEnd_C_onlystdkeywords0 - MWFrontEnd_C_enumsalwaysint0 - MWFrontEnd_C_mpwpointerstyle0 - MWFrontEnd_C_prefixname/wx/wx_cw_d.h - MWFrontEnd_C_ansistrict0 - MWFrontEnd_C_mpwcnewline1 - MWFrontEnd_C_wchar_type1 - MWFrontEnd_C_enableexceptions1 - MWFrontEnd_C_dontreusestrings0 - MWFrontEnd_C_poolstrings0 - MWFrontEnd_C_dontinline0 - MWFrontEnd_C_useRTTI1 - MWFrontEnd_C_multibyteaware0 - MWFrontEnd_C_unsignedchars1 - MWFrontEnd_C_autoinline0 - MWFrontEnd_C_booltruefalse1 - MWFrontEnd_C_direct_to_som0 - MWFrontEnd_C_som_env_check0 - MWFrontEnd_C_alwaysinline0 - MWFrontEnd_C_inlinelevel0 - MWFrontEnd_C_ecplusplus0 - MWFrontEnd_C_objective_c0 - MWFrontEnd_C_defer_codegen0 - - - MWWarning_C_warn_illpragma1 - MWWarning_C_warn_emptydecl1 - MWWarning_C_warn_possunwant1 - MWWarning_C_warn_unusedvar0 - MWWarning_C_warn_unusedarg0 - MWWarning_C_warn_extracomma0 - MWWarning_C_pedantic1 - MWWarning_C_warningerrors0 - MWWarning_C_warn_hidevirtual1 - MWWarning_C_warn_implicitconv1 - MWWarning_C_warn_notinlined1 - MWWarning_C_warn_structclass1 - - - MWMerge_MacOS_projectTypeApplication - MWMerge_MacOS_outputNameMerge Out - MWMerge_MacOS_outputCreator1061109567 - MWMerge_MacOS_outputType1095782476 - MWMerge_MacOS_suppressWarning0 - MWMerge_MacOS_copyFragments1 - MWMerge_MacOS_copyResources1 - MWMerge_MacOS_skipResources - - ”è0 - =ÃH - =Ø: - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesInline - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfilescrollsub Classic Debug - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - MSL C.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - Debug - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - wx_PPC_d.lib - MacOS - Library - Debug - - - Name - wx_PPC.rsrc - MacOS - Resource - Debug - - - Name - zlib.lib - MacOS - Library - Debug - - - Name - png.lib - MacOS - Library - Debug - - - Name - tiffd.lib - MacOS - Library - Debug - - - Name - jpeg.lib - MacOS - Library - Debug - - - Name - scrollsub.cpp - MacOS - Text - Debug - - - Name - AppearanceLib - MacOS - Library - Debug - - - Name - ATSUnicodeLib - MacOS - Library - Debug - - - Name - CarbonAccessors.o - MacOS - Library - Debug - - - Name - ControlsLib - MacOS - Library - Debug - - - Name - CursorDevicesGlue.o - MacOS - Library - Debug - - - Name - DialogsLib - MacOS - Library - Debug - - - Name - DragLib - MacOS - Library - Debug - - - Name - InterfaceLib - MacOS - Library - Debug - - - Name - InternetConfigLib - MacOS - Library - Debug - - - Name - WindowsLib - MacOS - Library - Debug - - - Name - MathLib - MacOS - Library - Debug - - - Name - MenusLib - MacOS - Library - Debug - - - Name - NavigationLib - MacOS - Library - Debug - - - Name - OpenTptAppleTalkLib - MacOS - Library - Debug - - - Name - OpenTptATalkPPC.o - MacOS - Library - Debug - - - Name - OpenTptInetPPC.o - MacOS - Library - Debug - - - Name - OpenTptInternetLib - MacOS - Library - Debug - - - Name - OpenTransportLib - MacOS - Library - Debug - - - Name - OpenTransportAppPPC.o - MacOS - Library - Debug - - - Name - PLStringFuncsPPC.lib - MacOS - Library - Debug - - - Name - TextEncodingConverter - MacOS - Library - Debug - - - Name - Textension - MacOS - Library - Debug - - - Name - ThreadsLib - MacOS - Library - Debug - - - Name - UnicodeConverter - MacOS - Library - Debug - - - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - MSL C.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - wx_PPC_d.lib - MacOS - - - Name - wx_PPC.rsrc - MacOS - - - Name - zlib.lib - MacOS - - - Name - png.lib - MacOS - - - Name - tiffd.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - scrollsub.cpp - MacOS - - - Name - AppearanceLib - MacOS - - - Name - ATSUnicodeLib - MacOS - - - Name - CarbonAccessors.o - MacOS - - - Name - ControlsLib - MacOS - - - Name - CursorDevicesGlue.o - MacOS - - - Name - DialogsLib - MacOS - - - Name - DragLib - MacOS - - - Name - InterfaceLib - MacOS - - - Name - InternetConfigLib - MacOS - - - Name - WindowsLib - MacOS - - - Name - MathLib - MacOS - - - Name - MenusLib - MacOS - - - Name - NavigationLib - MacOS - - - Name - OpenTptAppleTalkLib - MacOS - - - Name - OpenTptATalkPPC.o - MacOS - - - Name - OpenTptInetPPC.o - MacOS - - - Name - OpenTptInternetLib - MacOS - - - Name - OpenTransportLib - MacOS - - - Name - OpenTransportAppPPC.o - MacOS - - - Name - PLStringFuncsPPC.lib - MacOS - - - Name - TextEncodingConverter - MacOS - - - Name - Textension - MacOS - - - Name - ThreadsLib - MacOS - - - Name - UnicodeConverter - MacOS - - - - - Carbon Debug - - - - UserSourceTrees - - - CustomColor1 - Red0 - Green32767 - Blue0 - - CustomColor2 - Red0 - Green32767 - Blue0 - - CustomColor3 - Red0 - Green32767 - Blue0 - - CustomColor4 - Red0 - Green32767 - Blue0 - - - - AlwaysSearchUserPathstrue - InterpretDOSAndUnixPathstrue - UserSearchPaths - - SearchPath - Path: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:::include: - PathFormatMacOS - PathRootProject - - Recursivefalse - HostFlagsAll - - - SearchPath - Path:::lib: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SystemSearchPaths - - SearchPath - PathMSL - PathFormatWindows - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:MacOS Support: - PathFormatMacOS - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - - - LinkerMacOS PPC Linker - PreLinker - PostLinker - TargetnameCarbon Debug - OutputDirectory - Path: - PathFormatMacOS - PathRootProject - - SaveEntriesUsingRelativePathsfalse - - - FileMappings - - FileTypeAPPL - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeAppl - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeMMLB - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMPLF - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMWCD - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeRSRC - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c++ - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cc - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cpp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.exp - Compiler - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.h - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMaketrue - - - FileTypeTEXT - FileExtension.pch - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.pch++ - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.r - CompilerRez - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeXCOF - FileExtension - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypedocu - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypersrc - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeshlb - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypestub - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.doc - Compiler - Precompilefalse - Launchabletrue - ResourceFilefalse - IgnoredByMaketrue - - - FileExtension.o - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.ppob - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileExtension.rsrc - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - - - CacheModDatestrue - ActivateBrowsertrue - DumpBrowserInfofalse - CacheSubprojectstrue - UseThirdPartyDebuggerfalse - DebuggerCommandLine - Debugger Runtime - 0002000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000 - - - - LogSystemMessagestrue - AutoTargetDLLsfalse - StopAtWatchpointstrue - PauseWhileRunningfalse - PauseInterval5 - PauseUIFlags0 - AltExePath - Path - PathFormatGeneric - PathRootAbsolute - - StopAtTempBPOnLaunchtrue - CacheSymbolicstrue - TempBPFunctionNamemain - TempBPTypefalse - - - MWFrontEnd_C_cplusplus0 - MWFrontEnd_C_checkprotos0 - MWFrontEnd_C_arm0 - MWFrontEnd_C_trigraphs0 - MWFrontEnd_C_onlystdkeywords0 - MWFrontEnd_C_enumsalwaysint0 - MWFrontEnd_C_mpwpointerstyle0 - MWFrontEnd_C_prefixname/wx/wx_cwc_d.h - MWFrontEnd_C_ansistrict0 - MWFrontEnd_C_mpwcnewline1 - MWFrontEnd_C_wchar_type1 - MWFrontEnd_C_enableexceptions1 - MWFrontEnd_C_dontreusestrings0 - MWFrontEnd_C_poolstrings0 - MWFrontEnd_C_dontinline0 - MWFrontEnd_C_useRTTI1 - MWFrontEnd_C_multibyteaware0 - MWFrontEnd_C_unsignedchars1 - MWFrontEnd_C_autoinline0 - MWFrontEnd_C_booltruefalse1 - MWFrontEnd_C_direct_to_som0 - MWFrontEnd_C_som_env_check0 - MWFrontEnd_C_alwaysinline0 - MWFrontEnd_C_inlinelevel0 - MWFrontEnd_C_ecplusplus0 - MWFrontEnd_C_objective_c0 - MWFrontEnd_C_defer_codegen0 - - - MWWarning_C_warn_illpragma1 - MWWarning_C_warn_emptydecl1 - MWWarning_C_warn_possunwant1 - MWWarning_C_warn_unusedvar0 - MWWarning_C_warn_unusedarg0 - MWWarning_C_warn_extracomma0 - MWWarning_C_pedantic1 - MWWarning_C_warningerrors0 - MWWarning_C_warn_hidevirtual1 - MWWarning_C_warn_implicitconv1 - MWWarning_C_warn_notinlined1 - MWWarning_C_warn_structclass1 - - - MWMerge_MacOS_projectTypeApplication - MWMerge_MacOS_outputNameMerge Out - MWMerge_MacOS_outputCreator1061109567 - MWMerge_MacOS_outputType1095782476 - MWMerge_MacOS_suppressWarning0 - MWMerge_MacOS_copyFragments1 - MWMerge_MacOS_copyResources1 - MWMerge_MacOS_skipResources - - ”è0 - =ÃH - =Ø: - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesInline - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfilescrollsub Carbon Debug - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - Debug - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - wx_CARBON_d.lib - MacOS - Library - Debug - - - Name - MSL C.CARBON.Lib - MacOS - Library - Debug - - - Name - wx_CARBON.rsrc - MacOS - Resource - Debug - - - Name - tiffd.lib - MacOS - Library - Debug - - - Name - jpeg.lib - MacOS - Library - Debug - - - Name - png.lib - MacOS - Library - Debug - - - Name - zlib.lib - MacOS - Library - Debug - - - Name - scrollsub.cpp - MacOS - Text - Debug - - - Name - CarbonLib - MacOS - Library - Debug - - - Name - CarbonFrameworkLib - MacOS - Library - Debug - - - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - wx_CARBON_d.lib - MacOS - - - Name - MSL C.CARBON.Lib - MacOS - - - Name - wx_CARBON.rsrc - MacOS - - - Name - tiffd.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - png.lib - MacOS - - - Name - zlib.lib - MacOS - - - Name - scrollsub.cpp - MacOS - - - Name - CarbonLib - MacOS - - - Name - CarbonFrameworkLib - MacOS - - - - - Carbon Release - - - - UserSourceTrees - - - CustomColor1 - Red0 - Green32767 - Blue0 - - CustomColor2 - Red0 - Green32767 - Blue0 - - CustomColor3 - Red0 - Green32767 - Blue0 - - CustomColor4 - Red0 - Green32767 - Blue0 - - - - AlwaysSearchUserPathstrue - InterpretDOSAndUnixPathstrue - UserSearchPaths - - SearchPath - Path: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:::include: - PathFormatMacOS - PathRootProject - - Recursivefalse - HostFlagsAll - - - SearchPath - Path:::lib: - PathFormatMacOS - PathRootProject - - Recursivetrue - HostFlagsAll - - - SystemSearchPaths - - SearchPath - PathMSL - PathFormatWindows - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - SearchPath - Path:MacOS Support: - PathFormatMacOS - PathRootCodeWarrior - - Recursivetrue - HostFlagsAll - - - - - LinkerMacOS PPC Linker - PreLinker - PostLinker - TargetnameCarbon Release - OutputDirectory - Path: - PathFormatMacOS - PathRootProject - - SaveEntriesUsingRelativePathsfalse - - - FileMappings - - FileTypeAPPL - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeAppl - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeMMLB - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMPLF - FileExtension - CompilerLib Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeMWCD - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeRSRC - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.c++ - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cc - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.cpp - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.exp - Compiler - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.h - CompilerMW C/C++ PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMaketrue - - - FileTypeTEXT - FileExtension.pch - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.pch++ - CompilerMW C/C++ PPC - Precompiletrue - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeTEXT - FileExtension.r - CompilerRez - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypeXCOF - FileExtension - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypedocu - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypersrc - FileExtension - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileTypeshlb - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileTypestub - FileExtension - CompilerPEF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.doc - Compiler - Precompilefalse - Launchabletrue - ResourceFilefalse - IgnoredByMaketrue - - - FileExtension.o - CompilerXCOFF Import PPC - Precompilefalse - Launchablefalse - ResourceFilefalse - IgnoredByMakefalse - - - FileExtension.ppob - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - FileExtension.rsrc - Compiler - Precompilefalse - Launchabletrue - ResourceFiletrue - IgnoredByMakefalse - - - - - CacheModDatestrue - ActivateBrowsertrue - DumpBrowserInfofalse - CacheSubprojectstrue - UseThirdPartyDebuggerfalse - DebuggerCommandLine - Debugger Runtime - 0002000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000000000000000000000000000 - - - - LogSystemMessagestrue - AutoTargetDLLsfalse - StopAtWatchpointstrue - PauseWhileRunningfalse - PauseInterval5 - PauseUIFlags0 - AltExePath - Path - PathFormatGeneric - PathRootAbsolute - - StopAtTempBPOnLaunchtrue - CacheSymbolicstrue - TempBPFunctionNamemain - TempBPTypefalse - - - MWFrontEnd_C_cplusplus0 - MWFrontEnd_C_checkprotos0 - MWFrontEnd_C_arm0 - MWFrontEnd_C_trigraphs0 - MWFrontEnd_C_onlystdkeywords0 - MWFrontEnd_C_enumsalwaysint0 - MWFrontEnd_C_mpwpointerstyle1 - MWFrontEnd_C_prefixname/wx/wx_cwc.h - MWFrontEnd_C_ansistrict0 - MWFrontEnd_C_mpwcnewline1 - MWFrontEnd_C_wchar_type1 - MWFrontEnd_C_enableexceptions1 - MWFrontEnd_C_dontreusestrings0 - MWFrontEnd_C_poolstrings0 - MWFrontEnd_C_dontinline0 - MWFrontEnd_C_useRTTI1 - MWFrontEnd_C_multibyteaware0 - MWFrontEnd_C_unsignedchars1 - MWFrontEnd_C_autoinline0 - MWFrontEnd_C_booltruefalse1 - MWFrontEnd_C_direct_to_som0 - MWFrontEnd_C_som_env_check0 - MWFrontEnd_C_alwaysinline0 - MWFrontEnd_C_inlinelevel0 - MWFrontEnd_C_ecplusplus0 - MWFrontEnd_C_objective_c0 - MWFrontEnd_C_defer_codegen0 - - - MWWarning_C_warn_illpragma0 - MWWarning_C_warn_emptydecl0 - MWWarning_C_warn_possunwant0 - MWWarning_C_warn_unusedvar0 - MWWarning_C_warn_unusedarg0 - MWWarning_C_warn_extracomma0 - MWWarning_C_pedantic0 - MWWarning_C_warningerrors0 - MWWarning_C_warn_hidevirtual0 - MWWarning_C_warn_implicitconv0 - MWWarning_C_warn_notinlined0 - MWWarning_C_warn_structclass0 - - - MWMerge_MacOS_projectTypeApplication - MWMerge_MacOS_outputNameMerge Out - MWMerge_MacOS_outputCreator1061109567 - MWMerge_MacOS_outputType1095782476 - MWMerge_MacOS_suppressWarning0 - MWMerge_MacOS_copyFragments1 - MWMerge_MacOS_copyResources1 - MWMerge_MacOS_skipResources - - ”è0 - =ÃH - =Ø: - - - - MWCodeGen_PPC_structalignmentPPC - MWCodeGen_PPC_tracebacktablesNone - MWCodeGen_PPC_processorGeneric - MWCodeGen_PPC_readonlystrings0 - MWCodeGen_PPC_tocdata1 - MWCodeGen_PPC_profiler0 - MWCodeGen_PPC_fpcontract1 - MWCodeGen_PPC_schedule0 - MWCodeGen_PPC_peephole1 - MWCodeGen_PPC_processorspecific0 - MWCodeGen_PPC_altivec0 - MWCodeGen_PPC_vectortocdata0 - MWCodeGen_PPC_vrsave0 - - - MWDisassembler_PPC_showcode1 - MWDisassembler_PPC_extended1 - MWDisassembler_PPC_mix0 - MWDisassembler_PPC_nohex0 - MWDisassembler_PPC_showdata1 - MWDisassembler_PPC_showexceptions1 - MWDisassembler_PPC_showsym0 - MWDisassembler_PPC_shownames1 - - - GlobalOptimizer_PPC_optimizationlevelLevel0 - GlobalOptimizer_PPC_optforSpeed - - - MWLinker_PPC_linksym1 - MWLinker_PPC_symfullpath1 - MWLinker_PPC_linkmap0 - MWLinker_PPC_nolinkwarnings0 - MWLinker_PPC_dontdeadstripinitcode0 - MWLinker_PPC_permitmultdefs0 - MWLinker_PPC_linkmodeFast - MWLinker_PPC_initname - MWLinker_PPC_mainname__start - MWLinker_PPC_termname - PPC Mach-O CodeGen - 0001000001010000010000000001010101000000 - - PPC Mach-O Linker - 0001000000000100000100000000000000000000000000000000000000007374 - 6172740000000000000000000000000000000000000000000000000000000000 - 000000000000000000000000000000000000000000000000000000000000 - - PPC Mach-O Target - 0001000005612E6F757400000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 000000003F3F3F3F4D41504C0000004000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 0000000000000000000000000000000000000000000000000000000000000000 - 00000000 - - - - MWPEF_exportsNone - MWPEF_libfolder0 - MWPEF_sortcodeNone - MWPEF_expandbss0 - MWPEF_sharedata0 - MWPEF_olddefversion0 - MWPEF_oldimpversion0 - MWPEF_currentversion0 - MWPEF_fragmentname - MWPEF_collapsereloads0 - - - MWProject_PPC_typeApplication - MWProject_PPC_outfilescrollsub Carbon Release - MWProject_PPC_filecreator1061109567 - MWProject_PPC_filetype1095782476 - MWProject_PPC_size3840 - MWProject_PPC_minsize3840 - MWProject_PPC_stacksize64 - MWProject_PPC_flags22720 - MWProject_PPC_symfilename - MWProject_PPC_rsrcname - MWProject_PPC_rsrcheaderNative - MWProject_PPC_rsrctype1061109567 - MWProject_PPC_rsrcid0 - MWProject_PPC_rsrcflags0 - MWProject_PPC_rsrcstore0 - MWProject_PPC_rsrcmerge0 - - - MWAssembler_PPC_auxheader0 - MWAssembler_PPC_symmodeMac - MWAssembler_PPC_dialectPPC - MWAssembler_PPC_prefixfile - MWAssembler_PPC_typecheck0 - MWAssembler_PPC_warnings0 - MWAssembler_PPC_casesensitive0 - - - MWRez_Language_maxwidth80 - MWRez_Language_scriptRoman - MWRez_Language_alignmentAlign1 - MWRez_Language_filtermodeFilterSkip - MWRez_Language_suppresswarnings0 - MWRez_Language_escapecontrolchars1 - MWRez_Language_prefixname - MWRez_Language_filteredtypes'CODE' 'DATA' 'PICT' - - - - Name - MSL C++.PPC.Lib - MacOS - Library - Debug - - - Name - console.stubs.c - MacOS - Text - - - - Name - MSL RuntimePPC.Lib - MacOS - Library - Debug - - - Name - MSL C.CARBON.Lib - MacOS - Library - - - - Name - wx_CARBON.lib - MacOS - Library - - - - Name - wx_CARBON.rsrc - MacOS - Resource - - - - Name - tiff.lib - MacOS - Library - - - - Name - jpeg.lib - MacOS - Library - - - - Name - scrollsub.cpp - MacOS - Text - - - - Name - zlib.lib - MacOS - Library - - - - Name - png.lib - MacOS - Library - - - - Name - CarbonLib - MacOS - Library - - - - Name - CarbonFrameworkLib - MacOS - Library - - - - - - Name - MSL C++.PPC.Lib - MacOS - - - Name - console.stubs.c - MacOS - - - Name - MSL RuntimePPC.Lib - MacOS - - - Name - MSL C.CARBON.Lib - MacOS - - - Name - wx_CARBON.lib - MacOS - - - Name - wx_CARBON.rsrc - MacOS - - - Name - tiff.lib - MacOS - - - Name - jpeg.lib - MacOS - - - Name - scrollsub.cpp - MacOS - - - Name - zlib.lib - MacOS - - - Name - png.lib - MacOS - - - Name - CarbonLib - MacOS - - - Name - CarbonFrameworkLib - MacOS - - - - - - - Classic Release - Classic Debug - Carbon Debug - Carbon Release - - - - - Classic Release - Name - scrollsub.cpp - MacOS - - wx - - Carbon Release - Name - wx_CARBON.lib - MacOS - - - Carbon Debug - Name - wx_CARBON_d.lib - MacOS - - - Carbon Debug - Name - wx_CARBON.rsrc - MacOS - - - Classic Release - Name - wx_PPC.lib - MacOS - - - Classic Debug - Name - wx_PPC_d.lib - MacOS - - - Classic Release - Name - wx_PPC.rsrc - MacOS - - - Classic Release - Name - tiff.lib - MacOS - - - Classic Release - Name - zlib.lib - MacOS - - - Classic Release - Name - png.lib - MacOS - - - Classic Debug - Name - tiffd.lib - MacOS - - - Classic Release - Name - jpeg.lib - MacOS - - - MSL ANSI Libraries - - Classic Release - Name - console.stubs.c - MacOS - - - Classic Release - Name - MSL RuntimePPC.Lib - MacOS - - - Classic Release - Name - MSL C++.PPC.Lib - MacOS - - - Classic Release - Name - MSL C.PPC.Lib - MacOS - - - Carbon Debug - Name - MSL C.CARBON.Lib - MacOS - - - Win32 SDK - - MacOS - Carbon - - Carbon Debug - Name - CarbonLib - MacOS - - - Carbon Debug - Name - CarbonFrameworkLib - MacOS - - - Classic - - Classic Release - Name - AppearanceLib - MacOS - - - Classic Release - Name - ATSUnicodeLib - MacOS - - - Classic Release - Name - CarbonAccessors.o - MacOS - - - Classic Release - Name - ControlsLib - MacOS - - - Classic Release - Name - CursorDevicesGlue.o - MacOS - - - Classic Release - Name - DialogsLib - MacOS - - - Classic Release - Name - DragLib - MacOS - - - Classic Release - Name - InterfaceLib - MacOS - - - Classic Release - Name - InternetConfigLib - MacOS - - - Classic Release - Name - WindowsLib - MacOS - - - Classic Release - Name - MathLib - MacOS - - - Classic Release - Name - MenusLib - MacOS - - - Classic Release - Name - NavigationLib - MacOS - - - Classic Release - Name - OpenTptAppleTalkLib - MacOS - - - Classic Release - Name - OpenTptATalkPPC.o - MacOS - - - Classic Release - Name - OpenTptInetPPC.o - MacOS - - - Classic Release - Name - OpenTptInternetLib - MacOS - - - Classic Release - Name - OpenTransportLib - MacOS - - - Classic Release - Name - OpenTransportAppPPC.o - MacOS - - - Classic Release - Name - PLStringFuncsPPC.lib - MacOS - - - Classic Release - Name - TextEncodingConverter - MacOS - - - Classic Release - Name - Textension - MacOS - - - Classic Release - Name - ThreadsLib - MacOS - - - Classic Release - Name - UnicodeConverter - MacOS - - - - - - diff --git a/samples/scrollsub/scrollsub_vc7.vcproj b/samples/scrollsub/scrollsub_vc7.vcproj deleted file mode 100644 index 97497d9a43..0000000000 --- a/samples/scrollsub/scrollsub_vc7.vcproj +++ /dev/null @@ -1,545 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/scrollsub/scrollsub_vc8.vcproj b/samples/scrollsub/scrollsub_vc8.vcproj deleted file mode 100644 index fc5019149a..0000000000 --- a/samples/scrollsub/scrollsub_vc8.vcproj +++ /dev/null @@ -1,810 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/scrollsub/scrollsub_vc9.sln b/samples/scrollsub/scrollsub_vc9.sln deleted file mode 100644 index cdb89e0629..0000000000 --- a/samples/scrollsub/scrollsub_vc9.sln +++ /dev/null @@ -1,38 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "scrollsub", "scrollsub_vc9.vcproj", "{A9D1F7E7-5E1A-5486-928C-8EA337323CE9}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - DLL Universal Release|Win32 = DLL Universal Release|Win32 - DLL Universal Debug|Win32 = DLL Universal Debug|Win32 - DLL Release|Win32 = DLL Release|Win32 - DLL Debug|Win32 = DLL Debug|Win32 - Universal Release|Win32 = Universal Release|Win32 - Universal Debug|Win32 = Universal Debug|Win32 - Release|Win32 = Release|Win32 - Debug|Win32 = Debug|Win32 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Universal Release|Win32.ActiveCfg = DLL Universal Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Universal Release|Win32.Build.0 = DLL Universal Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Universal Debug|Win32.ActiveCfg = DLL Universal Debug|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Universal Debug|Win32.Build.0 = DLL Universal Debug|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Release|Win32.ActiveCfg = DLL Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Release|Win32.Build.0 = DLL Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Debug|Win32.ActiveCfg = DLL Debug|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.DLL Debug|Win32.Build.0 = DLL Debug|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Universal Release|Win32.ActiveCfg = Universal Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Universal Release|Win32.Build.0 = Universal Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Universal Debug|Win32.ActiveCfg = Universal Debug|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Universal Debug|Win32.Build.0 = Universal Debug|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Release|Win32.ActiveCfg = Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Release|Win32.Build.0 = Release|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Debug|Win32.ActiveCfg = Debug|Win32 - {A9D1F7E7-5E1A-5486-928C-8EA337323CE9}.Debug|Win32.Build.0 = Debug|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal - diff --git a/samples/scrollsub/scrollsub_vc9.vcproj b/samples/scrollsub/scrollsub_vc9.vcproj deleted file mode 100644 index 5ae6c0b77f..0000000000 --- a/samples/scrollsub/scrollsub_vc9.vcproj +++ /dev/null @@ -1,782 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -