]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/numdlgg.cpp
never return NULL_BRUSH from WM_CTLCOLOR handler, it doesn't do much for most control...
[wxWidgets.git] / src / generic / numdlgg.cpp
index 3ac47c5bfb2142f29fabfbc848a3472c157e59c6..d8a6f2ae5f9cb0fb94de8c9f15c05e54c362a3cf 100644 (file)
@@ -63,7 +63,7 @@
 // ---------------------------------------------------------------------------
 
 /* Macro for avoiding #ifdefs when value have to be different depending on size of
-   device we display on
+   device we display on - take it from something like wxDesktopPolicy in the future
  */
 
 #if defined(__SMARTPHONE__)
@@ -125,6 +125,7 @@ wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent,
     // add both
     topsizer->Add( inputsizer, 1, wxEXPAND | wxLEFT|wxRIGHT, 5 );
 
+    // smart phones does not support or do not waste space for wxButtons
 #ifdef __SMARTPHONE__
 
     SetRightMenu(wxID_CANCEL, _("Cancel"));