<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.codeblocks.org/index.php?action=history&amp;feed=atom&amp;title=WxSmith_tutorial%3A_Adding_basic_properties_into_items</id>
	<title>WxSmith tutorial: Adding basic properties into items - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.codeblocks.org/index.php?action=history&amp;feed=atom&amp;title=WxSmith_tutorial%3A_Adding_basic_properties_into_items"/>
	<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;action=history"/>
	<updated>2026-05-02T19:06:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5025&amp;oldid=prev</id>
		<title>Byo at 19:20, 14 October 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5025&amp;oldid=prev"/>
		<updated>2007-10-14T19:20:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:20, 14 October 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Code::Blocks Documentation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Developer Documentation]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Developer Documentation]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:wxSmith &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Development&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:wxSmith &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;extensions&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Preface ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Preface ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5021&amp;oldid=prev</id>
		<title>Byo at 19:17, 14 October 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5021&amp;oldid=prev"/>
		<updated>2007-10-14T19:17:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:17, 14 October 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Code::Blocks Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Developer Documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:wxSmith Development]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Preface ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Preface ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5019&amp;oldid=prev</id>
		<title>Byo: /* Updating wxChart item */</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5019&amp;oldid=prev"/>
		<updated>2007-10-14T19:14:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Updating wxChart item&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:14, 14 October 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l569&quot; &gt;Line 569:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 569:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              AddHeader(_T(&amp;quot;&amp;lt;wx/chartctrl.h&amp;gt;&amp;quot;),GetInfo().ClassName);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              AddHeader(_T(&amp;quot;&amp;lt;wx/chartctrl.h&amp;gt;&amp;quot;),GetInfo().ClassName);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              wxString StyleCode;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              wxString StyleCode;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              for ( int i=0; Names[i]; i++ )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              for ( int i=0; Names[i]; i++ )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5018&amp;oldid=prev</id>
		<title>Byo: /* Updating wxChart item */</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5018&amp;oldid=prev"/>
		<updated>2007-10-14T19:14:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Updating wxChart item&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:14, 14 October 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l562&quot; &gt;Line 562:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 562:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ok, now we can change function which builds source code. now it looks like this:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ok, now we can change function which builds source code. now it looks like this:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  void wxsChart::OnBuildCreatingCode(&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;wxString&amp;amp; Code,const wxString&amp;amp; WindowParent,wxsCodingLang Language&lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  void wxsChart::OnBuildCreatingCode()&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      switch ( &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Language &lt;/del&gt;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      switch ( &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;GetLanguage() &lt;/ins&gt;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          case wxsCPP:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          case wxsCPP:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;             AddHeader(_T(&amp;quot;&amp;lt;wx/chartctrl.h&amp;gt;&amp;quot;),GetInfo().ClassName);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              wxString StyleCode;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              wxString StyleCode;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              for ( int i=0; Names[i]; i++ )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              for ( int i=0; Names[i]; i++ )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l582&quot; &gt;Line 582:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 584:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          default:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          default:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              wxsCodeMarks::Unknown(_T(&amp;quot;wxsChart::OnBuildCreatingCode&amp;quot;),&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Language&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;              wxsCodeMarks::Unknown(_T(&amp;quot;wxsChart::OnBuildCreatingCode&amp;quot;),&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;GetLanguage()&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5017&amp;oldid=prev</id>
		<title>Byo: /* Updating wxChart item */</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=5017&amp;oldid=prev"/>
		<updated>2007-10-14T19:12:45Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Updating wxChart item&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:12, 14 October 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l511&quot; &gt;Line 511:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 511:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      static const long DEFAULT_STYLE_FIX = 0x1000;  // Fixed flag value for DEFAULT_STYLE&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      static const long DEFAULT_STYLE_FIX = 0x1000;  // Fixed flag value for DEFAULT_STYLE&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      static const long Values[] = { USE_AXIS_X, USE_AXIS_Y, USE_LEGEND, USE_ZOOM_BUT,  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      static const long Values[] = { USE_AXIS_X, USE_AXIS_Y, USE_LEGEND, USE_ZOOM_BUT,  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                     USE_DEPTH_BUT, USE_GRID, DEFAULT_STYLE_FIX };&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                     USE_DEPTH_BUT, USE_GRID, DEFAULT_STYLE_FIX };&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      static const wxChar* Names[] = { _T(&amp;quot;USE_AXIS_X&amp;quot;), _T(&amp;quot;USE_AXIS_Y&amp;quot;), _T(&amp;quot;USE_LEGEND&amp;quot;),&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      static const wxChar* Names[] = { _T(&amp;quot;USE_AXIS_X&amp;quot;), _T(&amp;quot;USE_AXIS_Y&amp;quot;), _T(&amp;quot;USE_LEGEND&amp;quot;),&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                       _T(&amp;quot;USE_ZOOM_BUT&amp;quot;), _T(&amp;quot;USE_DEPTH_BUT&amp;quot;), _T(&amp;quot;USE_GRID&amp;quot;),&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                       _T(&amp;quot;USE_ZOOM_BUT&amp;quot;), _T(&amp;quot;USE_DEPTH_BUT&amp;quot;), _T(&amp;quot;USE_GRID&amp;quot;),&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                       _T(&amp;quot;DEFAULT_STYLE&amp;quot;), NULL };&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;                                       _T(&amp;quot;DEFAULT_STYLE&amp;quot;), NULL };&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      WXS_FLAGS(wxsChart,m_Flags,_(&amp;quot;wxChart styles&amp;quot;),_T(&amp;quot;wxchart_styles&amp;quot;),Values,Names, DEFAULT_STYLE_FIX )&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      WXS_FLAGS(wxsChart,m_Flags,_(&amp;quot;wxChart styles&amp;quot;),_T(&amp;quot;wxchart_styles&amp;quot;),Values,Names, DEFAULT_STYLE_FIX )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4651&amp;oldid=prev</id>
		<title>Byo: Small fix</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4651&amp;oldid=prev"/>
		<updated>2007-04-28T19:15:13Z</updated>

		<summary type="html">&lt;p&gt;Small fix&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:15, 28 April 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l146&quot; &gt;Line 146:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 146:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;false&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;                       &lt;/del&gt;// Default value&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;_T(&amp;quot;&amp;quot;)&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;                      &lt;/ins&gt;// Default value&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      false);                       // If set to true, empty strings won't be stored in XRC files (&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      false);                       // If set to true, empty strings won't be stored in XRC files (&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l168&quot; &gt;Line 168:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 168:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      _T(&amp;quot;&amp;quot;) );                                 // Default value&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      _T(&amp;quot;&amp;quot;) );                                 // Default value&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Property(SomePropertyValue);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  Property(SomePropertyValue);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== long int =====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===== long int =====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4636&amp;oldid=prev</id>
		<title>Byo: Added flExtraCode flag</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4636&amp;oldid=prev"/>
		<updated>2007-04-23T19:10:48Z</updated>

		<summary type="html">&lt;p&gt;Added flExtraCode flag&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:10, 23 April 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l53&quot; &gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flSubclass&amp;lt;/tt&amp;gt; - allow changing of class name (the ''&amp;quot;subclass&amp;quot;'' term comes from XRC terminology)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flSubclass&amp;lt;/tt&amp;gt; - allow changing of class name (the ''&amp;quot;subclass&amp;quot;'' term comes from XRC terminology)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flMinMaxSize&amp;lt;/tt&amp;gt; - allow MinSize and MaxSize&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flMinMaxSize&amp;lt;/tt&amp;gt; - allow MinSize and MaxSize&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &amp;lt;tt&amp;gt;flExtraCode&amp;lt;/tt&amp;gt; - allow property with extra source code added right after item is generated&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;And when we want for example only variable and position, we would pass &amp;lt;tt&amp;gt;flVariable|flPosition&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;flWidget&amp;lt;/tt&amp;gt; into wxsWidget's contructor. This technique is not recommended though, because it may introduce some problems (just imagine widget which have no variable of any kind - there's problem even with creating it).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;And when we want for example only variable and position, we would pass &amp;lt;tt&amp;gt;flVariable|flPosition&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;flWidget&amp;lt;/tt&amp;gt; into wxsWidget's contructor. This technique is not recommended though, because it may introduce some problems (just imagine widget which have no variable of any kind - there's problem even with creating it).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l60&quot; &gt;Line 60:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 61:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flVariable&amp;lt;/tt&amp;gt; / &amp;lt;tt&amp;gt;flId&amp;lt;/tt&amp;gt; are disabled for top-most items (like wxDialog and wxFrame)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flVariable&amp;lt;/tt&amp;gt; / &amp;lt;tt&amp;gt;flId&amp;lt;/tt&amp;gt; are disabled for top-most items (like wxDialog and wxFrame)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flHidden&amp;lt;/tt&amp;gt; does not affect item when it's shown inside editor (but it's used for exact previews shown after pressing ''Preview'' button)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;lt;tt&amp;gt;flHidden&amp;lt;/tt&amp;gt; does not affect item when it's shown inside editor (but it's used for exact previews shown after pressing ''Preview'' button)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Properties added by parent control ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Properties added by parent control ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4615&amp;oldid=prev</id>
		<title>Byo at 20:35, 19 April 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4615&amp;oldid=prev"/>
		<updated>2007-04-19T20:35:35Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:35, 19 April 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== WARNING: NOT YET FINISHED ==&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Preface ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Preface ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
	<entry>
		<id>https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4612&amp;oldid=prev</id>
		<title>Byo at 20:33, 19 April 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.codeblocks.org/index.php?title=WxSmith_tutorial:_Adding_basic_properties_into_items&amp;diff=4612&amp;oldid=prev"/>
		<updated>2007-04-19T20:33:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== WARNING: NOT YET FINISHED ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Preface ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In [[Creating a plugin which adds new item into wxSmith|previous]] tutorial we created simple plugin which added one item into wxSmith's palette. After loading this plugin into Code::Blocks we were able to add this item into resource and set some basic properties like size or position. In this tutorial we will add more customization for this item by adding it's specific properties. But before we do this, I need to explain some things.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== How wxSmith creates properties ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The final set of properties is result of merging three basic sets:&lt;br /&gt;
* Some standard properties which are used in almost any widget (size, position, font etc)&lt;br /&gt;
* Properties added by parent control like border size inside sizers or notebook page name&lt;br /&gt;
* Properties which are specific to one widget only&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Standard properties ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first set is added through constructor. In the code from previous tutorial, constructor is as follows:&lt;br /&gt;
&lt;br /&gt;
 wxsChart::wxsChart(wxsItemResData* Data):&lt;br /&gt;
     wxsWidget(&lt;br /&gt;
         Data,               // Data passed to constructor&lt;br /&gt;
         &amp;amp;Reg.Info,          // Info taken from Registering object previously created&lt;br /&gt;
         NULL,               // Structure describing events, we have no events for wxChart&lt;br /&gt;
         wxsChartStyles)     // Structure describing styles&lt;br /&gt;
 {&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
so the only thing we see here is set of styles (that's one of standard properties). Because it's rather complex and require extra initialization, this property must be specified separately. If there was &amp;lt;tt&amp;gt;NULL&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;wxsChartStyles&amp;lt;/tt&amp;gt;, wxChart would have no style property. &lt;br /&gt;
Other standard properties are given through flags, which are passed through &amp;lt;tt&amp;gt;PropertiesFlags&amp;lt;/tt&amp;gt; argument in constructor of wxsWidget:&lt;br /&gt;
&lt;br /&gt;
 wxsWidget(&lt;br /&gt;
     wxsItemResData* Data,&lt;br /&gt;
     const wxsItemInfo* Info,&lt;br /&gt;
     const wxsEventDesc* EventArray = NULL,&lt;br /&gt;
     const wxsStyleSet* StyleSet=NULL,&lt;br /&gt;
     long PropertiesFlags = flWidget);&lt;br /&gt;
&lt;br /&gt;
We can see here that default value for this argument is flWidget. It means that standard properties which are usually used by any kind of widget will be added into properties set. That value is silently passed to wxsWidget's constructor in case of wxsChart class so we have all those standard properties in property browser without even line of code. Individual flags which can be used are:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;flVariable&amp;lt;/tt&amp;gt; - allow variable and ''Is Member'' flag&lt;br /&gt;
* &amp;lt;tt&amp;gt;flId&amp;lt;/tt&amp;gt; - allow identifier&lt;br /&gt;
* &amp;lt;tt&amp;gt;flPosition&amp;lt;/tt&amp;gt; - allow position&lt;br /&gt;
* &amp;lt;tt&amp;gt;flSize&amp;lt;/tt&amp;gt; - allow size&lt;br /&gt;
* &amp;lt;tt&amp;gt;flEnabled&amp;lt;/tt&amp;gt; - allow ''Enabled'' switch&lt;br /&gt;
* &amp;lt;tt&amp;gt;flFocused&amp;lt;/tt&amp;gt; - allow ''Focused'' switch&lt;br /&gt;
* &amp;lt;tt&amp;gt;flHidden&amp;lt;/tt&amp;gt; - allow ''Hidden'' switch&lt;br /&gt;
* &amp;lt;tt&amp;gt;flColours&amp;lt;/tt&amp;gt; - allow foreground and background colours&lt;br /&gt;
* &amp;lt;tt&amp;gt;flToolTip&amp;lt;/tt&amp;gt; - allow tooltip&lt;br /&gt;
* &amp;lt;tt&amp;gt;flFont&amp;lt;/tt&amp;gt; - allow font&lt;br /&gt;
* &amp;lt;tt&amp;gt;flHelpText&amp;lt;/tt&amp;gt; - allow help text&lt;br /&gt;
* &amp;lt;tt&amp;gt;flSubclass&amp;lt;/tt&amp;gt; - allow changing of class name (the ''&amp;quot;subclass&amp;quot;'' term comes from XRC terminology)&lt;br /&gt;
* &amp;lt;tt&amp;gt;flMinMaxSize&amp;lt;/tt&amp;gt; - allow MinSize and MaxSize&lt;br /&gt;
&lt;br /&gt;
And when we want for example only variable and position, we would pass &amp;lt;tt&amp;gt;flVariable|flPosition&amp;lt;/tt&amp;gt; instead of &amp;lt;tt&amp;gt;flWidget&amp;lt;/tt&amp;gt; into wxsWidget's contructor. This technique is not recommended though, because it may introduce some problems (just imagine widget which have no variable of any kind - there's problem even with creating it).&lt;br /&gt;
&lt;br /&gt;
Some properties are also filtered depending on some circumstances:&lt;br /&gt;
* &amp;lt;tt&amp;gt;flMinMaxSize&amp;lt;/tt&amp;gt; will be disabled when XRC file is used&lt;br /&gt;
* &amp;lt;tt&amp;gt;flVariable&amp;lt;/tt&amp;gt; / &amp;lt;tt&amp;gt;flId&amp;lt;/tt&amp;gt; are disabled for top-most items (like wxDialog and wxFrame)&lt;br /&gt;
* &amp;lt;tt&amp;gt;flHidden&amp;lt;/tt&amp;gt; does not affect item when it's shown inside editor (but it's used for exact previews shown after pressing ''Preview'' button)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Properties added by parent control ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some parent controls require extra information for each of it's children. This data is included in set of properties in property browser and child item have no control of it. Properties added in this way are:&lt;br /&gt;
* Settings for item inside sizer (''border size'', ''border flags'', ''proportion'' and some flags like ''expand')&lt;br /&gt;
* Names of pages and switch for default page in wxNotebook, wxChoicebook and wxListbook&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Properties specific to only one item ===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Most of items have their own proeprties which can not be generalized and provided as common ones. These properties are added in special function which in case of widgets is declared as:&lt;br /&gt;
&lt;br /&gt;
 void OnEnumWidgetProperties(long Flags);&lt;br /&gt;
&lt;br /&gt;
wxSmith has complex property managment system which handle most of work related to properties automatically, including operating on property grid and XRC files. Usually one variable is mapped to one property (in case of most complex properties such as position, special structure is used to keep data in one variable). &lt;br /&gt;
Binding between variable and property managment system is done in function mentioned above. It require generating one variable for one property and calling &amp;lt;tt&amp;gt;Property&amp;lt;/tt&amp;gt; function for it. Usually ot looks like this:&lt;br /&gt;
&lt;br /&gt;
 void ClassName::OnEnumWidgetProperties(long Flags)&lt;br /&gt;
 {&lt;br /&gt;
     static wxsBoolProperty SomePropertyVariable(&lt;br /&gt;
                             _(&amp;quot;Name in property grid&amp;quot;), _T(&amp;quot;name_in_xrc_file&amp;quot;),&lt;br /&gt;
                             wxsOFFSET(ClassName,ClassMemberVariable), false );&lt;br /&gt;
     Property(SomePropertyValue);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Properties may be added in this way or may be defined through macros. Using macro, the code adding bool property will look like this:&lt;br /&gt;
&lt;br /&gt;
 void ClassName::OnEnumWidgetProperties(long Flags)&lt;br /&gt;
 {&lt;br /&gt;
     WXS_BOOL(ClassName,ClassMemberVariable,_(&amp;quot;Name in property grid&amp;quot;), _T(&amp;quot;name_in_xrc_file&amp;quot;), false);&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Both methods will give the same result (macros simply generate static variable and call Property on it). So it's up to you to choose one of them. I preffer macros because they give cleaner view, but smoetimes they may hide some extra parameters and may not be preffered by other coders (not everyone likes c macros ;) ). So I'll describe both methods.&lt;br /&gt;
&lt;br /&gt;
Before we begin detailed description of available properties, I'll have to make few remarks:&lt;br /&gt;
* Variables used in properties must be members of the class which adds them (it's possible to use members of other class, but it's advanced technique and won't be covered in this tutorial). So it's not possible to create property from pointer to variable (for example when we have &amp;lt;tt&amp;gt;bool*&amp;lt;/tt&amp;gt; member in class and want to make property for value pointer by it). The technique which allow such things will be described later in this tutorial but won't use wxSmith's property managment system.&lt;br /&gt;
* Objects which create binging between property variable and property managment system (like &amp;lt;tt&amp;gt;SomePropertyVariable&amp;lt;/tt&amp;gt; in example above) should be declared static or at least should exist as long as all objects using this property are not deleted. Simple &amp;lt;tt&amp;gt;static&amp;lt;/tt&amp;gt; modifier eliminates all problems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== List of available properties ====&lt;br /&gt;
&lt;br /&gt;
Here you have list of properties supported by wxSmith's property managment system. Each one of them have exact type of variable it supports and examples of using this property. In those examples, &amp;lt;tt&amp;gt;ClassName&amp;lt;/tt&amp;gt; represents name of class containing properties, &amp;lt;tt&amp;gt;ClassMemberVariable&amp;lt;/tt&amp;gt; represents name of member variable inside &amp;lt;tt&amp;gt;ClassName&amp;lt;/tt&amp;gt; (note that current there's no type checking so you should check if valid types of variables are used).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here you have list of properties supported by wxSmith's property managment system. Each one of them have exact type of variable it supports and examples of using this property. In those examples, &amp;lt;tt&amp;gt;ClassName&amp;lt;/tt&amp;gt; represents name of class containing properties and &amp;lt;tt&amp;gt;ClassMemberVariable&amp;lt;/tt&amp;gt; represents name of member variable inside &amp;lt;tt&amp;gt;ClassName&amp;lt;/tt&amp;gt; (note that current there's no type checking so you should check if valid types of variables are used).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== bool =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;bool&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_BOOL(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     false);                       // Default value&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsBoolProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable), // Offset from class beginning to variable&lt;br /&gt;
     false );                                  // Default value&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxString =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxString&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros (for one-line strings):&lt;br /&gt;
&lt;br /&gt;
 WXS_SHORT_STRING(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     false,                        // Default value&lt;br /&gt;
     false);                       // If set to true, empty strings won't be stored in XRC files (&lt;br /&gt;
&lt;br /&gt;
Example using macros (for multiline strings):&lt;br /&gt;
&lt;br /&gt;
 WXS_STRING(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     _T(&amp;quot;&amp;quot;),                       // Default value&lt;br /&gt;
     false);                       // If set to true, empty strings won't be stored in XRC files&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsStringProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable), // Offset from class beginning to variable&lt;br /&gt;
     true,                                     // True for multiline string, false for one-line&lt;br /&gt;
     _T(&amp;quot;&amp;quot;) );                                 // Default value&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== long int =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;long int&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_LONG(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     10);                          // Default value&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsLongProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable), // Offset from class beginning to variable&lt;br /&gt;
     10);                                      // Default value&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== enum =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;long int&amp;lt;/tt&amp;gt; which is one of predefined values&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 static const long    Values[] = { 5, 100 };&lt;br /&gt;
 static const wxChar* Names[]  = { _(&amp;quot;Few&amp;quot;), _(&amp;quot;Many&amp;quot;), NULL }; // Must end with NULL entry&lt;br /&gt;
 &lt;br /&gt;
 WXS_ENUM(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     Values,                       // Array of values&lt;br /&gt;
     Names,                        // Array of names&lt;br /&gt;
     5);                           // Default value&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static const long    Values[] = { 5, 100 };&lt;br /&gt;
 static const wxChar* Names[]  = { _(&amp;quot;Few&amp;quot;), _(&amp;quot;Many&amp;quot;), NULL }; // Must end with NULL entry&lt;br /&gt;
 &lt;br /&gt;
 static wxsEnumProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable), // Offset from class beginning to variable&lt;br /&gt;
     Values,                                   // Array of values&lt;br /&gt;
     Names,                                    // Array of names&lt;br /&gt;
     false,                                    // Setting to true notifies that content of arrays may change (not tested)&lt;br /&gt;
     5,                                        // Default value&lt;br /&gt;
     true);                                    // If false, XRC node will contain value as number, if true, it will contain name&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== flags =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;long int&amp;lt;/tt&amp;gt; which is value produced by or-ing some one-bit flags&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 static const long    Values[] = { 0x01, 0x02, 0x04, 0x08, 0x10 };&lt;br /&gt;
 static const wxChar* Names[]  = { _T(&amp;quot;C&amp;quot;), _T(&amp;quot;C++&amp;quot;), _T(&amp;quot;Java&amp;quot;), _T(&amp;quot;C#&amp;quot;), _T(&amp;quot;D&amp;quot;), NULL };&lt;br /&gt;
&lt;br /&gt;
 WXS_FLAGS(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     Values,                       // Array of values&lt;br /&gt;
     Names,                        // Array of names&lt;br /&gt;
     0x01 | 0x10 );                // Default value&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static const long    Values[] = { 0x01, 0x02, 0x04, 0x08, 0x10 };&lt;br /&gt;
 static const wxChar* Names[]  = { _T(&amp;quot;C&amp;quot;), _T(&amp;quot;C++&amp;quot;), _T(&amp;quot;Java&amp;quot;), _T(&amp;quot;C#&amp;quot;), _T(&amp;quot;D&amp;quot;), NULL };&lt;br /&gt;
&lt;br /&gt;
 static wxsFlagsProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable), // Offset from class beginning to variable&lt;br /&gt;
     Values,                                   // Array of values&lt;br /&gt;
     Names,                                    // Array of names&lt;br /&gt;
     false,                                    // Setting to true notifies that content of arrays may change (not tested)&lt;br /&gt;
     0x01 | 0x10,                              // Default value&lt;br /&gt;
     true);                                    // If false, XRC node will contain value as number, if true, it will contain names separated by '|' character&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxArrayString =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxArrayString&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_ARRAYSTRING(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     _T(&amp;quot;xrc_subnode&amp;quot;));           // Name of sub-node generated for each string in xrc file&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsArrayStringProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     _T(&amp;quot;xrc_subnode&amp;quot;),                        // Name of sub-node generated for each string in xrc file&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable));// Offset from class beginning to variable&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxArrayString with checked items =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxArrayString&amp;lt;/tt&amp;gt; with &amp;lt;tt&amp;gt;wxArrayBool&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_ARRAYSTRINGCHECK(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable1,         // Name of member variable of type &amp;lt;tt&amp;gt;wxArrayString&amp;lt;/tt&amp;gt;&lt;br /&gt;
     ClassMemberVariable2,         // Name of member variable of type &amp;lt;tt&amp;gt;wxArrayBool&amp;lt;/tt&amp;gt;&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     _T(&amp;quot;xrc_subnode&amp;quot;));           // Name of sub-node generated for each string in xrc file&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsArrayStringCheckProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),                 // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                     // Name of XML node used in xrc files&lt;br /&gt;
     _T(&amp;quot;xrc_subnode&amp;quot;),                          // Name of sub-node generated for each string in xrc file&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable1),  // Offset from class beginning to variable &lt;br /&gt;
                                                 // of type wxArrayString&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable2)); // Offset from class beginning to variable &lt;br /&gt;
                                                 //of type wxArrayBool&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxBitmap =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxsBitmapData&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_BITMAP(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable of type wxBitmapData&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     _T(&amp;quot;wxART_OTHER&amp;quot;));           // Name of default art client (see [http://www.wxwidgets.org/manuals/2.6/wx_wxartprovider.html#wxartprovider wx docs])&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsBitmapProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable,  // Offset from class beginning to variable of type wxsBitmapData&lt;br /&gt;
     _T(&amp;quot;wxART_OTHER&amp;quot;));                       // Name of default art client (see [http://www.wxwidgets.org/manuals/2.6/wx_wxartprovider.html#wxartprovider wx docs])&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxIcon =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxsIconData&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_ICON(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable of type wxBitmapData&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     _T(&amp;quot;wxART_OTHER&amp;quot;));           // Name of default art client (see [http://www.wxwidgets.org/manuals/2.6/wx_wxartprovider.html#wxartprovider wx docs])&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsIconProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),               // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                   // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable), // Offset from class beginning to variable of type wxsIconData&lt;br /&gt;
     _T(&amp;quot;wxART_OTHER&amp;quot;));                       // Name of default art client (see [http://www.wxwidgets.org/manuals/2.6/wx_wxartprovider.html#wxartprovider wx docs])&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxColour =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxsColourData&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_COLOUR(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;));      // Name of XML node used in xrc files&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsColourProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),                // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                    // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable)); // Offset from class beginning to variable&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxDimension =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxsDimensionData&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_DIMENSION(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _(&amp;quot;Dialog-Units name&amp;quot;),       // Name of [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch entry in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),       // Name of XML node used in xrc files&lt;br /&gt;
     10,                           // Default value&lt;br /&gt;
     true);                        // Default value for [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsDimensionProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),                // Name of property shown in property grid&lt;br /&gt;
     _(&amp;quot;Name of Dialog-Units&amp;quot;),                 // Name of [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                    // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable),  // Offset from class beginning to variable&lt;br /&gt;
     10,                                        // Default value&lt;br /&gt;
     true);                                     // Default value for [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch&lt;br /&gt;
&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxFont =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxsFontData&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_FONT(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),   // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;));      // Name of XML node used in xrc files&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsFontProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name in property grid&amp;quot;),                // Name of property shown in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                    // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable)); // Offset from class beginning to variable&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxPosition =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxsPositionData&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_POSITION(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name of Default switch&amp;quot;),  // Name of default position switch in property grid&lt;br /&gt;
     _(&amp;quot;Name of X data&amp;quot;),          // Name of X coordinate in property grid&lt;br /&gt;
     _(&amp;quot;Name of Y data&amp;quot;),          // Name of Y coordinate in property grid&lt;br /&gt;
     _(&amp;quot;Name of Dialog-Units&amp;quot;),    // Name of [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;));      // Name of XML node used in xrc files&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsPositionProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name of Default switch&amp;quot;),               // Name of default position switch in property grid&lt;br /&gt;
     _(&amp;quot;Name of X data&amp;quot;),                       // Name of X coordinate in property grid&lt;br /&gt;
     _(&amp;quot;Name of Y data&amp;quot;),                       // Name of Y coordinate in property grid&lt;br /&gt;
     _(&amp;quot;Name of Dialog-Units&amp;quot;),                 // Name of [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                    // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable)); // Offset from class beginning to variable&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== wxSize =====&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Variable type: &amp;lt;tt&amp;gt;wxsSizeData&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example using macros:&lt;br /&gt;
&lt;br /&gt;
 WXS_SIZE(&lt;br /&gt;
     ClassName,                    // Name of this class&lt;br /&gt;
     ClassMemberVariable,          // Name of member variable&lt;br /&gt;
     _(&amp;quot;Name of Default switch&amp;quot;),  // Name of default position switch in property grid&lt;br /&gt;
     _(&amp;quot;Name of Width data&amp;quot;),      // Name of Width value in property grid&lt;br /&gt;
     _(&amp;quot;Name of Height data&amp;quot;),     // Name of Height value in property grid&lt;br /&gt;
     _(&amp;quot;Name of Dialog-Units&amp;quot;),    // Name of [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;));      // Name of XML node used in xrc files&lt;br /&gt;
&lt;br /&gt;
Example using objects:&lt;br /&gt;
 &lt;br /&gt;
 static wxsSizeProperty SomePropertyVariable(&lt;br /&gt;
     _(&amp;quot;Name of Default switch&amp;quot;),               // Name of default position switch in property grid&lt;br /&gt;
     _(&amp;quot;Name of Width data&amp;quot;),                   // Name of Width value in property grid&lt;br /&gt;
     _(&amp;quot;Name of Height data&amp;quot;),                  // Name of Height vlaue in property grid&lt;br /&gt;
     _(&amp;quot;Name of Dialog-Units&amp;quot;),                 // Name of [http://www.wxwidgets.org/manuals/2.6/wx_wxwindow.html#wxwindowconvertpixelstodialog dialog units] switch in property grid&lt;br /&gt;
     _T(&amp;quot;name_in_xrc_file&amp;quot;),                    // Name of XML node used in xrc files&lt;br /&gt;
     wxsOFFSET(ClassName,ClassMemberVariable)); // Offset from class beginning to variable&lt;br /&gt;
 Property(SomePropertyValue);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Fully customizable properties ===&lt;br /&gt;
&lt;br /&gt;
The set of properties available in wxSmith's property managment system may be insufficient for some kind of properties. A good example here may be a situation, when number of available properties dynamically changes. In such cases, we have to take care about properties manually. This technique is shown in next tutorial: [[wxSmith tutorial: Adding advanced properties into items|Adding advanced properties]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Updating wxChart item ==&lt;br /&gt;
&lt;br /&gt;
Ok, now if we have some theoretical knowledge, it's high time to do some real example. We will update wxChart item and add some more properties into it. &lt;br /&gt;
&lt;br /&gt;
First thing is that extra style we wasn't able to provide last time. We will use flags property for it. Previously we provided empty function body for &amp;lt;tt&amp;gt;wxsChart::OnEnumWidgetProperties&amp;lt;/tt&amp;gt; and now it's time to fill it.&lt;br /&gt;
&lt;br /&gt;
To build flags property, we need values for it and it's names. For values array we could use direct values of flags as they are declared in wx/chartctrl.h header file, but this has one disadventage: We won't be able to use DEFAULT_STYLE flag since it contains few other flags inside. So we will have to create out custom flag for that grouping style:&lt;br /&gt;
&lt;br /&gt;
 void wxsChart::OnEnumWidgetProperties(long Flags)&lt;br /&gt;
 {&lt;br /&gt;
     static const long DEFAULT_STYLE_FIX = 0x1000;  // Fixed flag value for DEFAULT_STYLE&lt;br /&gt;
&lt;br /&gt;
     static const long Values[] = { USE_AXIS_X, USE_AXIS_Y, USE_LEGEND, USE_ZOOM_BUT, &lt;br /&gt;
                                    USE_DEPTH_BUT, USE_GRID, DEFAULT_STYLE_FIX };&lt;br /&gt;
&lt;br /&gt;
     static const wxChar* Names[] = { _T(&amp;quot;USE_AXIS_X&amp;quot;), _T(&amp;quot;USE_AXIS_Y&amp;quot;), _T(&amp;quot;USE_LEGEND&amp;quot;),&lt;br /&gt;
                                      _T(&amp;quot;USE_ZOOM_BUT&amp;quot;), _T(&amp;quot;USE_DEPTH_BUT&amp;quot;), _T(&amp;quot;USE_GRID&amp;quot;),&lt;br /&gt;
                                      _T(&amp;quot;DEFAULT_STYLE&amp;quot;), NULL };&lt;br /&gt;
&lt;br /&gt;
     WXS_FLAGS(wxsChart,m_Flags,_(&amp;quot;wxChart styles&amp;quot;),_T(&amp;quot;wxchart_styles&amp;quot;),Values,Names, DEFAULT_STYLE_FIX )&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
So the first thing we do here is to create arrays with values and names for them. We used DEFAULT_STYLE_FIX for last value to allow DEFAULT_STYLE too but in names we used standard name. Also note that names array MUST end with NULL entry to mark end of array. Another thing worth mentioning is that we also have to add &amp;lt;tt&amp;gt;long m_Flags&amp;lt;/tt&amp;gt; member into &amp;lt;tt&amp;gt;wxsChar&amp;lt;/tt&amp;gt; Class&lt;br /&gt;
&lt;br /&gt;
Ok, let's recompile and test our result:&lt;br /&gt;
&lt;br /&gt;
[[Image:Wxs_ext_12.png]]&lt;br /&gt;
&lt;br /&gt;
So we have our property working. Now it's time to make in affect preview and generated code. But before we do this, let's move those arrays used to create property into global scope (into unnamed namespace) because we will need them in other functions. Also we need to set initial value for m_Flags member, so let's set it to DEFAULT_STYLE_FIX to include DEFAULT_STYLE when creating new charts.&lt;br /&gt;
&lt;br /&gt;
Code after change should look like this:&lt;br /&gt;
&lt;br /&gt;
 ...&lt;br /&gt;
     // Defining styles&lt;br /&gt;
     WXS_ST_BEGIN(wxsChartStyles,_T(&amp;quot;wxSIMPLE_BORDER&amp;quot;))&lt;br /&gt;
         WXS_ST_DEFAULTS()&lt;br /&gt;
     WXS_ST_END()&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
     static const long DEFAULT_STYLE_FIX = 0x1000;&lt;br /&gt;
     static const long Values[] = { USE_AXIS_X, USE_AXIS_Y, USE_LEGEND, USE_ZOOM_BUT,&lt;br /&gt;
                                    USE_DEPTH_BUT, USE_GRID, DEFAULT_STYLE_FIX };&lt;br /&gt;
     static const wxChar* Names[] = { _T(&amp;quot;USE_AXIS_X&amp;quot;), _T(&amp;quot;USE_AXIS_Y&amp;quot;), _T(&amp;quot;USE_LEGEND&amp;quot;),&lt;br /&gt;
                                      _T(&amp;quot;USE_ZOOM_BUT&amp;quot;), _T(&amp;quot;USE_DEPTH_BUT&amp;quot;), _T(&amp;quot;USE_GRID&amp;quot;),&lt;br /&gt;
                                      _T(&amp;quot;DEFAULT_STYLE&amp;quot;), NULL };&lt;br /&gt;
 &lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 wxsChart::wxsChart(wxsItemResData* Data):&lt;br /&gt;
     wxsWidget(&lt;br /&gt;
         Data,               // Data passed to constructor&lt;br /&gt;
         &amp;amp;Reg.Info,          // Info taken from Registering object previously created&lt;br /&gt;
         NULL,               // Structure describing events, we have no events for wxChart&lt;br /&gt;
         wxsChartStyles)     // Structure describing styles&lt;br /&gt;
 {&lt;br /&gt;
     m_Flags = DEFAULT_STYLE_FIX;&lt;br /&gt;
 }&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ok, now we can change function which builds source code. now it looks like this:&lt;br /&gt;
&lt;br /&gt;
 void wxsChart::OnBuildCreatingCode(wxString&amp;amp; Code,const wxString&amp;amp; WindowParent,wxsCodingLang Language)&lt;br /&gt;
 {&lt;br /&gt;
     switch ( Language )&lt;br /&gt;
     {&lt;br /&gt;
         case wxsCPP:&lt;br /&gt;
         {&lt;br /&gt;
             wxString StyleCode;&lt;br /&gt;
             for ( int i=0; Names[i]; i++ )&lt;br /&gt;
             {&lt;br /&gt;
                 if ( m_Flags &amp;amp; Values[i] ) StyleCode &amp;lt;&amp;lt; Names[i] &amp;lt;&amp;lt; _T(&amp;quot;|&amp;quot;);&lt;br /&gt;
             }&lt;br /&gt;
 &lt;br /&gt;
             if ( StyleCode.IsEmpty() ) StyleCode = _T(&amp;quot;0&amp;quot;);&lt;br /&gt;
             else                       StyleCode.RemoveLast();&lt;br /&gt;
 &lt;br /&gt;
             Codef(_T(&amp;quot;%C(%W,%I,(STYLE)(%s),%P,%S,%T);\n&amp;quot;),StyleCode.c_str());&lt;br /&gt;
             break;&lt;br /&gt;
         }&lt;br /&gt;
 &lt;br /&gt;
         default:&lt;br /&gt;
             wxsCodeMarks::Unknown(_T(&amp;quot;wxsChart::OnBuildCreatingCode&amp;quot;),Language);&lt;br /&gt;
     }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
First we iterate through all styles and test if given style is set (note we have to use braces because we declare local variable inside switch statement). If it is, we add style's name ended with '|' operator (to allow more styles). Finally we have to check if string containing styles is empty. If it is, we replace it with zero (because we can not put empty string in place of function's argument). If it's not empty (at least one style was added), we have to remove unnecessary '|' character at the end of string by calling &amp;lt;tt&amp;gt;RemoveLast()&amp;lt;/tt&amp;gt;. In Codef function we use %s formating sequence, just like in standard printf function. To prevent compile errors, we convert produced style to STYLE enum.&lt;br /&gt;
&lt;br /&gt;
Now let's affect preview. This will be much easier since we almost have exact values:&lt;br /&gt;
&lt;br /&gt;
 wxObject* wxsChart::OnBuildPreview(wxWindow* Parent,long Flags)&lt;br /&gt;
 {&lt;br /&gt;
     long RealFlags = m_Flags;&lt;br /&gt;
     if ( RealFlags &amp;amp; DEFAULT_STYLE_FIX ) RealFlags |= DEFAULT_STYLE;&lt;br /&gt;
     return new wxChartCtrl(Parent,GetId(),RealFlags,Pos(Parent),Size(Parent),Style());&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The only thing which have to be fixed is that if DEFAULT_STYLE_FIX flag is set, we &amp;quot;unfix&amp;quot; that by or-ing value with DEFAULT_STYLE.&lt;br /&gt;
&lt;br /&gt;
Ok, let's find out how it works... everything works fine :). My first impression was that there's something wrong, but wxChart seems to interpret properties in strange way. This is probably caused by fact that there's no chart data to be displayed yet.&lt;br /&gt;
&lt;br /&gt;
Our wxChartCtrl item inside wxSmith is more customizable now, but it still misses the ability to add some data into it. That problem wil be covered in next tutorial.&lt;/div&gt;</summary>
		<author><name>Byo</name></author>
	</entry>
</feed>