Displaying 11 results from an estimated 11 matches for "wxemptystring".
2005 Oct 06
3
nested classes
I am working on wxFileType and wxMimeTypesManager, most of which I
have done but I had to comment out a nested class in wxFileType and
the methods that use it. Does anyone have a clever way to get around
nested classes since SWIG does not currently support them?
Sean
2005 Jul 27
2
SWIGging ConfigBase
Hi all
I''m trying to write an .i file for ConfigBase. If I can figure out a few
general SWIG things then I think most of it will work. Apols for the
noob swig questions.
The C++ class has lots of overloaded methods called Read, which return
different kinds of values. In wxruby-not-swig these are implemented as
read, read_bool, read_int and so on. read() means read_string(). In ruby
2006 Nov 06
3
HtmlWindow and friends
Hi
Attached is a patch to add HtmlWindow and some of its friends, including
HtmlEasyPrinting. Also a sample.
I haven''t tried exposing the parsing and rendering API yet to allow
custom tags etc - I just wanted to get basic HTML and the 0.6.0
compatibility classes first. There may well be some quite easy classes left.
There''s one ugly kludge to get OnOpeningURL to compile -
2007 Apr 13
0
[950] branches/wxruby2/wxwidgets_282: Changes in GenericDirCtrl API 2.6->2.8, fix TreeItemId mapping, remove cruft
...ot;> wxGenericDirCtrl(wxWindow* parent , const wxWindowID id = -1, const wxString& dir = wxDirDialogDefaultFolderStr, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER, const wxString& filter = wxEmptyString, int defaultFilter = 0, const wxString& name = wxTreeCtrlNameStr) ;
</span><del>-        /**
-         * \brief Destructor.
-   ...
2006 Nov 12
0
[724] trunk/wxruby2: Initial commit of HtmlWindow functionality
...p;nbsp       * \param const wxString&
-        */
-
</del><span class="cx"> bool PreviewText(const wxString& htmltext , const wxString& basepath = wxEmptyString) ;
</span><del>-        /**
-         * \brief Print HTML file.
-
-Returns false in case of error -- call
- to get detailed
-information about the kind of the...
2007 Jan 08
0
[841] trunk/wxruby2/swig/classes: Added PasswordEntryDialog
...class wxPasswordEntryDialog : public wxTextEntryDialog
+{
+public:
+ wxPasswordEntryDialog(wxWindow *parent,
+ const wxString& message,
+ const wxString& caption = wxGetPasswordFromUserPromptStr,
+ const wxString& value = wxEmptyString,
+ long style = wxTextEntryDialogStyle,
+ const wxPoint& pos = wxDefaultPosition);
+};
+
+#endif
</ins></span></pre>
</div>
</div>
</body>
</html>
2007 Jun 22
0
[1056] trunk/wxruby2/swig/classes/include/wxToolBar.h: Add missing param to InsertTool long version; uncomment some methods now
...;nbsp                              const wxString& shortHelp = wxEmptyString,
+                                &nbs...
2007 Apr 30
0
[996] branches/wxruby2/wxwidgets_282: TopLevelWindow: add some 2.8 methods; document; add missing CentreOnScreen
...mp;nbsp      virtual bool SetTransparent(int alpha);
+
</ins><span class="cx"> #if defined(__SMARTPHONE__)
</span><span class="cx"> virtual void SetLeftMenu(int id = wxID_ANY, const wxString& label = wxEmptyString, wxMenu *subMenu = NULL) = 0;
</span><span class="cx"> virtual void SetRightMenu(int id = wxID_ANY, const wxString& label = wxEmptyString, wxMenu *subMenu = NULL) = 0;
</span><span class="lines">@@ -92,8 +89,8 @@
</span><span class="...
2007 Mar 21
0
[906] branches/wxruby2/wxwidgets_282: Wx::ComboBox API 2.6 -> 2.8, plus some doc corrections
...gt;<span class="cx"> wxComboBox();
</span><span class="cx">
</span><del>-
-/* This constructor really doesn''t work due to problems with SWIG typemaps
-
- wxComboBox(wxWindow *parent, wxWindowID id,
- const wxString& value = wxEmptyString,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- int n = 0, const wxString choices[] = NULL,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString& name = wxComb...
2007 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
...wxString const &name = wxTextCtrlNameStr);
+
</ins><span class="cx"> bool Create(wxWindow *parent,
</span><span class="cx"> wxWindowID id,
</span><span class="cx"> const wxString &value = wxEmptyString,
</span><span class="lines">@@ -21,12 +26,17 @@
</span><span class="cx"> const wxString &name = wxTextCtrlNameStr);
</span><span class="cx">
</span><span class="cx"> virtual wxString Get...
2007 Mar 19
0
[900] branches/wxruby2/wxwidgets_282/swig/classes: Initial commit of AUI core classes
...p; pane_info);
+
+ bool AddPane(wxWindow* window,
+ const wxAuiPaneInfo& pane_info,
+ const wxPoint& drop_pos);
+
+ bool AddPane(wxWindow* window,
+ int direction = wxLEFT,
+ const wxString& caption = wxEmptyString);
+
+ bool InsertPane(wxWindow* window,
+ const wxAuiPaneInfo& insert_location,
+ int insert_level = wxAUI_INSERT_PANE);
+
+ bool DetachPane(wxWindow* window);
+
+ void Update();
+
+ wxString SavePaneInfo(wxAuiPaneInfo& pane);
+ void LoadPa...