Patch for using wxSTC with Borland, #504370

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-01-16 17:48:48 +00:00
parent 5ff5710d55
commit 32083aa0de
6 changed files with 38 additions and 12 deletions

View File

@@ -62,16 +62,18 @@ OBJECTS = \
ScintillaWX.obj \
stc.obj \
STCCFG = stc.cfg
STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG)
!include $(WXDIR)\src\makelib.b32
default: $(STCCFG) $(LIBTARGET)
CFG = stc.cfg
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
{$(S)}.cxx.obj:
bcc32 $(CPPFLAGS) -P -c {$< }
bcc32 $(STCCPPFLAGS) -P -c {$< }
$(CFG): makefile.b32
$(STCCFG): makefile.b32
copy &&!
-H=$(WXDIR)\src\msw\wx32.csm
-3
@@ -97,5 +99,14 @@ $(OPT)
$(DEBUG_FLAGS)
$(WIN95FLAG)
$(STCEXTRACPPFLAGS)
! $(CFG)
! $(STCCFG)
!include $(WXDIR)\src\makelib.b32
{$(S)}.cpp.obj:
bcc32 $(STCCPPFLAGS) -P -c {$< }
.$(SRCSUFF).obj:
bcc32 $(STCCPPFLAGS) -c {$< }

View File

@@ -143,6 +143,7 @@ wxStyledTextCtrl::wxStyledTextCtrl(wxWindow *parent,
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
wxForceScintillaLexers();
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;

View File

@@ -143,6 +143,7 @@ wxStyledTextCtrl::wxStyledTextCtrl(wxWindow *parent,
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
wxForceScintillaLexers();
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;

View File

@@ -62,16 +62,18 @@ OBJECTS = \
ScintillaWX.obj \
stc.obj \
STCCFG = stc.cfg
STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG)
!include $(WXDIR)\src\makelib.b32
default: $(STCCFG) $(LIBTARGET)
CFG = stc.cfg
CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
{$(S)}.cxx.obj:
bcc32 $(CPPFLAGS) -P -c {$< }
bcc32 $(STCCPPFLAGS) -P -c {$< }
$(CFG): makefile.b32
$(STCCFG): makefile.b32
copy &&!
-H=$(WXDIR)\src\msw\wx32.csm
-3
@@ -97,5 +99,14 @@ $(OPT)
$(DEBUG_FLAGS)
$(WIN95FLAG)
$(STCEXTRACPPFLAGS)
! $(CFG)
! $(STCCFG)
!include $(WXDIR)\src\makelib.b32
{$(S)}.cpp.obj:
bcc32 $(STCCPPFLAGS) -P -c {$< }
.$(SRCSUFF).obj:
bcc32 $(STCCPPFLAGS) -c {$< }

View File

@@ -143,6 +143,7 @@ wxStyledTextCtrl::wxStyledTextCtrl(wxWindow *parent,
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
wxForceScintillaLexers();
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;

View File

@@ -143,6 +143,7 @@ wxStyledTextCtrl::wxStyledTextCtrl(wxWindow *parent,
style | wxVSCROLL | wxHSCROLL | wxWANTS_CHARS | wxCLIP_CHILDREN,
wxDefaultValidator, name)
{
wxForceScintillaLexers();
m_swx = new ScintillaWX(this);
m_stopWatch.Start();
m_lastKeyDownConsumed = FALSE;