Displaying 20 results from an estimated 34 matches for "wxdefaultposition".
2005 Aug 10
3
question on Choice.i
Is there a reason that these lines are in Choice.i?
%ignore wxChoice::wxChoice();
%ignore wxChoice::wxChoice(wxWindow *parent,
wxWindowID id,
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 = wxChoiceNameStr);
If I comment these two lines out I can run...
2007 Jan 08
0
[845] trunk/wxruby2/swig/classes: Added MultiChoiceDialog in class form
...bsp                               const wxPoint& pos = wxDefaultPosition);
+ wxMultiChoiceDialog(wxWindow *parent,
+                            &am...
2009 Sep 03
24
wxRuby-2.0.1 release ?
Hi,
What about releasing a new version shortly ?
This is a long-awaited request from several users especially for
recent ruby-1.9.1 versions on MinGW.
Cheers.
Chauk-Mean.
2007 Mar 27
0
[921] branches/wxruby2/wxwidgets_282/swig/Functions.i: Enable Wx::get_number_from_user to fix exception in samples/dialogs
...height=200);
</span><span class="cx">
</span><del>-//long wxGetNumberFromUser( const wxString& message, const wxString& prompt, const wxString& caption, long value, long min = 0, long max = 100, wxWindow *parent = NULL, const wxPoint& pos = wxDefaultPosition);
</del><ins>+long wxGetNumberFromUser(const wxString& message, const wxString& prompt,
+                    &nbs...
2006 Dec 31
0
[813] trunk/wxruby2/swig/classes: Added ScrollBar class
...sp        * \param const wxString&
-        */
-
</del><span class="cx"> wxScrollBar(wxWindow* parent , wxWindowID id , const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSB_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxT("scrollBar")) ;
</span><del>-        /**
- &a...
2007 Mar 17
0
[883] branches/wxruby2/wxwidgets_282/swig: API changes for move to WxWidgets 2.8
...t height=200);
</span><span class="cx">
</span><del>-long wxGetNumberFromUser( const wxString& message, const wxString& prompt, const wxString& caption, long value, long min = 0, long max = 100, wxWindow *parent = NULL, const wxPoint& pos = wxDefaultPosition);
</del><ins>+//long wxGetNumberFromUser( const wxString& message, const wxString& prompt, const wxString& caption, long value, long min = 0, long max = 100, wxWindow *parent = NULL, const wxPoint& pos = wxDefaultPosition);
</ins><span class="cx&quo...
2007 Apr 28
0
[977] branches/wxruby2/wxwidgets_282/swig/classes/include/wxScrolledWindow.h: Add missing DoPrepareDC method, remove comment cruft
...sp       * \param const wxString&
-        */
-
</del><span class="cx"> wxScrolledWindow(wxWindow* parent , wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxHSCROLL, const wxString& name = wxT("scrolledWindow")) ;
</span><del>-        /**
-       &...
2007 Jul 04
0
[1103] trunk/wxruby2: Added 2.8 methods to StaticBitmap & document them; cleanup header file
...sp                               const wxPoint& pos = wxDefaultPosition,
+                                 const...
2007 Jun 26
0
[1081] trunk/wxruby2: Added HyperlinkCtrl from the 2.8 API plus event mappings
...// Default constructor (for two-step construction).
+ wxHyperlinkCtrl() { }
+
+ // Constructor.
+ wxHyperlinkCtrl(wxWindow *parent,
+ wxWindowID id,
+ const wxString& label, const wxString& url,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxHL_DEFAULT_STYLE,
+ const wxString& name = wxHyperlinkCtrlNameStr)
+ {
+ (void)Create(parent, id, label, url, pos, size, style, name);
+ }
+
+ // Creation functio...
2007 Apr 13
0
[949] branches/wxruby2/wxwidgets_282: Changes in Gauge API 2.6->2.8, remove comment cruft in header
...sp       * \param const wxString&
-        */
-
</del><span class="cx"> wxGauge(wxWindow* parent , wxWindowID id , int range , const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxGA_HORIZONTAL, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxT("gauge")) ;
</span><del>-        /**
- &nb...
2005 Sep 03
2
Problem with swig?
...t arg6 ;
wxString *arg7 ;
long arg8 ;
wxValidator *arg9 = 0 ;
wxString *arg10 = 0 ;
wxListBox *result;
wxString *arr6 ;
arg8 has no default value!
Here''s the definition from the .h file:
wxListBox(wxWindow* parent , wxWindowID id , 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 = wxT("listBox"));
I /thought/ swig pulled the default values from the definition.
You can only ima...
2007 Apr 13
0
[950] branches/wxruby2/wxwidgets_282: Changes in GenericDirCtrl API 2.6->2.8, fix TreeItemId mapping, remove cruft
...ram const wxString&
-        */
-
</del><span class="cx"> 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>-      &nb...
2007 Jan 04
0
[825] trunk/wxruby2/swig/RubyConstants.i: Added DEFAULT_VALIDATOR constant
...><span class="lines">@@ -2143,8 +2143,8 @@
</span><span class="cx">
</span><span class="cx"> %constant const wxSize DEFAULT_SIZE = wxDefaultSize;
</span><span class="cx"> %constant const wxPoint DEFAULT_POSITION = wxDefaultPosition;
</span><ins>+%constant const wxValidator DEFAULT_VALIDATOR = wxDefaultValidator;
</ins><span class="cx">
</span><del>-
</del><span class="cx"> // Text font families
</span><span class="cx"> %constant int...
2006 Dec 01
0
[767] trunk/wxruby2: Added CheckListBox to item_data test, note to explain why fixes are not needed
...here because fixed by superclass ListBox
+
+// not needed as fixed by typemap for alternate ArrayString constructor
</ins><span class="cx"> %ignore Create(wxWindow *parent, wxWindowID id,
</span><span class="cx"> const wxPoint& pos = wxDefaultPosition,
</span><span class="cx"> const wxSize& size = wxDefaultSize,
</span></span></pre></div>
<a id="trunkwxruby2teststest_item_datarb"></a>
<div class="modfile"><h4>Modified: trunk/wxruby2/test...
2007 Jan 08
0
[841] trunk/wxruby2/swig/classes: Added PasswordEntryDialog
...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 Jul 04
0
[1104] trunk/wxruby2: Added 2.8 methods to TextCtrl & document them; tidy up header file
...tCtrl();
</span><del>- wxTextCtrl(wxWindow *parent, wxWindowID id, wxString const &value = wxT(""),
-                wxPoint const &pos = wxDefaultPosition, wxSize const &size = wxDefaultSize,
-                long style = 0, wxValidator const &validator = wxDefaultValidator,
-    &am...
2007 Jan 05
0
[827] trunk/wxruby2/swig: Moved NULL objects into constants so they can be used for default args
...unk/wxruby2/swig/RubyConstants.i        2007-01-05 21:43:19 UTC (rev 827)
</span><span class="lines">@@ -2145,6 +2145,17 @@
</span><span class="cx"> %constant const wxPoint DEFAULT_POSITION = wxDefaultPosition;
</span><span class="cx"> %constant const wxValidator DEFAULT_VALIDATOR = wxDefaultValidator;
</span><span class="cx">
</span><ins>+
+// ''Null'' objects
+%constant wxBitmap const NULL_BITMAP = wxNullBitmap;
+%constant wxIcon...
2006 Dec 31
0
[815] trunk/wxruby2/swig/classes: Added ContextMenuEvent class plus event handling methods
...uby2 license
+
+#if !defined(_wxContextMenuEvent_h_)
+#define _wxContextMenuEvent_h_
+
+
+class wxContextMenuEvent : public wxCommandEvent
+{
+public:
+ wxContextMenuEvent(wxEventType type = wxEVT_NULL,
+ wxWindowID winid = 0,
+ const wxPoint& pt = wxDefaultPosition)
+ : wxCommandEvent(type, winid),
+ m_pos(pt)
+ { }
+ wxContextMenuEvent(const wxContextMenuEvent & event)
+ : wxCommandEvent(event),
+ m_pos(event.m_pos)
+ { }
+
+ // Position of event (in screen coordinates)
+ const wxPoint& GetPosition() const...
2007 Apr 13
0
[953] branches/wxruby2/wxwidgets_282: Additions to HelpController API 2.6 -> 2.8
...ool LoadFile(const wxString& file = wxT("")) ;
</span><span class="cx"> virtual void OnQuit() ;
</span><span class="cx"> virtual void SetFrameParameters(const wxString & title , const wxSize & size , const wxPoint & pos = wxDefaultPosition, bool newFrameEachTime = false) ;
</span><ins>+ virtual void SetParentWindow(wxWindow* win);
</ins><span class="cx"> virtual void SetViewer(const wxString& viewer , long flags ) ;
</span><span class="cx"> virtual bool Quit() ;
<...
2007 Mar 29
0
[926] branches/wxruby2/wxwidgets_282: Update Dialog wx2.6 -> wx2.8 API, remove deprecations and cruft, update doc
...bsp     * \param const wxString&
-        */
-
</del><span class="cx"> wxDialog(wxWindow* parent , wxWindowID id , const wxString& title , const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxT("dialogBox")) ;
</span><del>-        /**
-      &n...