diff options
author | Dan Gudmundsson <dgud@erlang.org> | 2012-02-21 16:05:37 +0100 |
---|---|---|
committer | Dan Gudmundsson <dgud@erlang.org> | 2012-02-22 09:41:06 +0100 |
commit | 217343d158afe60a5a6a15e8b894b6fd62611ad3 (patch) | |
tree | fcc6d24f7fae59e455ffbb0b2931349a63d3c599 /lib/wx/include/wx.hrl | |
parent | 2c95eb0c575c95a2cdf3c2eacb562d1a5a8cfe08 (diff) | |
download | otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.tar.gz otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.tar.bz2 otp-217343d158afe60a5a6a15e8b894b6fd62611ad3.zip |
[wx] Fix spec errors
Diffstat (limited to 'lib/wx/include/wx.hrl')
-rw-r--r-- | lib/wx/include/wx.hrl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/wx/include/wx.hrl b/lib/wx/include/wx.hrl index 98d7cce0d2..9d4c80d1da 100644 --- a/lib/wx/include/wx.hrl +++ b/lib/wx/include/wx.hrl @@ -143,7 +143,7 @@ -type wxMaximize() :: #wxMaximize{}. %% Callback event: {@link wxMaximizeEvent} -record(wxFileDirPicker,{type :: wxFileDirPickerEventType(), %% Callback event: {@link wxFileDirPickerEvent} - path :: string()}). + path :: unicode:chardata()}). -type wxFileDirPickerEventType() :: command_filepicker_changed | command_dirpicker_changed. -type wxFileDirPicker() :: #wxFileDirPicker{}. %% Callback event: {@link wxFileDirPickerEvent} @@ -170,7 +170,7 @@ key :: integer(), modifiers :: integer(), modificationType :: integer(), - text :: string(), + text :: unicode:chardata(), length :: integer(), linesAdded :: integer(), line :: integer(), @@ -183,7 +183,7 @@ listType :: integer(), x :: integer(), y :: integer(), - dragText :: string(), + dragText :: unicode:chardata(), dragAllowMove :: boolean(), dragResult :: wx:wx_enum()}). -type wxStyledTextEventType() :: stc_change | stc_styleneeded | stc_charadded | stc_savepointreached | stc_savepointleft | stc_romodifyattempt | stc_key | stc_doubleclick | stc_updateui | stc_modified | stc_macrorecord | stc_marginclick | stc_needshown | stc_painted | stc_userlistselection | stc_uridropped | stc_dwellstart | stc_dwellend | stc_start_drag | stc_drag_over | stc_do_drop | stc_zoom | stc_hotspot_click | stc_hotspot_dclick | stc_calltip_click | stc_autocomp_selection. @@ -270,7 +270,7 @@ -type wxAuiManager() :: #wxAuiManager{}. %% Callback event: {@link wxAuiManagerEvent} -record(wxCommand,{type :: wxCommandEventType(), %% Callback event: {@link wxCommandEvent} - cmdString :: string(), + cmdString :: unicode:chardata(), commandInt :: integer(), extraLong :: integer()}). -type wxCommandEventType() :: command_button_clicked | command_checkbox_clicked | command_choice_selected | command_listbox_selected | command_listbox_doubleclicked | command_text_updated | command_text_enter | command_menu_selected | command_slider_updated | command_radiobox_selected | command_radiobutton_selected | command_scrollbar_updated | command_vlbox_selected | command_combobox_selected | command_tool_rclicked | command_tool_enter | command_checklistbox_toggled | command_togglebutton_clicked | command_left_click | command_left_dclick | command_right_click | command_set_focus | command_kill_focus | command_enter. @@ -317,7 +317,7 @@ controlDown, shiftDown, altDown, metaDown, cmdDown %% bool() }). -record(wxHtmlLinkInfo, { - href, target %% string() + href, target %% unicode:chardata() }). %% Hardcoded Defines |