]> git.saurik.com Git - wxWidgets.git/commitdiff
Updated the wxSTC makefile for Borland, and tweaked the sample a
authorRobin Dunn <robin@alldunn.com>
Mon, 1 Oct 2001 17:19:36 +0000 (17:19 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 1 Oct 2001 17:19:36 +0000 (17:19 +0000)
little.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/samples/stc/stctest.cpp
contrib/src/stc/makefile.b32
samples/stc/stctest.cpp
src/stc/makefile.b32

index bb581a99abcb50c4a7c9011afc8ac6f3763124f3..b12ebf792f3f17f82287f124efeab769415bf063 100644 (file)
@@ -128,7 +128,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     ed = new wxStyledTextCtrl(this, ID_ED);
 
     // Default font
-    wxFont font(8, wxMODERN, wxNORMAL, wxNORMAL);
+    wxFont font(10, wxMODERN, wxNORMAL, wxNORMAL);
     ed->StyleSetFont(wxSTC_STYLE_DEFAULT, font);
     ed->StyleClearAll();
 
@@ -148,9 +148,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     ed->StyleSetBold(10, TRUE);
 
 #ifdef __WXMSW__
-    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Arial,size:7");
+    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Arial,size:9");
 #else
-    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Helvetica,size:7");
+    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Helvetica,size:9");
 #endif
 
     // give it some text to play with
index 8e602b4098643d30d5a126f492be5443baf2cd74..492b4e26dfeadca9546bc022a6645ae7737b4fc8 100644 (file)
 WXDIR = $(WXWIN)
 
 SCINTILLA=.\scintilla
+
 S=$(SCINTILLA)\src
 
 STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
 
-LIBTARGET=$(WXDIR)\lib\stc.lib
+LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
 
 OBJECTS = \
-       AutoComplete.obj        \
-       CallTip.obj             \
-       CellBuffer.obj          \
-       ContractionState.obj    \
-       Document.obj            \
-       DocumentAccessor.obj    \
-       Editor.obj              \
-       Indicator.obj           \
-       KeyMap.obj              \
-       KeyWords.obj            \
-       LexCPP.obj              \
-       LexHTML.obj             \
-       LexLua.obj              \
-       LexOthers.obj           \
-       LexPerl.obj             \
-       LexPython.obj           \
-       LexSQL.obj              \
-       LexVB.obj               \
-       LineMarker.obj          \
-       PropSet.obj             \
-       PosRegExp.obj           \
-       ScintillaBase.obj       \
-       Style.obj               \
-       UniConversion.obj       \
-       ViewStyle.obj           \
-       WindowAccessor.obj      \
-                               \
-       PlatWX.obj              \
-       ScintillaWX.obj         \
-       stc.obj                 \
+    AutoComplete.obj        \
+    CallTip.obj             \
+    CellBuffer.obj          \
+    ContractionState.obj    \
+    Document.obj            \
+    DocumentAccessor.obj    \
+    Editor.obj              \
+    Indicator.obj           \
+    KeyMap.obj              \
+    KeyWords.obj            \
+    LexCPP.obj              \
+    LexHTML.obj             \
+    LexLua.obj              \
+    LexOthers.obj           \
+    LexPerl.obj             \
+    LexPython.obj           \
+    LexSQL.obj              \
+    LexVB.obj               \
+    LineMarker.obj          \
+    PosRegExp.obj           \
+    PropSet.obj             \
+    ScintillaBase.obj       \
+    Style.obj               \
+    UniConversion.obj       \
+    ViewStyle.obj           \
+    WindowAccessor.obj      \
+                            \
+    PlatWX.obj              \
+    ScintillaWX.obj         \
+    stc.obj                 \
 
 
 !include $(WXDIR)\src\makelib.b32
 
-all: stc.cfg $(LIBTARGET)
-
 CFG = stc.cfg
 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
 
index bb581a99abcb50c4a7c9011afc8ac6f3763124f3..b12ebf792f3f17f82287f124efeab769415bf063 100644 (file)
@@ -128,7 +128,7 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     ed = new wxStyledTextCtrl(this, ID_ED);
 
     // Default font
-    wxFont font(8, wxMODERN, wxNORMAL, wxNORMAL);
+    wxFont font(10, wxMODERN, wxNORMAL, wxNORMAL);
     ed->StyleSetFont(wxSTC_STYLE_DEFAULT, font);
     ed->StyleClearAll();
 
@@ -148,9 +148,9 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     ed->StyleSetBold(10, TRUE);
 
 #ifdef __WXMSW__
-    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Arial,size:7");
+    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Arial,size:9");
 #else
-    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Helvetica,size:7");
+    ed->StyleSetSpec(2, "fore:#007f00,bold,face:Helvetica,size:9");
 #endif
 
     // give it some text to play with
index 8e602b4098643d30d5a126f492be5443baf2cd74..492b4e26dfeadca9546bc022a6645ae7737b4fc8 100644 (file)
 WXDIR = $(WXWIN)
 
 SCINTILLA=.\scintilla
+
 S=$(SCINTILLA)\src
 
 STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
 
-LIBTARGET=$(WXDIR)\lib\stc.lib
+LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
 
 OBJECTS = \
-       AutoComplete.obj        \
-       CallTip.obj             \
-       CellBuffer.obj          \
-       ContractionState.obj    \
-       Document.obj            \
-       DocumentAccessor.obj    \
-       Editor.obj              \
-       Indicator.obj           \
-       KeyMap.obj              \
-       KeyWords.obj            \
-       LexCPP.obj              \
-       LexHTML.obj             \
-       LexLua.obj              \
-       LexOthers.obj           \
-       LexPerl.obj             \
-       LexPython.obj           \
-       LexSQL.obj              \
-       LexVB.obj               \
-       LineMarker.obj          \
-       PropSet.obj             \
-       PosRegExp.obj           \
-       ScintillaBase.obj       \
-       Style.obj               \
-       UniConversion.obj       \
-       ViewStyle.obj           \
-       WindowAccessor.obj      \
-                               \
-       PlatWX.obj              \
-       ScintillaWX.obj         \
-       stc.obj                 \
+    AutoComplete.obj        \
+    CallTip.obj             \
+    CellBuffer.obj          \
+    ContractionState.obj    \
+    Document.obj            \
+    DocumentAccessor.obj    \
+    Editor.obj              \
+    Indicator.obj           \
+    KeyMap.obj              \
+    KeyWords.obj            \
+    LexCPP.obj              \
+    LexHTML.obj             \
+    LexLua.obj              \
+    LexOthers.obj           \
+    LexPerl.obj             \
+    LexPython.obj           \
+    LexSQL.obj              \
+    LexVB.obj               \
+    LineMarker.obj          \
+    PosRegExp.obj           \
+    PropSet.obj             \
+    ScintillaBase.obj       \
+    Style.obj               \
+    UniConversion.obj       \
+    ViewStyle.obj           \
+    WindowAccessor.obj      \
+                            \
+    PlatWX.obj              \
+    ScintillaWX.obj         \
+    stc.obj                 \
 
 
 !include $(WXDIR)\src\makelib.b32
 
-all: stc.cfg $(LIBTARGET)
-
 CFG = stc.cfg
 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)