User forums > Announcements

About wxSmith development

<< < (8/12) > >>

byo:

--- Quote from: stahta01 on December 07, 2006, 03:18:49 am ---I keep getting errors on compiling the new wxSmith. Note, I am doing it with the new wxPropertyGrid version 1.2.x and with wxWidgets 2.8.0RC3/CVS. Can you verify that file wxsitemrestreedata.h should be used and is it in SVN?

Compiling: wxwidgets\wxsitem.cpp
wxwidgets\wxsitem.cpp:4:32: wxsitemrestreedata.h: No such file or directory
wxwidgets\wxsitem.cpp: In member function `void wxsItem::BuildItemTree(wxsResourceTree*, wxsResourceItemId, int)':
wxwidgets\wxsitem.cpp:164: error: `wxsItemResTreeData' has not been declared
wxwidgets\wxsitem.cpp:168: error: `wxsItemResTreeData' has not been declared
Process terminated with status 1 (2 minutes, 29 seconds)
3 errors, 3 warnings


--- End quote ---

My mistake  :oops: - files should be in repository now (rev. 3351). Thx for reporting that :)

stahta01:
Patch submitted to BerliOS to patch wxSmith (old) in prep of wxPropertyGrid update.
   https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1696&group_id=5358

Patch submitted to BerliOS to patch wxSmith (NEW) in prep of wxPropertyGrid update.
   [ Patch #1702 ] patch to the NEW wxSmith to use wxPropertyGrid version 1.2.x
   https://developer.berlios.de/patch/?func=detailpatch&patch_id=1702&group_id=5358

The above patches need testing, I don't know how to use wxSmith; so my testing was very very simple.
Reply with issues in this thread
    http://forums.codeblocks.org/index.php?topic=4638.0

Tim S

byo:
I've added recently automake files allowing to compile new wxSmith on linux. Here's short guide:

* Checkout standard branch to some directory:

--- Code: ---svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk
--- End code ---
* Checkout new wxsmith branch into contrib directory:

--- Code: ---cd trunk/src/plugins/contrib
svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/branches/New_wxSmith
--- End code ---
* Apply patch included in this post switching to New_wxSmith:

--- Code: ---patch -p0 < New_wxSmith.patch
--- End code ---
*Bootstrap, configure and compile

--- Code: ---./bootstrap
mkdir build
cd build
../configure --enable-contrib --prefix=`pwd`/output
make
make install
cd output/bin
./codeblocks
--- End code ---

Here's patch (couldn't find option to attach file :shock: so I paste it here):

--- Code: ---Index: configure.in
===================================================================
--- configure.in (wersja 3362)
+++ configure.in (kopia robocza)
@@ -217,11 +217,12 @@
  src/plugins/contrib/symtab/Makefile
  src/plugins/contrib/symtab/resources/Makefile
  src/plugins/contrib/regex_testbed/Makefile
- src/plugins/contrib/wxSmith/Makefile
- src/plugins/contrib/wxSmith/defwidgets/Makefile
- src/plugins/contrib/wxSmith/properties/Makefile
- src/plugins/contrib/wxSmith/resources/Makefile
- src/plugins/contrib/wxSmith/smithicons/Makefile
+ src/plugins/contrib/New_wxSmith/Makefile
+ src/plugins/contrib/New_wxSmith/properties/Makefile
+ src/plugins/contrib/New_wxSmith/wxwidgets/Makefile
+ src/plugins/contrib/New_wxSmith/wxwidgets/properties/Makefile
+ src/plugins/contrib/New_wxSmith/wxwidgets/defwidgets/Makefile
+ src/plugins/contrib/New_wxSmith/wxwidgets/icons/Makefile
  src/scripts/Makefile
  src/tools/Makefile
  src/tools/cb_share_config/Makefile
Index: src/sdk/tinyxml/Makefile.am
===================================================================
--- src/sdk/tinyxml/Makefile.am (wersja 3362)
+++ src/sdk/tinyxml/Makefile.am (kopia robocza)
@@ -1,5 +1,6 @@
 INCLUDES = $(WX_CXXFLAGS) \
- -I$(top_srcdir)/src/sdk/wxscintilla/include
+ -I$(top_srcdir)/src/sdk/wxscintilla/include \
+ -I$(top_srcdir)/src/sdk
 
 sdkdir=$(includedir)/codeblocks/tinyxml
 
Index: src/plugins/contrib/Makefile.am
===================================================================
--- src/plugins/contrib/Makefile.am (wersja 3362)
+++ src/plugins/contrib/Makefile.am (kopia robocza)
@@ -1 +1 @@
-SUBDIRS = byogames cb_koders codesnippets codestat dragscroll envvars help_plugin keybinder lib_finder profiler source_exporter symtab regex_testbed wxSmith
+SUBDIRS = byogames cb_koders codesnippets codestat dragscroll envvars help_plugin keybinder lib_finder profiler source_exporter symtab regex_testbed New_wxSmith

--- End code ---

DC@DR:
Today while surfing the net, I found this VisualWX (http://visualwx.altervista.org/), which is a RAD tool for building GUI, and its features are pretty impressive. I just wonder will we gonna have some kind of "form design" tool with new wxSmith? It's always nice to drag&drop "widgets" around a form and play with it :-).

SamT:

--- Quote from: DC@DR on December 14, 2006, 12:42:09 am ---Today while surfing the net, I found this VisualWX (http://visualwx.altervista.org/), which is a RAD tool for building GUI, and

--- End quote ---

http://wiki.codeblocks.org/index.php?title=Comparison_of_wxSmith_features

I am using wxSmith because it's embedded in CB.  :)
Hope to have more progress with more function integrated or an open arch which could add component easily. Many people could contribute to enlarge the component base, just like wiki.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version