Skip to content

Commit

Permalink
Moved wxRichTextCtrl to its own library
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
  • Loading branch information
JulianSmart committed Jun 29, 2006
1 parent ae200bf commit 3b2cb43
Show file tree
Hide file tree
Showing 683 changed files with 2,437 additions and 2,166 deletions.
346 changes: 214 additions & 132 deletions Makefile.in

Large diffs are not rendered by default.

122 changes: 67 additions & 55 deletions autoconf_inc.m4

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions build/bakefiles/common.bkl
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@
<set var="WXLIB_AUI">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('aui')))</if>
</set>
<set var="WXLIB_RICHTEXT">
<if cond="MONOLITHIC=='0'">$(mk.evalExpr(wxwin.mkLibName('richtext')))</if>
</set>

<set var="WXLIB_MONO">
<if cond="MONOLITHIC=='1'">$(mk.evalExpr(wxwin.mkLibName('mono')))</if>
Expand Down
9 changes: 9 additions & 0 deletions build/bakefiles/config.bkl
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,14 @@ Acts according to BUILD by default.
</description>
</option>

<option name="USE_RICHTEXT">
<values>0,1</values>
<default-value>1</default-value>
<description>
Build wxRichTextCtrl library (USE_GUI must be 1)?
</description>
</option>

<option name="USE_OPENGL">
<values>0,1</values>
<default-value>0</default-value>
Expand Down Expand Up @@ -420,6 +428,7 @@ Set the version of your Mingw installation here.
<set var="RUNTIME_LIBS">dynamic</set>
<set var="OFFICIAL_BUILD">0</set>
<set var="USE_AUI">1</set>
<set var="USE_RICHTEXT">1</set>
<set var="USE_HTML">1</set>
<set var="USE_MEDIA">1</set>
<set var="USE_XRC">1</set>
Expand Down
29 changes: 19 additions & 10 deletions build/bakefiles/files.bkl
Original file line number Diff line number Diff line change
Expand Up @@ -2558,11 +2558,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
src/generic/splash.cpp
src/generic/tipdlg.cpp
src/generic/wizard.cpp
src/richtext/richtextctrl.cpp
src/richtext/richtextbuffer.cpp
src/richtext/richtextstyles.cpp
src/richtext/richtextxml.cpp
src/richtext/richtexthtml.cpp
</set>

<set var="ADVANCED_CMN_HDR" hints="files">
Expand Down Expand Up @@ -2595,10 +2590,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/tipdlg.h
wx/wave.h
wx/wizard.h
wx/richtext/richtextctrl.h
wx/richtext/richtextbuffer.h
wx/richtext/richtextstyles.h
wx/richtext/richtextxml.h
</set>

<set var="ADVANCED_CMN_NATIVE_HDR" hints="files">
Expand Down Expand Up @@ -3010,6 +3001,24 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/aui/aui.h
</set>

<!-- ====================================================================== -->
<!-- wxRichTextCtrl -->
<!-- ====================================================================== -->

<set var="RICHTEXT_SRC" hints="files">
src/richtext/richtextctrl.cpp
src/richtext/richtextbuffer.cpp
src/richtext/richtextstyles.cpp
src/richtext/richtextxml.cpp
src/richtext/richtexthtml.cpp
</set>
<set var="RICHTEXT_HDR" hints="files">
wx/richtext/richtextctrl.h
wx/richtext/richtextbuffer.h
wx/richtext/richtextstyles.h
wx/richtext/richtextxml.h
</set>

<!-- ====================================================================== -->
<!-- Define sources for specific libraries: -->
<!-- ====================================================================== -->
Expand Down Expand Up @@ -3240,7 +3249,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(LOWLEVEL_HDR)
$(GUI_CORE_HEADERS)
$(ADVANCED_HDR) $(MEDIA_HDR) $(HTML_HDR)
$(OPENGL_HDR) $(QA_HDR) $(DBGRID_HDR) $(XRC_HDR) $(AUI_HDR)
$(OPENGL_HDR) $(QA_HDR) $(DBGRID_HDR) $(XRC_HDR) $(AUI_HDR) $(RICHTEXT_HDR)
</if>
</set>

Expand Down
2 changes: 1 addition & 1 deletion build/bakefiles/monolithic.bkl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<set var="MONOLIB_GUI_SRC">
<if cond="USE_GUI=='1'">
$(CORE_SRC) $(ADVANCED_SRC) $(MEDIA_SRC) $(HTML_SRC) $(ODBC_SRC) $(QA_SRC)
$(DBGRID_SRC) $(XRC_SRC) $(AUI_SRC)
$(DBGRID_SRC) $(XRC_SRC) $(AUI_SRC) $(RICHTEXT_SRC)
</if>
</set>
<set var="MONOLIB_SRC">
Expand Down
23 changes: 23 additions & 0 deletions build/bakefiles/multilib.bkl
Original file line number Diff line number Diff line change
Expand Up @@ -288,4 +288,27 @@

<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">aui=auilib+auidll</set>

<!-- ================================================================ -->
<!-- RICHTEXT -->
<!-- ================================================================ -->

<dll id="richtextdll" template="wx_dll"
cond="SHARED=='1' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
<define>WXUSINGDLL</define>
<define>WXMAKINGDLL_AUI</define>
<sources>$(RICHTEXT_SRC)</sources>
<library>advdll</library>
<library>coredll</library>
<library>basedll</library>
<msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
</dll>

<lib id="richtextlib" template="wx_lib"
cond="SHARED=='0' and USE_RICHTEXT=='1' and MONOLITHIC=='0'">
<sources>$(RICHTEXT_SRC)</sources>
<msvc-headers>$(RICHTEXT_HDR)</msvc-headers>
</lib>

<set var="MSVC6PRJ_MERGED_TARGETS_MULTILIB" append="1">richtext=richtextlib+richtextdll</set>

</makefile>
4 changes: 2 additions & 2 deletions build/bakefiles/wxwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ def mk_wxid(id):

# All libs that are part of the main library (i.e. non-contrib):
MAIN_LIBS = ['mono', 'base', 'core', 'adv', 'html', 'xml', 'net',
'media', 'odbc', 'qa', 'dbgrid', 'xrc', 'aui']
'media', 'odbc', 'qa', 'dbgrid', 'xrc', 'aui', 'richtext']
# List of library names/ids for categories with different names:
LIBS_NOGUI = ['xml', 'net', 'odbc']
LIBS_GUI = ['core', 'adv', 'html', 'gl', 'qa', 'dbgrid', 'xrc', 'media', 'aui']
LIBS_GUI = ['core', 'adv', 'html', 'gl', 'qa', 'dbgrid', 'xrc', 'media', 'aui', 'richtext']
# Additional libraries that must be linked in:
EXTRALIBS = {
'gl' : '$(EXTRALIBS_OPENGL)',
Expand Down
5 changes: 5 additions & 0 deletions build/msw/config.bcc
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ USE_XRC = 1
USE_AUI = 1
!endif

# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
!ifndef USE_RICHTEXT
USE_RICHTEXT = 1
!endif

# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
!ifndef USE_OPENGL
USE_OPENGL = 0
Expand Down
3 changes: 3 additions & 0 deletions build/msw/config.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ USE_XRC = 1
# Build wxAUI library (USE_GUI must be 1)? [0,1]
USE_AUI = 1

# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1

# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0

Expand Down
3 changes: 3 additions & 0 deletions build/msw/config.vc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ USE_XRC = 1
# Build wxAUI library (USE_GUI must be 1)? [0,1]
USE_AUI = 1

# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1

# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0

Expand Down
3 changes: 3 additions & 0 deletions build/msw/config.wat
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ USE_XRC = 1
# Build wxAUI library (USE_GUI must be 1)? [0,1]
USE_AUI = 1

# Build wxRichTextCtrl library (USE_GUI must be 1)? [0,1]
USE_RICHTEXT = 1

# Build OpenGL canvas library (USE_GUI must be 1)? [0,1]
USE_OPENGL = 0

Expand Down
Loading

0 comments on commit 3b2cb43

Please sign in to comment.