This commit is contained in:
Jinhao 2017-08-11 22:50:44 +08:00
parent 752a26e795
commit d4a815c8cc
2 changed files with 2 additions and 2 deletions

View File

@ -267,7 +267,7 @@ namespace nana
If not called, the default is 100 pixels If not called, the default is 100 pixels
*/ */
void min_width_entry_field( int pixels ); void min_width_entry_field( unsigned pixels );
private: private:
void _m_fetch_args(std::vector<abstract_content*>&); void _m_fetch_args(std::vector<abstract_content*>&);

View File

@ -1285,7 +1285,7 @@ namespace nana
//Inputbox set minimum width entry field(https://github.com/cnjinhao/nana/pull/234) //Inputbox set minimum width entry field(https://github.com/cnjinhao/nana/pull/234)
//Contributed by James Bremner //Contributed by James Bremner
void inputbox::min_width_entry_field( int pixels ) void inputbox::min_width_entry_field( unsigned pixels )
{ {
// don't let the entry fields vanish entirely // don't let the entry fields vanish entirely
if( pixels < 10 ) if( pixels < 10 )