[SVN-NetXMS] revision 3354

From: NetXMS.org SVN Server <svn_at_DOMAIN_REMOVED>
Date: Mon, 30 Jun 2008 03:24:50 +0300

* { font-family: Consolas, Lucida Console, Courier New; font-size: 100%; }
h1 { font-size: 150%; }
td.linenos { background-color: #f0f0f0; padding-right: 10px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 100%; width: 100%; }
.highlight span { width: 100%; display:-moz-inline-stack; display:inline-block; zoom:1; *display:inline; }
body { background: #ffffff; }
body .c { color: #999988; font-style: italic } /* Comment */
body .err { color: #a61717; background-color: #e3d2d2 } /* Error */
body .k { font-weight: bold } /* Keyword */
body .o { font-weight: bold } /* Operator */
body .cm { color: #999988; font-style: italic } /* Comment.Multiline */
body .cp { color: #999999; font-weight: bold } /* Comment.Preproc */
body .c1 { color: #999988; font-style: italic } /* Comment.Single */
body .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
body .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
body .ge { font-style: italic } /* Generic.Emph */
body .gr { color: #aa0000 } /* Generic.Error */
body .gh { color: #999999 } /* Generic.Heading */
body .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
body .go { color: #888888 } /* Generic.Output */
body .gp { color: #555555 } /* Generic.Prompt */
body .gs { font-weight: bold } /* Generic.Strong */
body .gu { color: #aaaaaa } /* Generic.Subheading */
body .gt { color: #aa0000 } /* Generic.Traceback */
body .kc { font-weight: bold } /* Keyword.Constant */
body .kd { font-weight: bold } /* Keyword.Declaration */
body .kp { font-weight: bold } /* Keyword.Pseudo */
body .kr { font-weight: bold } /* Keyword.Reserved */
body .kt { color: #445588; font-weight: bold } /* Keyword.Type */
body .m { color: #009999 } /* Literal.Number */
body .s { color: #bb8844 } /* Literal.String */
body .na { color: #008080 } /* Name.Attribute */
body .nb { color: #999999 } /* Name.Builtin */
body .nc { color: #445588; font-weight: bold } /* Name.Class */
body .no { color: #008080 } /* Name.Constant */
body .ni { color: #800080 } /* Name.Entity */
body .ne { color: #990000; font-weight: bold } /* Name.Exception */
body .nf { color: #990000; font-weight: bold } /* Name.Function */
body .nn { color: #555555 } /* Name.Namespace */
body .nt { color: #000080 } /* Name.Tag */
body .nv { color: #008080 } /* Name.Variable */
body .ow { font-weight: bold } /* Operator.Word */
body .w { color: #bbbbbb } /* Text.Whitespace */
body .mf { color: #009999 } /* Literal.Number.Float */
body .mh { color: #009999 } /* Literal.Number.Hex */
body .mi { color: #009999 } /* Literal.Number.Integer */
body .mo { color: #009999 } /* Literal.Number.Oct */
body .sb { color: #bb8844 } /* Literal.String.Backtick */
body .sc { color: #bb8844 } /* Literal.String.Char */
body .sd { color: #bb8844 } /* Literal.String.Doc */
body .s2 { color: #bb8844 } /* Literal.String.Double */
body .se { color: #bb8844 } /* Literal.String.Escape */
body .sh { color: #bb8844 } /* Literal.String.Heredoc */
body .si { color: #bb8844 } /* Literal.String.Interpol */
body .sx { color: #bb8844 } /* Literal.String.Other */
body .sr { color: #808000 } /* Literal.String.Regex */
body .s1 { color: #bb8844 } /* Literal.String.Single */
body .ss { color: #bb8844 } /* Literal.String.Symbol */
body .bp { color: #999999 } /* Name.Builtin.Pseudo */
body .vc { color: #008080 } /* Name.Variable.Class */
body .vg { color: #008080 } /* Name.Variable.Global */
body .vi { color: #008080 } /* Name.Variable.Instance */
body .il { color: #009999 } /* Literal.Number.Integer.Long */

Info

Revision:3354
Author:alk

Date:2008-06-30 03:24:49 +0300 (Mon, 30 Jun 2008)

Comment:- Initial version of User Selection Dialog

Changes
U trunk/src/client/console/include/nxmc_api.h
A trunk/src/client/console/libnxmc/userSelectionDialog.cpp
A trunk/src/client/console/libnxmc/userSelectionDialog.h
U trunk/src/client/console/nxmc/rc/nxmc.fbp
U trunk/src/client/console/nxmc/rc/wxfb_code.xrc

Diff
Modified: trunk/src/client/console/include/nxmc_api.h
===================================================================
--- trunk/src/client/console/include/nxmc_api.h 2008-06-29 12:21:00 UTC (rev 3353)
+++ trunk/src/client/console/include/nxmc_api.h 2008-06-30 00:24:49 UTC (rev 3354)
@@ -322,6 +322,7 @@
 #include &quot;../libnxmc/heading.h&quot;
 #include &quot;../libnxmc/graph.h&quot;
 #include &quot;../libnxmc/objseldlg.h&quot;
+#include &quot;../libnxmc/userSelectionDialog.h&quot;
 
 
 //

Added: trunk/src/client/console/libnxmc/userSelectionDialog.cpp
===================================================================
--- trunk/src/client/console/libnxmc/userSelectionDialog.cpp (rev 0)
+++ trunk/src/client/console/libnxmc/userSelectionDialog.cpp 2008-06-30 00:24:49 UTC (rev 3354)
@@ -0,0 +1,124 @@
+/* $Id$ */
+/*
+** NetXMS - Network Management System
+** Portable management console
+** Copyright (C) 2008 Alex Kirhenshtein
+**
+** This program is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published by
+** the Free Software Foundation; either version 2 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+**
+**/
+
+#include &quot;libnxmc.h&quot;
+#include &quot;userSelectionDialog.h&quot;
+
+//
+// Event table
+//
+
+BEGIN_EVENT_TABLE(nxUserSelectionDialog, wxDialog)
+ EVT_INIT_DIALOG(nxUserSelectionDialog::OnInitDialog)
+ EVT_LIST_COL_CLICK(XRCID(&quot;wndListCtrl&quot;), nxUserSelectionDialog::OnListColumnClick)
+ EVT_LIST_ITEM_ACTIVATED(XRCID(&quot;wndListCtrl&quot;), nxUserSelectionDialog::OnListItemActivate)
+END_EVENT_TABLE()
+
+
+//
+// Constructor
+//
+
+nxUserSelectionDialog::nxUserSelectionDialog(wxWindow *parent)
+ : wxDialog()
+{
+ wxConfig::Get()-&gt;Read(_T(&quot;/UserSelDlg/SortMode&quot;), &amp;m_sortMode, 0);
+ wxConfig::Get()-&gt;Read(_T(&quot;/UserSelDlg/SortDir&quot;), &amp;m_sortDir, 1);
+
+ wxXmlResource::Get()-&gt;LoadDialog(this, parent, _T(&quot;nxUserSelDlg&quot;));
+ GetSizer()-&gt;Fit(this);
+}
+
+
+//
+// Destructor
+//
+
+nxUserSelectionDialog::~nxUserSelectionDialog()
+{
+ wxConfig::Get()-&gt;Write(_T(&quot;/UserSelDlg/SortMode&quot;), m_sortMode);
+ wxConfig::Get()-&gt;Write(_T(&quot;/UserSelDlg/SortDir&quot;), m_sortDir);
+}
+
+
+//
+// Data exchange
+//
+
+bool nxUserSelectionDialog::TransferDataFromWindow(void)
+{
+ return true;
+}
+
+bool nxUserSelectionDialog::TransferDataToWindow(void)
+{
+ wxListCtrl *wndListCtrl = XRCCTRL(*this, &quot;wndListCtrl&quot;, wxListCtrl);
+
+ int width = wndListCtrl-&gt;GetClientSize().x;
+
+ wndListCtrl-&gt;InsertColumn(0, _T(&quot;Name&quot;), wxLIST_FORMAT_LEFT, 150);
+ wndListCtrl-&gt;InsertColumn(1, _T(&quot;Full Name&quot;), wxLIST_FORMAT_LEFT, width - 150 - wxSystemSettings::GetMetric(wxSYS_VSCROLL_X));
+
+ return true;
+}
+
+
+//
+// Dialog initialization handler
+//
+
+void nxUserSelectionDialog::OnInitDialog(wxInitDialogEvent &amp;event)
+{
+ wxWindow *wnd;
+
+ wnd = FindWindowById(wxID_OK, this);
+ if (wnd != NULL)
+ {
+ ((wxButton *)wnd)-&gt;SetDefault();
+ }
+ else
+ {
+ wxLogDebug(_T(&quot;nxUserSelectionDialog::OnInitDialog(): cannot find child with id wxID_OK&quot;));
+ }
+
+ event.Skip();
+}
+
+
+//
+// Handler for column click
+//
+
+void nxUserSelectionDialog::OnListColumnClick(wxListEvent &amp;event)
+{
+
+}
+
+
+//
+// Handler for item activate (Enter or Double click)
+//
+
+void nxUserSelectionDialog::OnListItemActivate(wxListEvent &amp;event)
+{
+
+}
\ No newline at end of file

Property changes on: trunk/src/client/console/libnxmc/userSelectionDialog.cpp
___________________________________________________________________
Added: svn:eol-style
   + native

Added: trunk/src/client/console/libnxmc/userSelectionDialog.h
===================================================================
--- trunk/src/client/console/libnxmc/userSelectionDialog.h (rev 0)
+++ trunk/src/client/console/libnxmc/userSelectionDialog.h 2008-06-30 00:24:49 UTC (rev 3354)
@@ -0,0 +1,47 @@
+/* $Id$ */
+/*
+** NetXMS - Network Management System
+** Portable management console
+** Copyright (C) 2008 Alex Kirhenshtein
+**
+** This program is free software; you can redistribute it and/or modify
+** it under the terms of the GNU General Public License as published by
+** the Free Software Foundation; either version 2 of the License, or
+** (at your option) any later version.
+**
+** This program is distributed in the hope that it will be useful,
+** but WITHOUT ANY WARRANTY; without even the implied warranty of
+** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+** GNU General Public License for more details.
+**
+** You should have received a copy of the GNU General Public License
+** along with this program; if not, write to the Free Software
+** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+**
+**/
+
+#ifndef userSelectionDialog_h__
+#define userSelectionDialog_h__
+
+class LIBNXMC_EXPORTABLE nxUserSelectionDialog : public wxDialog
+{
+public:
+ nxUserSelectionDialog(wxWindow *parent);
+ virtual ~nxUserSelectionDialog();
+
+protected:
+ virtual bool TransferDataFromWindow(void);
+ virtual bool TransferDataToWindow(void);
+
+private:
+ int m_sortMode;
+ int m_sortDir;
+
+ void OnInitDialog(wxInitDialogEvent &amp;event);
+ void OnListColumnClick(wxListEvent &amp;event);
+ void OnListItemActivate(wxListEvent &amp;event);
+
+ DECLARE_EVENT_TABLE()
+};
+
+#endif // userSelectionDialog_h__
\ No newline at end of file

Property changes on: trunk/src/client/console/libnxmc/userSelectionDialog.h
___________________________________________________________________
Added: svn:eol-style
   + native

Modified: trunk/src/client/console/nxmc/rc/nxmc.fbp
===================================================================
--- trunk/src/client/console/nxmc/rc/nxmc.fbp 2008-06-29 12:21:00 UTC (rev 3353)
+++ trunk/src/client/console/nxmc/rc/nxmc.fbp 2008-06-30 00:24:49 UTC (rev 3354)
@@ -1341,7 +1341,7 @@
                 &lt;/object&gt;
             &lt;/object&gt;
         &lt;/object&gt;
- &lt;object class=&quot;Dialog&quot; expanded=&quot;0&quot;&gt;
+ &lt;object class=&quot;Dialog&quot; expanded=&quot;1&quot;&gt;
             &lt;property name=&quot;bg&quot;&gt;&lt;/property&gt;
             &lt;property name=&quot;center&quot;&gt;wxBOTH&lt;/property&gt;
             &lt;property name=&quot;context_help&quot;&gt;&lt;/property&gt;
@@ -1855,5 +1855,159 @@
                 &lt;/object&gt;
             &lt;/object&gt;
         &lt;/object&gt;
+ &lt;object class=&quot;Dialog&quot; expanded=&quot;0&quot;&gt;
+ &lt;property name=&quot;bg&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;center&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;context_help&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;enabled&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;extra_style&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;fg&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;font&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;hidden&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;id&quot;&gt;wxID_ANY&lt;/property&gt;
+ &lt;property name=&quot;maximum_size&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;minimum_size&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;name&quot;&gt;nxUserSelDlg&lt;/property&gt;
+ &lt;property name=&quot;pos&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;size&quot;&gt;438,292&lt;/property&gt;
+ &lt;property name=&quot;style&quot;&gt;wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER&lt;/property&gt;
+ &lt;property name=&quot;subclass&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;title&quot;&gt;Select User&lt;/property&gt;
+ &lt;property name=&quot;tooltip&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;window_extra_style&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;window_name&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;window_style&quot;&gt;&lt;/property&gt;
+ &lt;event name=&quot;OnActivate&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnActivateApp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnChar&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnClose&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnEnterWindow&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnEraseBackground&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnHibernate&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnIconize&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnIdle&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnInitDialog&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnKeyDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnKeyUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnKillFocus&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeaveWindow&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeftDClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeftDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeftUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMiddleDClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMiddleDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMiddleUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMotion&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMouseEvents&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMouseWheel&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnPaint&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnRightDClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnRightDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnRightUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnSetFocus&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnSize&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnUpdateUI&quot;&gt;&lt;/event&gt;
+ &lt;object class=&quot;wxBoxSizer&quot; expanded=&quot;0&quot;&gt;
+ &lt;property name=&quot;minimum_size&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;name&quot;&gt;bSizer8&lt;/property&gt;
+ &lt;property name=&quot;orient&quot;&gt;wxVERTICAL&lt;/property&gt;
+ &lt;property name=&quot;permission&quot;&gt;none&lt;/property&gt;
+ &lt;object class=&quot;sizeritem&quot; expanded=&quot;1&quot;&gt;
+ &lt;property name=&quot;border&quot;&gt;5&lt;/property&gt;
+ &lt;property name=&quot;flag&quot;&gt;wxALL|wxEXPAND&lt;/property&gt;
+ &lt;property name=&quot;proportion&quot;&gt;1&lt;/property&gt;
+ &lt;object class=&quot;wxListCtrl&quot; expanded=&quot;1&quot;&gt;
+ &lt;property name=&quot;bg&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;context_help&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;enabled&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;fg&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;font&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;hidden&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;id&quot;&gt;wxID_ANY&lt;/property&gt;
+ &lt;property name=&quot;maximum_size&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;minimum_size&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;name&quot;&gt;wndListCtrl&lt;/property&gt;
+ &lt;property name=&quot;permission&quot;&gt;protected&lt;/property&gt;
+ &lt;property name=&quot;pos&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;size&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;style&quot;&gt;wxLC_REPORT&lt;/property&gt;
+ &lt;property name=&quot;subclass&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;tooltip&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;window_extra_style&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;window_name&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;window_style&quot;&gt;&lt;/property&gt;
+ &lt;event name=&quot;OnChar&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnEnterWindow&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnEraseBackground&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnKeyDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnKeyUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnKillFocus&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeaveWindow&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeftDClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeftDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnLeftUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListBeginDrag&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListBeginLabelEdit&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListBeginRDrag&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListCacheHint&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListColBeginDrag&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListColClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListColDragging&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListColEndDrag&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListColRightClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListDeleteAllItems&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListDeleteItem&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListEndLabelEdit&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListInsertItem&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListItemActivated&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListItemDeselected&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListItemFocused&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListItemMiddleClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListItemRightClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListItemSelected&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnListKeyDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMiddleDClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMiddleDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMiddleUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMotion&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMouseEvents&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnMouseWheel&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnPaint&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnRightDClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnRightDown&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnRightUp&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnSetFocus&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnSize&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnUpdateUI&quot;&gt;&lt;/event&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;object class=&quot;sizeritem&quot; expanded=&quot;1&quot;&gt;
+ &lt;property name=&quot;border&quot;&gt;5&lt;/property&gt;
+ &lt;property name=&quot;flag&quot;&gt;wxALIGN_RIGHT|wxBOTTOM&lt;/property&gt;
+ &lt;property name=&quot;proportion&quot;&gt;0&lt;/property&gt;
+ &lt;object class=&quot;wxStdDialogButtonSizer&quot; expanded=&quot;1&quot;&gt;
+ &lt;property name=&quot;Apply&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;Cancel&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;ContextHelp&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;Help&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;No&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;OK&quot;&gt;1&lt;/property&gt;
+ &lt;property name=&quot;Save&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;Yes&quot;&gt;0&lt;/property&gt;
+ &lt;property name=&quot;minimum_size&quot;&gt;&lt;/property&gt;
+ &lt;property name=&quot;name&quot;&gt;m_sdbSizer4&lt;/property&gt;
+ &lt;property name=&quot;permission&quot;&gt;protected&lt;/property&gt;
+ &lt;event name=&quot;OnApplyButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnCancelButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnContextHelpButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnHelpButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnNoButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnOKButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnSaveButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;event name=&quot;OnYesButtonClick&quot;&gt;&lt;/event&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
     &lt;/object&gt;
 &lt;/wxFormBuilder_Project&gt;

Modified: trunk/src/client/console/nxmc/rc/wxfb_code.xrc
===================================================================
--- trunk/src/client/console/nxmc/rc/wxfb_code.xrc 2008-06-29 12:21:00 UTC (rev 3353)
+++ trunk/src/client/console/nxmc/rc/wxfb_code.xrc 2008-06-30 00:24:49 UTC (rev 3354)
@@ -424,13 +424,13 @@
                         &lt;/object&gt;
                         &lt;object class=&quot;sizeritem&quot;&gt;
                                 &lt;option&gt;0&lt;/option&gt;
- &lt;flag&gt;wxALIGN_RIGHT|wxALL&lt;/flag&gt;
+ &lt;flag&gt;wxALIGN_RIGHT|wxBOTTOM|wxRIGHT&lt;/flag&gt;
                                 &lt;border&gt;5&lt;/border&gt;
                                 &lt;object class=&quot;wxBoxSizer&quot;&gt;
                                         &lt;orient&gt;wxHORIZONTAL&lt;/orient&gt;
                                         &lt;object class=&quot;sizeritem&quot;&gt;
                                                 &lt;option&gt;0&lt;/option&gt;
- &lt;flag&gt;wxTOP|wxBOTTOM|wxLEFT&lt;/flag&gt;
+ &lt;flag&gt;wxALL&lt;/flag&gt;
                                                 &lt;border&gt;5&lt;/border&gt;
                                                 &lt;object class=&quot;wxButton&quot; name=&quot;btnNone&quot;&gt;
                                                         &lt;label&gt;_None&lt;/label&gt;
@@ -439,7 +439,7 @@
                                         &lt;/object&gt;
                                         &lt;object class=&quot;sizeritem&quot;&gt;
                                                 &lt;option&gt;0&lt;/option&gt;
- &lt;flag&gt;wxEXPAND|wxALL&lt;/flag&gt;
+ &lt;flag&gt;wxEXPAND&lt;/flag&gt;
                                                 &lt;border&gt;5&lt;/border&gt;
                                                 &lt;object class=&quot;wxStdDialogButtonSizer&quot;&gt;
                                                         &lt;object class=&quot;button&quot;&gt;
@@ -528,4 +528,41 @@
                         &lt;/object&gt;
                 &lt;/object&gt;
         &lt;/object&gt;
+ &lt;object class=&quot;wxDialog&quot; name=&quot;nxUserSelDlg&quot;&gt;
+ &lt;style&gt;wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER&lt;/style&gt;
+ &lt;size&gt;438,292&lt;/size&gt;
+ &lt;title&gt;Select User&lt;/title&gt;
+ &lt;object class=&quot;wxBoxSizer&quot;&gt;
+ &lt;orient&gt;wxVERTICAL&lt;/orient&gt;
+ &lt;object class=&quot;sizeritem&quot;&gt;
+ &lt;option&gt;1&lt;/option&gt;
+ &lt;flag&gt;wxALL|wxEXPAND&lt;/flag&gt;
+ &lt;border&gt;5&lt;/border&gt;
+ &lt;object class=&quot;wxListCtrl&quot; name=&quot;wndListCtrl&quot;&gt;
+ &lt;style&gt;wxLC_REPORT&lt;/style&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;object class=&quot;sizeritem&quot;&gt;
+ &lt;option&gt;0&lt;/option&gt;
+ &lt;flag&gt;wxALIGN_RIGHT|wxBOTTOM&lt;/flag&gt;
+ &lt;border&gt;5&lt;/border&gt;
+ &lt;object class=&quot;wxStdDialogButtonSizer&quot;&gt;
+ &lt;object class=&quot;button&quot;&gt;
+ &lt;flag&gt;wxALIGN_CENTER_HORIZONTAL|wxALL&lt;/flag&gt;
+ &lt;border&gt;5&lt;/border&gt;
+ &lt;object class=&quot;wxButton&quot; name=&quot;wxID_OK&quot;&gt;
+ &lt;label&gt;&amp;amp;OK&lt;/label&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;object class=&quot;button&quot;&gt;
+ &lt;flag&gt;wxALIGN_CENTER_HORIZONTAL|wxALL&lt;/flag&gt;
+ &lt;border&gt;5&lt;/border&gt;
+ &lt;object class=&quot;wxButton&quot; name=&quot;wxID_CANCEL&quot;&gt;
+ &lt;label&gt;&amp;amp;Cancel&lt;/label&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
+ &lt;/object&gt;
 &lt;/resource&gt;
Received on Mon Jun 30 2008 - 03:24:50 EEST

This archive was generated by hypermail 2.2.0 : Mon Jun 30 2008 - 03:19:54 EEST